Class UpdateNexusEndpointRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateNexusEndpointRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
io.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateNexusEndpointRequestOrBuilder, Cloneable
Enclosing class:
UpdateNexusEndpointRequest

public static final class UpdateNexusEndpointRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder> implements UpdateNexusEndpointRequestOrBuilder
Protobuf type temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest
  • Method Details

    • 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<UpdateNexusEndpointRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.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<UpdateNexusEndpointRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
    • setField

      public UpdateNexusEndpointRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
    • clearField

      public UpdateNexusEndpointRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
    • clearOneof

      public UpdateNexusEndpointRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
    • setRepeatedField

      public UpdateNexusEndpointRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
    • addRepeatedField

      public UpdateNexusEndpointRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
    • mergeFrom

      public UpdateNexusEndpointRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateNexusEndpointRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public UpdateNexusEndpointRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<UpdateNexusEndpointRequest.Builder>
      Throws:
      IOException
    • getEndpointId

      public String getEndpointId()
       The id of the nexus endpoint to update.
       
      string endpoint_id = 1;
      Specified by:
      getEndpointId in interface UpdateNexusEndpointRequestOrBuilder
      Returns:
      The endpointId.
    • getEndpointIdBytes

      public com.google.protobuf.ByteString getEndpointIdBytes()
       The id of the nexus endpoint to update.
       
      string endpoint_id = 1;
      Specified by:
      getEndpointIdBytes in interface UpdateNexusEndpointRequestOrBuilder
      Returns:
      The bytes for endpointId.
    • setEndpointId

      public UpdateNexusEndpointRequest.Builder setEndpointId(String value)
       The id of the nexus endpoint to update.
       
      string endpoint_id = 1;
      Parameters:
      value - The endpointId to set.
      Returns:
      This builder for chaining.
    • clearEndpointId

      public UpdateNexusEndpointRequest.Builder clearEndpointId()
       The id of the nexus endpoint to update.
       
      string endpoint_id = 1;
      Returns:
      This builder for chaining.
    • setEndpointIdBytes

      public UpdateNexusEndpointRequest.Builder setEndpointIdBytes(com.google.protobuf.ByteString value)
       The id of the nexus endpoint to update.
       
      string endpoint_id = 1;
      Parameters:
      value - The bytes for endpointId to set.
      Returns:
      This builder for chaining.
    • hasSpec

      public boolean hasSpec()
       The updated nexus endpoint specification.
       
      .temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;
      Specified by:
      hasSpec in interface UpdateNexusEndpointRequestOrBuilder
      Returns:
      Whether the spec field is set.
    • getSpec

      public EndpointSpec getSpec()
       The updated nexus endpoint specification.
       
      .temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;
      Specified by:
      getSpec in interface UpdateNexusEndpointRequestOrBuilder
      Returns:
      The spec.
    • setSpec

       The updated nexus endpoint specification.
       
      .temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;
    • setSpec

      public UpdateNexusEndpointRequest.Builder setSpec(EndpointSpec.Builder builderForValue)
       The updated nexus endpoint specification.
       
      .temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;
    • mergeSpec

       The updated nexus endpoint specification.
       
      .temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;
    • clearSpec

       The updated nexus endpoint specification.
       
      .temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;
    • getSpecBuilder

      public EndpointSpec.Builder getSpecBuilder()
       The updated nexus endpoint specification.
       
      .temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;
    • getSpecOrBuilder

      public EndpointSpecOrBuilder getSpecOrBuilder()
       The updated nexus endpoint specification.
       
      .temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;
      Specified by:
      getSpecOrBuilder in interface UpdateNexusEndpointRequestOrBuilder
    • getResourceVersion

      public String getResourceVersion()
       The version of the nexus endpoint for which this update is intended for.
       The latest version can be found in the GetNexusEndpoint operation response.
       
      string resource_version = 3;
      Specified by:
      getResourceVersion in interface UpdateNexusEndpointRequestOrBuilder
      Returns:
      The resourceVersion.
    • getResourceVersionBytes

      public com.google.protobuf.ByteString getResourceVersionBytes()
       The version of the nexus endpoint for which this update is intended for.
       The latest version can be found in the GetNexusEndpoint operation response.
       
      string resource_version = 3;
      Specified by:
      getResourceVersionBytes in interface UpdateNexusEndpointRequestOrBuilder
      Returns:
      The bytes for resourceVersion.
    • setResourceVersion

      public UpdateNexusEndpointRequest.Builder setResourceVersion(String value)
       The version of the nexus endpoint for which this update is intended for.
       The latest version can be found in the GetNexusEndpoint operation response.
       
      string resource_version = 3;
      Parameters:
      value - The resourceVersion to set.
      Returns:
      This builder for chaining.
    • clearResourceVersion

      public UpdateNexusEndpointRequest.Builder clearResourceVersion()
       The version of the nexus endpoint for which this update is intended for.
       The latest version can be found in the GetNexusEndpoint operation response.
       
      string resource_version = 3;
      Returns:
      This builder for chaining.
    • setResourceVersionBytes

      public UpdateNexusEndpointRequest.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
       The version of the nexus endpoint for which this update is intended for.
       The latest version can be found in the GetNexusEndpoint operation response.
       
      string resource_version = 3;
      Parameters:
      value - The bytes for resourceVersion to set.
      Returns:
      This builder for chaining.
    • getAsyncOperationId

      public String getAsyncOperationId()
       The id to use for this async operation - optional.
       
      string async_operation_id = 4;
      Specified by:
      getAsyncOperationId in interface UpdateNexusEndpointRequestOrBuilder
      Returns:
      The asyncOperationId.
    • getAsyncOperationIdBytes

      public com.google.protobuf.ByteString getAsyncOperationIdBytes()
       The id to use for this async operation - optional.
       
      string async_operation_id = 4;
      Specified by:
      getAsyncOperationIdBytes in interface UpdateNexusEndpointRequestOrBuilder
      Returns:
      The bytes for asyncOperationId.
    • setAsyncOperationId

      public UpdateNexusEndpointRequest.Builder setAsyncOperationId(String value)
       The id to use for this async operation - optional.
       
      string async_operation_id = 4;
      Parameters:
      value - The asyncOperationId to set.
      Returns:
      This builder for chaining.
    • clearAsyncOperationId

      public UpdateNexusEndpointRequest.Builder clearAsyncOperationId()
       The id to use for this async operation - optional.
       
      string async_operation_id = 4;
      Returns:
      This builder for chaining.
    • setAsyncOperationIdBytes

      public UpdateNexusEndpointRequest.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
       The id to use for this async operation - optional.
       
      string async_operation_id = 4;
      Parameters:
      value - The bytes for asyncOperationId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final UpdateNexusEndpointRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
    • mergeUnknownFields

      public final UpdateNexusEndpointRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>