Class ClientGatewayOperationMetadata.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ClientGatewayOperationMetadata.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ClientGatewayOperationMetadata.Builder>
      • getDefaultInstanceForType

        public ClientGatewayOperationMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ClientGatewayOperationMetadata build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ClientGatewayOperationMetadata buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ClientGatewayOperationMetadata.Builder>
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The time the operation was created.
         
        .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface ClientGatewayOperationMetadataOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public 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];
        Specified by:
        getCreateTime in interface ClientGatewayOperationMetadataOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public ClientGatewayOperationMetadata.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];
      • setCreateTime

        public ClientGatewayOperationMetadata.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];
      • mergeCreateTime

        public ClientGatewayOperationMetadata.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];
      • clearCreateTime

        public ClientGatewayOperationMetadata.Builder clearCreateTime()
         Output only. The time the operation was created.
         
        .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        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];
      • getCreateTimeOrBuilder

        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];
        Specified by:
        getCreateTimeOrBuilder in interface ClientGatewayOperationMetadataOrBuilder
      • hasEndTime

        public boolean hasEndTime()
         Output only. The time the operation finished running.
         
        .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasEndTime in interface ClientGatewayOperationMetadataOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public 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];
        Specified by:
        getEndTime in interface ClientGatewayOperationMetadataOrBuilder
        Returns:
        The endTime.
      • setEndTime

        public ClientGatewayOperationMetadata.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];
      • setEndTime

        public ClientGatewayOperationMetadata.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];
      • mergeEndTime

        public ClientGatewayOperationMetadata.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];
      • clearEndTime

        public ClientGatewayOperationMetadata.Builder clearEndTime()
         Output only. The time the operation finished running.
         
        .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEndTimeBuilder

        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];
      • getEndTimeOrBuilder

        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];
        Specified by:
        getEndTimeOrBuilder in interface ClientGatewayOperationMetadataOrBuilder
      • getTarget

        public String getTarget()
         Output only. Server-defined resource path for the target of the operation.
         
        string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTarget in interface ClientGatewayOperationMetadataOrBuilder
        Returns:
        The target.
      • getTargetBytes

        public 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];
        Specified by:
        getTargetBytes in interface ClientGatewayOperationMetadataOrBuilder
        Returns:
        The bytes for target.
      • setTarget

        public ClientGatewayOperationMetadata.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];
        Parameters:
        value - The target to set.
        Returns:
        This builder for chaining.
      • clearTarget

        public ClientGatewayOperationMetadata.Builder clearTarget()
         Output only. Server-defined resource path for the target of the operation.
         
        string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setTargetBytes

        public ClientGatewayOperationMetadata.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];
        Parameters:
        value - The bytes for target to set.
        Returns:
        This builder for chaining.
      • getVerbBytes

        public com.google.protobuf.ByteString getVerbBytes()
         Output only. Name of the verb executed by the operation.
         
        string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVerbBytes in interface ClientGatewayOperationMetadataOrBuilder
        Returns:
        The bytes for verb.
      • setVerb

        public ClientGatewayOperationMetadata.Builder setVerb​(String value)
         Output only. Name of the verb executed by the operation.
         
        string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The verb to set.
        Returns:
        This builder for chaining.
      • clearVerb

        public ClientGatewayOperationMetadata.Builder clearVerb()
         Output only. Name of the verb executed by the operation.
         
        string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setVerbBytes

        public ClientGatewayOperationMetadata.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];
        Parameters:
        value - The bytes for verb to set.
        Returns:
        This builder for chaining.
      • getStatusMessageBytes

        public 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];
        Specified by:
        getStatusMessageBytes in interface ClientGatewayOperationMetadataOrBuilder
        Returns:
        The bytes for statusMessage.
      • setStatusMessage

        public ClientGatewayOperationMetadata.Builder setStatusMessage​(String value)
         Output only. Human-readable status of the operation, if any.
         
        string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The statusMessage to set.
        Returns:
        This builder for chaining.
      • clearStatusMessage

        public ClientGatewayOperationMetadata.Builder clearStatusMessage()
         Output only. Human-readable status of the operation, if any.
         
        string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setStatusMessageBytes

        public ClientGatewayOperationMetadata.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];
        Parameters:
        value - The bytes for statusMessage to set.
        Returns:
        This builder for chaining.
      • getRequestedCancellation

        public boolean getRequestedCancellation()
         Output only. Identifies whether the user has requested cancellation
         of the operation. Operations that have been cancelled successfully
         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];
        Specified by:
        getRequestedCancellation in interface ClientGatewayOperationMetadataOrBuilder
        Returns:
        The requestedCancellation.
      • setRequestedCancellation

        public ClientGatewayOperationMetadata.Builder setRequestedCancellation​(boolean value)
         Output only. Identifies whether the user has requested cancellation
         of the operation. Operations that have been cancelled successfully
         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];
        Parameters:
        value - The requestedCancellation to set.
        Returns:
        This builder for chaining.
      • clearRequestedCancellation

        public ClientGatewayOperationMetadata.Builder clearRequestedCancellation()
         Output only. Identifies whether the user has requested cancellation
         of the operation. Operations that have been cancelled successfully
         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];
        Returns:
        This builder for chaining.
      • getApiVersionBytes

        public com.google.protobuf.ByteString getApiVersionBytes()
         Output only. API version used to start the operation.
         
        string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getApiVersionBytes in interface ClientGatewayOperationMetadataOrBuilder
        Returns:
        The bytes for apiVersion.
      • setApiVersion

        public ClientGatewayOperationMetadata.Builder setApiVersion​(String value)
         Output only. API version used to start the operation.
         
        string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The apiVersion to set.
        Returns:
        This builder for chaining.
      • clearApiVersion

        public ClientGatewayOperationMetadata.Builder clearApiVersion()
         Output only. API version used to start the operation.
         
        string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setApiVersionBytes

        public ClientGatewayOperationMetadata.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];
        Parameters:
        value - The bytes for apiVersion to set.
        Returns:
        This builder for chaining.