public static final class Operation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder> implements OperationOrBuilder
Represents information regarding an operation.Protobuf type
google.api.servicecontrol.v1.Operation| Modifier and Type | Method and Description |
|---|---|
Operation.Builder |
addAllLogEntries(java.lang.Iterable<? extends LogEntry> values)
Represents information to be logged.
|
Operation.Builder |
addAllMetricValueSets(java.lang.Iterable<? extends MetricValueSet> values)
Represents information about this operation.
|
Operation.Builder |
addLogEntries(int index,
LogEntry.Builder builderForValue)
Represents information to be logged.
|
Operation.Builder |
addLogEntries(int index,
LogEntry value)
Represents information to be logged.
|
Operation.Builder |
addLogEntries(LogEntry.Builder builderForValue)
Represents information to be logged.
|
Operation.Builder |
addLogEntries(LogEntry value)
Represents information to be logged.
|
LogEntry.Builder |
addLogEntriesBuilder()
Represents information to be logged.
|
LogEntry.Builder |
addLogEntriesBuilder(int index)
Represents information to be logged.
|
Operation.Builder |
addMetricValueSets(int index,
MetricValueSet.Builder builderForValue)
Represents information about this operation.
|
Operation.Builder |
addMetricValueSets(int index,
MetricValueSet value)
Represents information about this operation.
|
Operation.Builder |
addMetricValueSets(MetricValueSet.Builder builderForValue)
Represents information about this operation.
|
Operation.Builder |
addMetricValueSets(MetricValueSet value)
Represents information about this operation.
|
MetricValueSet.Builder |
addMetricValueSetsBuilder()
Represents information about this operation.
|
MetricValueSet.Builder |
addMetricValueSetsBuilder(int index)
Represents information about this operation.
|
Operation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Operation |
build() |
Operation |
buildPartial() |
Operation.Builder |
clear() |
Operation.Builder |
clearConsumerId()
Identity of the consumer who is using the service.
|
Operation.Builder |
clearEndTime()
End time of the operation.
|
Operation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Operation.Builder |
clearImportance()
DO NOT USE.
|
Operation.Builder |
clearLabels() |
Operation.Builder |
clearLogEntries()
Represents information to be logged.
|
Operation.Builder |
clearMetricValueSets()
Represents information about this operation.
|
Operation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Operation.Builder |
clearOperationId()
Identity of the operation.
|
Operation.Builder |
clearOperationName()
Fully qualified name of the operation.
|
Operation.Builder |
clearStartTime()
Required.
|
Operation.Builder |
clone() |
boolean |
containsLabels(java.lang.String key)
Labels describing the operation.
|
java.lang.String |
getConsumerId()
Identity of the consumer who is using the service.
|
com.google.protobuf.ByteString |
getConsumerIdBytes()
Identity of the consumer who is using the service.
|
Operation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
End time of the operation.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
End time of the operation.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
End time of the operation.
|
Operation.Importance |
getImportance()
DO NOT USE.
|
int |
getImportanceValue()
DO NOT USE.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels describing the operation.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabelsMap()
Labels describing the operation.
|
java.lang.String |
getLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
Labels describing the operation.
|
java.lang.String |
getLabelsOrThrow(java.lang.String key)
Labels describing the operation.
|
LogEntry |
getLogEntries(int index)
Represents information to be logged.
|
LogEntry.Builder |
getLogEntriesBuilder(int index)
Represents information to be logged.
|
java.util.List<LogEntry.Builder> |
getLogEntriesBuilderList()
Represents information to be logged.
|
int |
getLogEntriesCount()
Represents information to be logged.
|
java.util.List<LogEntry> |
getLogEntriesList()
Represents information to be logged.
|
LogEntryOrBuilder |
getLogEntriesOrBuilder(int index)
Represents information to be logged.
|
java.util.List<? extends LogEntryOrBuilder> |
getLogEntriesOrBuilderList()
Represents information to be logged.
|
MetricValueSet |
getMetricValueSets(int index)
Represents information about this operation.
|
MetricValueSet.Builder |
getMetricValueSetsBuilder(int index)
Represents information about this operation.
|
java.util.List<MetricValueSet.Builder> |
getMetricValueSetsBuilderList()
Represents information about this operation.
|
int |
getMetricValueSetsCount()
Represents information about this operation.
|
java.util.List<MetricValueSet> |
getMetricValueSetsList()
Represents information about this operation.
|
MetricValueSetOrBuilder |
getMetricValueSetsOrBuilder(int index)
Represents information about this operation.
|
java.util.List<? extends MetricValueSetOrBuilder> |
getMetricValueSetsOrBuilderList()
Represents information about this operation.
|
java.util.Map<java.lang.String,java.lang.String> |
getMutableLabels()
Deprecated.
|
java.lang.String |
getOperationId()
Identity of the operation.
|
com.google.protobuf.ByteString |
getOperationIdBytes()
Identity of the operation.
|
java.lang.String |
getOperationName()
Fully qualified name of the operation.
|
com.google.protobuf.ByteString |
getOperationNameBytes()
Fully qualified name of the operation.
|
com.google.protobuf.Timestamp |
getStartTime()
Required.
|
com.google.protobuf.Timestamp.Builder |
getStartTimeBuilder()
Required.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Required.
|
boolean |
hasEndTime()
End time of the operation.
|
boolean |
hasStartTime()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Operation.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
End time of the operation.
|
Operation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Operation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Operation.Builder |
mergeFrom(Operation other) |
Operation.Builder |
mergeStartTime(com.google.protobuf.Timestamp value)
Required.
|
Operation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Operation.Builder |
putAllLabels(java.util.Map<java.lang.String,java.lang.String> values)
Labels describing the operation.
|
Operation.Builder |
putLabels(java.lang.String key,
java.lang.String value)
Labels describing the operation.
|
Operation.Builder |
removeLabels(java.lang.String key)
Labels describing the operation.
|
Operation.Builder |
removeLogEntries(int index)
Represents information to be logged.
|
Operation.Builder |
removeMetricValueSets(int index)
Represents information about this operation.
|
Operation.Builder |
setConsumerId(java.lang.String value)
Identity of the consumer who is using the service.
|
Operation.Builder |
setConsumerIdBytes(com.google.protobuf.ByteString value)
Identity of the consumer who is using the service.
|
Operation.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
End time of the operation.
|
Operation.Builder |
setEndTime(com.google.protobuf.Timestamp value)
End time of the operation.
|
Operation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Operation.Builder |
setImportance(Operation.Importance value)
DO NOT USE.
|
Operation.Builder |
setImportanceValue(int value)
DO NOT USE.
|
Operation.Builder |
setLogEntries(int index,
LogEntry.Builder builderForValue)
Represents information to be logged.
|
Operation.Builder |
setLogEntries(int index,
LogEntry value)
Represents information to be logged.
|
Operation.Builder |
setMetricValueSets(int index,
MetricValueSet.Builder builderForValue)
Represents information about this operation.
|
Operation.Builder |
setMetricValueSets(int index,
MetricValueSet value)
Represents information about this operation.
|
Operation.Builder |
setOperationId(java.lang.String value)
Identity of the operation.
|
Operation.Builder |
setOperationIdBytes(com.google.protobuf.ByteString value)
Identity of the operation.
|
Operation.Builder |
setOperationName(java.lang.String value)
Fully qualified name of the operation.
|
Operation.Builder |
setOperationNameBytes(com.google.protobuf.ByteString value)
Fully qualified name of the operation.
|
Operation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Operation.Builder |
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Required.
|
Operation.Builder |
setStartTime(com.google.protobuf.Timestamp value)
Required.
|
Operation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Operation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Operation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Operation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Operation.Builder>public Operation.Builder mergeFrom(Operation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Operation.Builder>java.io.IOExceptionpublic java.lang.String getOperationId()
Identity of the operation. This must be unique within the scope of the service that generated the operation. If the service calls Check() and Report() on the same operation, the two calls should carry the same id. UUID version 4 is recommended, though not required. In scenarios where an operation is computed from existing information and an idempotent id is desirable for deduplication purpose, UUID version 5 is recommended. See RFC 4122 for details.
string operation_id = 1;getOperationId in interface OperationOrBuilderpublic com.google.protobuf.ByteString getOperationIdBytes()
Identity of the operation. This must be unique within the scope of the service that generated the operation. If the service calls Check() and Report() on the same operation, the two calls should carry the same id. UUID version 4 is recommended, though not required. In scenarios where an operation is computed from existing information and an idempotent id is desirable for deduplication purpose, UUID version 5 is recommended. See RFC 4122 for details.
string operation_id = 1;getOperationIdBytes in interface OperationOrBuilderpublic Operation.Builder setOperationId(java.lang.String value)
Identity of the operation. This must be unique within the scope of the service that generated the operation. If the service calls Check() and Report() on the same operation, the two calls should carry the same id. UUID version 4 is recommended, though not required. In scenarios where an operation is computed from existing information and an idempotent id is desirable for deduplication purpose, UUID version 5 is recommended. See RFC 4122 for details.
string operation_id = 1;public Operation.Builder clearOperationId()
Identity of the operation. This must be unique within the scope of the service that generated the operation. If the service calls Check() and Report() on the same operation, the two calls should carry the same id. UUID version 4 is recommended, though not required. In scenarios where an operation is computed from existing information and an idempotent id is desirable for deduplication purpose, UUID version 5 is recommended. See RFC 4122 for details.
string operation_id = 1;public Operation.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
Identity of the operation. This must be unique within the scope of the service that generated the operation. If the service calls Check() and Report() on the same operation, the two calls should carry the same id. UUID version 4 is recommended, though not required. In scenarios where an operation is computed from existing information and an idempotent id is desirable for deduplication purpose, UUID version 5 is recommended. See RFC 4122 for details.
string operation_id = 1;public java.lang.String getOperationName()
Fully qualified name of the operation. Reserved for future use.
string operation_name = 2;getOperationName in interface OperationOrBuilderpublic com.google.protobuf.ByteString getOperationNameBytes()
Fully qualified name of the operation. Reserved for future use.
string operation_name = 2;getOperationNameBytes in interface OperationOrBuilderpublic Operation.Builder setOperationName(java.lang.String value)
Fully qualified name of the operation. Reserved for future use.
string operation_name = 2;public Operation.Builder clearOperationName()
Fully qualified name of the operation. Reserved for future use.
string operation_name = 2;public Operation.Builder setOperationNameBytes(com.google.protobuf.ByteString value)
Fully qualified name of the operation. Reserved for future use.
string operation_name = 2;public java.lang.String getConsumerId()
Identity of the consumer who is using the service. This field should be filled in for the operations initiated by a consumer, but not for service-initiated operations that are not related to a specific consumer. This can be in one of the following formats: project:<project_id>, project_number:<project_number>, api_key:<api_key>.
string consumer_id = 3;getConsumerId in interface OperationOrBuilderpublic com.google.protobuf.ByteString getConsumerIdBytes()
Identity of the consumer who is using the service. This field should be filled in for the operations initiated by a consumer, but not for service-initiated operations that are not related to a specific consumer. This can be in one of the following formats: project:<project_id>, project_number:<project_number>, api_key:<api_key>.
string consumer_id = 3;getConsumerIdBytes in interface OperationOrBuilderpublic Operation.Builder setConsumerId(java.lang.String value)
Identity of the consumer who is using the service. This field should be filled in for the operations initiated by a consumer, but not for service-initiated operations that are not related to a specific consumer. This can be in one of the following formats: project:<project_id>, project_number:<project_number>, api_key:<api_key>.
string consumer_id = 3;public Operation.Builder clearConsumerId()
Identity of the consumer who is using the service. This field should be filled in for the operations initiated by a consumer, but not for service-initiated operations that are not related to a specific consumer. This can be in one of the following formats: project:<project_id>, project_number:<project_number>, api_key:<api_key>.
string consumer_id = 3;public Operation.Builder setConsumerIdBytes(com.google.protobuf.ByteString value)
Identity of the consumer who is using the service. This field should be filled in for the operations initiated by a consumer, but not for service-initiated operations that are not related to a specific consumer. This can be in one of the following formats: project:<project_id>, project_number:<project_number>, api_key:<api_key>.
string consumer_id = 3;public boolean hasStartTime()
Required. Start time of the operation.
.google.protobuf.Timestamp start_time = 4;hasStartTime in interface OperationOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Required. Start time of the operation.
.google.protobuf.Timestamp start_time = 4;getStartTime in interface OperationOrBuilderpublic Operation.Builder setStartTime(com.google.protobuf.Timestamp value)
Required. Start time of the operation.
.google.protobuf.Timestamp start_time = 4;public Operation.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Required. Start time of the operation.
.google.protobuf.Timestamp start_time = 4;public Operation.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Required. Start time of the operation.
.google.protobuf.Timestamp start_time = 4;public Operation.Builder clearStartTime()
Required. Start time of the operation.
.google.protobuf.Timestamp start_time = 4;public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Required. Start time of the operation.
.google.protobuf.Timestamp start_time = 4;public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Required. Start time of the operation.
.google.protobuf.Timestamp start_time = 4;getStartTimeOrBuilder in interface OperationOrBuilderpublic boolean hasEndTime()
End time of the operation. Required when the operation is used in [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], but optional when the operation is used in [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
.google.protobuf.Timestamp end_time = 5;hasEndTime in interface OperationOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
End time of the operation. Required when the operation is used in [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], but optional when the operation is used in [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
.google.protobuf.Timestamp end_time = 5;getEndTime in interface OperationOrBuilderpublic Operation.Builder setEndTime(com.google.protobuf.Timestamp value)
End time of the operation. Required when the operation is used in [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], but optional when the operation is used in [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
.google.protobuf.Timestamp end_time = 5;public Operation.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
End time of the operation. Required when the operation is used in [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], but optional when the operation is used in [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
.google.protobuf.Timestamp end_time = 5;public Operation.Builder mergeEndTime(com.google.protobuf.Timestamp value)
End time of the operation. Required when the operation is used in [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], but optional when the operation is used in [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
.google.protobuf.Timestamp end_time = 5;public Operation.Builder clearEndTime()
End time of the operation. Required when the operation is used in [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], but optional when the operation is used in [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
.google.protobuf.Timestamp end_time = 5;public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
End time of the operation. Required when the operation is used in [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], but optional when the operation is used in [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
.google.protobuf.Timestamp end_time = 5;public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
End time of the operation. Required when the operation is used in [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], but optional when the operation is used in [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
.google.protobuf.Timestamp end_time = 5;getEndTimeOrBuilder in interface OperationOrBuilderpublic int getLabelsCount()
OperationOrBuilder
Labels describing the operation. Only the following labels are allowed:
- Labels describing monitored resources as defined in
the service configuration.
- Default labels of metric values. When specified, labels defined in the
metric value override these default.
- The following labels defined by Google Cloud Platform:
- `cloud.googleapis.com/location` describing the location where the
operation happened,
- `servicecontrol.googleapis.com/user_agent` describing the user agent
of the API request,
- `servicecontrol.googleapis.com/service_agent` describing the service
used to handle the API request (e.g. ESP),
- `servicecontrol.googleapis.com/platform` describing the platform
where the API is served (e.g. GAE, GCE, GKE).
map<string, string> labels = 6;getLabelsCount in interface OperationOrBuilderpublic boolean containsLabels(java.lang.String key)
Labels describing the operation. Only the following labels are allowed:
- Labels describing monitored resources as defined in
the service configuration.
- Default labels of metric values. When specified, labels defined in the
metric value override these default.
- The following labels defined by Google Cloud Platform:
- `cloud.googleapis.com/location` describing the location where the
operation happened,
- `servicecontrol.googleapis.com/user_agent` describing the user agent
of the API request,
- `servicecontrol.googleapis.com/service_agent` describing the service
used to handle the API request (e.g. ESP),
- `servicecontrol.googleapis.com/platform` describing the platform
where the API is served (e.g. GAE, GCE, GKE).
map<string, string> labels = 6;containsLabels in interface OperationOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getLabels()
getLabelsMap() instead.getLabels in interface OperationOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getLabelsMap()
Labels describing the operation. Only the following labels are allowed:
- Labels describing monitored resources as defined in
the service configuration.
- Default labels of metric values. When specified, labels defined in the
metric value override these default.
- The following labels defined by Google Cloud Platform:
- `cloud.googleapis.com/location` describing the location where the
operation happened,
- `servicecontrol.googleapis.com/user_agent` describing the user agent
of the API request,
- `servicecontrol.googleapis.com/service_agent` describing the service
used to handle the API request (e.g. ESP),
- `servicecontrol.googleapis.com/platform` describing the platform
where the API is served (e.g. GAE, GCE, GKE).
map<string, string> labels = 6;getLabelsMap in interface OperationOrBuilderpublic java.lang.String getLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
Labels describing the operation. Only the following labels are allowed:
- Labels describing monitored resources as defined in
the service configuration.
- Default labels of metric values. When specified, labels defined in the
metric value override these default.
- The following labels defined by Google Cloud Platform:
- `cloud.googleapis.com/location` describing the location where the
operation happened,
- `servicecontrol.googleapis.com/user_agent` describing the user agent
of the API request,
- `servicecontrol.googleapis.com/service_agent` describing the service
used to handle the API request (e.g. ESP),
- `servicecontrol.googleapis.com/platform` describing the platform
where the API is served (e.g. GAE, GCE, GKE).
map<string, string> labels = 6;getLabelsOrDefault in interface OperationOrBuilderpublic java.lang.String getLabelsOrThrow(java.lang.String key)
Labels describing the operation. Only the following labels are allowed:
- Labels describing monitored resources as defined in
the service configuration.
- Default labels of metric values. When specified, labels defined in the
metric value override these default.
- The following labels defined by Google Cloud Platform:
- `cloud.googleapis.com/location` describing the location where the
operation happened,
- `servicecontrol.googleapis.com/user_agent` describing the user agent
of the API request,
- `servicecontrol.googleapis.com/service_agent` describing the service
used to handle the API request (e.g. ESP),
- `servicecontrol.googleapis.com/platform` describing the platform
where the API is served (e.g. GAE, GCE, GKE).
map<string, string> labels = 6;getLabelsOrThrow in interface OperationOrBuilderpublic Operation.Builder clearLabels()
public Operation.Builder removeLabels(java.lang.String key)
Labels describing the operation. Only the following labels are allowed:
- Labels describing monitored resources as defined in
the service configuration.
- Default labels of metric values. When specified, labels defined in the
metric value override these default.
- The following labels defined by Google Cloud Platform:
- `cloud.googleapis.com/location` describing the location where the
operation happened,
- `servicecontrol.googleapis.com/user_agent` describing the user agent
of the API request,
- `servicecontrol.googleapis.com/service_agent` describing the service
used to handle the API request (e.g. ESP),
- `servicecontrol.googleapis.com/platform` describing the platform
where the API is served (e.g. GAE, GCE, GKE).
map<string, string> labels = 6;@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableLabels()
public Operation.Builder putLabels(java.lang.String key, java.lang.String value)
Labels describing the operation. Only the following labels are allowed:
- Labels describing monitored resources as defined in
the service configuration.
- Default labels of metric values. When specified, labels defined in the
metric value override these default.
- The following labels defined by Google Cloud Platform:
- `cloud.googleapis.com/location` describing the location where the
operation happened,
- `servicecontrol.googleapis.com/user_agent` describing the user agent
of the API request,
- `servicecontrol.googleapis.com/service_agent` describing the service
used to handle the API request (e.g. ESP),
- `servicecontrol.googleapis.com/platform` describing the platform
where the API is served (e.g. GAE, GCE, GKE).
map<string, string> labels = 6;public Operation.Builder putAllLabels(java.util.Map<java.lang.String,java.lang.String> values)
Labels describing the operation. Only the following labels are allowed:
- Labels describing monitored resources as defined in
the service configuration.
- Default labels of metric values. When specified, labels defined in the
metric value override these default.
- The following labels defined by Google Cloud Platform:
- `cloud.googleapis.com/location` describing the location where the
operation happened,
- `servicecontrol.googleapis.com/user_agent` describing the user agent
of the API request,
- `servicecontrol.googleapis.com/service_agent` describing the service
used to handle the API request (e.g. ESP),
- `servicecontrol.googleapis.com/platform` describing the platform
where the API is served (e.g. GAE, GCE, GKE).
map<string, string> labels = 6;public java.util.List<MetricValueSet> getMetricValueSetsList()
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;getMetricValueSetsList in interface OperationOrBuilderpublic int getMetricValueSetsCount()
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;getMetricValueSetsCount in interface OperationOrBuilderpublic MetricValueSet getMetricValueSets(int index)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;getMetricValueSets in interface OperationOrBuilderpublic Operation.Builder setMetricValueSets(int index, MetricValueSet value)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public Operation.Builder setMetricValueSets(int index, MetricValueSet.Builder builderForValue)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public Operation.Builder addMetricValueSets(MetricValueSet value)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public Operation.Builder addMetricValueSets(int index, MetricValueSet value)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public Operation.Builder addMetricValueSets(MetricValueSet.Builder builderForValue)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public Operation.Builder addMetricValueSets(int index, MetricValueSet.Builder builderForValue)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public Operation.Builder addAllMetricValueSets(java.lang.Iterable<? extends MetricValueSet> values)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public Operation.Builder clearMetricValueSets()
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public Operation.Builder removeMetricValueSets(int index)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public MetricValueSet.Builder getMetricValueSetsBuilder(int index)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public MetricValueSetOrBuilder getMetricValueSetsOrBuilder(int index)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;getMetricValueSetsOrBuilder in interface OperationOrBuilderpublic java.util.List<? extends MetricValueSetOrBuilder> getMetricValueSetsOrBuilderList()
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;getMetricValueSetsOrBuilderList in interface OperationOrBuilderpublic MetricValueSet.Builder addMetricValueSetsBuilder()
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public MetricValueSet.Builder addMetricValueSetsBuilder(int index)
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public java.util.List<MetricValueSet.Builder> getMetricValueSetsBuilderList()
Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
repeated .google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;public java.util.List<LogEntry> getLogEntriesList()
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;getLogEntriesList in interface OperationOrBuilderpublic int getLogEntriesCount()
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;getLogEntriesCount in interface OperationOrBuilderpublic LogEntry getLogEntries(int index)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;getLogEntries in interface OperationOrBuilderpublic Operation.Builder setLogEntries(int index, LogEntry value)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public Operation.Builder setLogEntries(int index, LogEntry.Builder builderForValue)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public Operation.Builder addLogEntries(LogEntry value)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public Operation.Builder addLogEntries(int index, LogEntry value)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public Operation.Builder addLogEntries(LogEntry.Builder builderForValue)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public Operation.Builder addLogEntries(int index, LogEntry.Builder builderForValue)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public Operation.Builder addAllLogEntries(java.lang.Iterable<? extends LogEntry> values)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public Operation.Builder clearLogEntries()
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public Operation.Builder removeLogEntries(int index)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public LogEntry.Builder getLogEntriesBuilder(int index)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public LogEntryOrBuilder getLogEntriesOrBuilder(int index)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;getLogEntriesOrBuilder in interface OperationOrBuilderpublic java.util.List<? extends LogEntryOrBuilder> getLogEntriesOrBuilderList()
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;getLogEntriesOrBuilderList in interface OperationOrBuilderpublic LogEntry.Builder addLogEntriesBuilder()
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public LogEntry.Builder addLogEntriesBuilder(int index)
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public java.util.List<LogEntry.Builder> getLogEntriesBuilderList()
Represents information to be logged.
repeated .google.api.servicecontrol.v1.LogEntry log_entries = 8;public int getImportanceValue()
DO NOT USE. This is an experimental field.
.google.api.servicecontrol.v1.Operation.Importance importance = 11;getImportanceValue in interface OperationOrBuilderpublic Operation.Builder setImportanceValue(int value)
DO NOT USE. This is an experimental field.
.google.api.servicecontrol.v1.Operation.Importance importance = 11;public Operation.Importance getImportance()
DO NOT USE. This is an experimental field.
.google.api.servicecontrol.v1.Operation.Importance importance = 11;getImportance in interface OperationOrBuilderpublic Operation.Builder setImportance(Operation.Importance value)
DO NOT USE. This is an experimental field.
.google.api.servicecontrol.v1.Operation.Importance importance = 11;public Operation.Builder clearImportance()
DO NOT USE. This is an experimental field.
.google.api.servicecontrol.v1.Operation.Importance importance = 11;public final Operation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>public final Operation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>