public interface CreateLogMetricRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
LogMetric |
getMetric()
The new logs-based metric, which must not have an identifier that
already exists.
|
LogMetricOrBuilder |
getMetricOrBuilder()
The new logs-based metric, which must not have an identifier that
already exists.
|
java.lang.String |
getParent()
The resource name of the project in which to create the metric:
"projects/[PROJECT_ID]"
The new metric must be provided in the request.
|
ByteString |
getParentBytes()
The resource name of the project in which to create the metric:
"projects/[PROJECT_ID]"
The new metric must be provided in the request.
|
boolean |
hasMetric()
The new logs-based metric, which must not have an identifier that
already exists.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getParent()
The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new metric must be provided in the request.
string parent = 1;
ByteString getParentBytes()
The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new metric must be provided in the request.
string parent = 1;
boolean hasMetric()
The new logs-based metric, which must not have an identifier that already exists.
.google.logging.v2.LogMetric metric = 2;
LogMetric getMetric()
The new logs-based metric, which must not have an identifier that already exists.
.google.logging.v2.LogMetric metric = 2;
LogMetricOrBuilder getMetricOrBuilder()
The new logs-based metric, which must not have an identifier that already exists.
.google.logging.v2.LogMetric metric = 2;