public static final class OperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder> implements OperationMetadataOrBuilder
Represents the metadata of the long-running operation.Protobuf type
google.cloud.apigateway.v1.OperationMetadatagetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.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<OperationMetadata.Builder>public OperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OperationMetadata.Builder>public OperationMetadata.Builder mergeFrom(OperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OperationMetadata.Builder>IOExceptionpublic boolean hasCreateTime()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface OperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder clearCreateTime()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface OperationMetadataOrBuilderpublic boolean hasEndTime()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface OperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder clearEndTime()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface OperationMetadataOrBuilderpublic String getTarget()
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getTarget in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getTargetBytes()
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getTargetBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setTarget(String value)
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The target to set.public OperationMetadata.Builder clearTarget()
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public OperationMetadata.Builder setTargetBytes(com.google.protobuf.ByteString value)
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for target to set.public String getVerb()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getVerb in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getVerbBytes()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getVerbBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setVerb(String value)
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The verb to set.public OperationMetadata.Builder clearVerb()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public OperationMetadata.Builder setVerbBytes(com.google.protobuf.ByteString value)
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for verb to set.public String getStatusMessage()
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getStatusMessage in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getStatusMessageBytes()
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getStatusMessageBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setStatusMessage(String value)
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The statusMessage to set.public OperationMetadata.Builder clearStatusMessage()
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];public OperationMetadata.Builder setStatusMessageBytes(com.google.protobuf.ByteString value)
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for statusMessage to set.public boolean getRequestedCancellation()
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getRequestedCancellation in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setRequestedCancellation(boolean value)
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The requestedCancellation to set.public OperationMetadata.Builder clearRequestedCancellation()
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getApiVersion()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getApiVersion in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getApiVersionBytes()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getApiVersionBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setApiVersion(String value)
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The apiVersion to set.public OperationMetadata.Builder clearApiVersion()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];public OperationMetadata.Builder setApiVersionBytes(com.google.protobuf.ByteString value)
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for apiVersion to set.public List<OperationMetadata.Diagnostic> getDiagnosticsList()
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDiagnosticsList in interface OperationMetadataOrBuilderpublic int getDiagnosticsCount()
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDiagnosticsCount in interface OperationMetadataOrBuilderpublic OperationMetadata.Diagnostic getDiagnostics(int index)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDiagnostics in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setDiagnostics(int index, OperationMetadata.Diagnostic value)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setDiagnostics(int index, OperationMetadata.Diagnostic.Builder builderForValue)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder addDiagnostics(OperationMetadata.Diagnostic value)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder addDiagnostics(int index, OperationMetadata.Diagnostic value)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder addDiagnostics(OperationMetadata.Diagnostic.Builder builderForValue)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder addDiagnostics(int index, OperationMetadata.Diagnostic.Builder builderForValue)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder addAllDiagnostics(Iterable<? extends OperationMetadata.Diagnostic> values)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder clearDiagnostics()
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder removeDiagnostics(int index)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Diagnostic.Builder getDiagnosticsBuilder(int index)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.DiagnosticOrBuilder getDiagnosticsOrBuilder(int index)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDiagnosticsOrBuilder in interface OperationMetadataOrBuilderpublic List<? extends OperationMetadata.DiagnosticOrBuilder> getDiagnosticsOrBuilderList()
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDiagnosticsOrBuilderList in interface OperationMetadataOrBuilderpublic OperationMetadata.Diagnostic.Builder addDiagnosticsBuilder()
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Diagnostic.Builder addDiagnosticsBuilder(int index)
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<OperationMetadata.Diagnostic.Builder> getDiagnosticsBuilderList()
Output only. Diagnostics generated during processing of configuration source files.
repeated .google.cloud.apigateway.v1.OperationMetadata.Diagnostic diagnostics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final OperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public final OperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>Copyright © 2022 Google LLC. All rights reserved.