Class SetWorkerDeploymentManagerResponse.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<SetWorkerDeploymentManagerResponse.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<SetWorkerDeploymentManagerResponse.Builder>
      • getDefaultInstanceForType

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

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

        public SetWorkerDeploymentManagerResponse 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<SetWorkerDeploymentManagerResponse.Builder>
      • mergeFrom

        public SetWorkerDeploymentManagerResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetWorkerDeploymentManagerResponse.Builder>
        Throws:
        java.io.IOException
      • getConflictToken

        public com.google.protobuf.ByteString getConflictToken()
         This value is returned so that it can be optionally passed to APIs
         that write to the Worker Deployment state to ensure that the state
         did not change between this API call and a future write.
         
        bytes conflict_token = 1;
        Specified by:
        getConflictToken in interface SetWorkerDeploymentManagerResponseOrBuilder
        Returns:
        The conflictToken.
      • setConflictToken

        public SetWorkerDeploymentManagerResponse.Builder setConflictToken​(com.google.protobuf.ByteString value)
         This value is returned so that it can be optionally passed to APIs
         that write to the Worker Deployment state to ensure that the state
         did not change between this API call and a future write.
         
        bytes conflict_token = 1;
        Parameters:
        value - The conflictToken to set.
        Returns:
        This builder for chaining.
      • clearConflictToken

        public SetWorkerDeploymentManagerResponse.Builder clearConflictToken()
         This value is returned so that it can be optionally passed to APIs
         that write to the Worker Deployment state to ensure that the state
         did not change between this API call and a future write.
         
        bytes conflict_token = 1;
        Returns:
        This builder for chaining.
      • setPreviousManagerIdentity

        public SetWorkerDeploymentManagerResponse.Builder setPreviousManagerIdentity​(java.lang.String value)
         What the `manager_identity` field was before this change.
         
        string previous_manager_identity = 2;
        Parameters:
        value - The previousManagerIdentity to set.
        Returns:
        This builder for chaining.
      • clearPreviousManagerIdentity

        public SetWorkerDeploymentManagerResponse.Builder clearPreviousManagerIdentity()
         What the `manager_identity` field was before this change.
         
        string previous_manager_identity = 2;
        Returns:
        This builder for chaining.
      • setPreviousManagerIdentityBytes

        public SetWorkerDeploymentManagerResponse.Builder setPreviousManagerIdentityBytes​(com.google.protobuf.ByteString value)
         What the `manager_identity` field was before this change.
         
        string previous_manager_identity = 2;
        Parameters:
        value - The bytes for previousManagerIdentity to set.
        Returns:
        This builder for chaining.