Class UpdateCustomRoleRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateCustomRoleRequestOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:UpdateCustomRoleRequest.java.pb.meta") public final class UpdateCustomRoleRequest extends com.google.protobuf.GeneratedMessageV3 implements UpdateCustomRoleRequestOrBuilder
Protobuf type temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest
See Also:
  • Field Details

    • ROLE_ID_FIELD_NUMBER

      public static final int ROLE_ID_FIELD_NUMBER
      See Also:
    • SPEC_FIELD_NUMBER

      public static final int SPEC_FIELD_NUMBER
      See Also:
    • RESOURCE_VERSION_FIELD_NUMBER

      public static final int RESOURCE_VERSION_FIELD_NUMBER
      See Also:
    • ASYNC_OPERATION_ID_FIELD_NUMBER

      public static final int ASYNC_OPERATION_ID_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getRoleId

      public String getRoleId()
       The ID of the custom role to update.
       
      string role_id = 1;
      Specified by:
      getRoleId in interface UpdateCustomRoleRequestOrBuilder
      Returns:
      The roleId.
    • getRoleIdBytes

      public com.google.protobuf.ByteString getRoleIdBytes()
       The ID of the custom role to update.
       
      string role_id = 1;
      Specified by:
      getRoleIdBytes in interface UpdateCustomRoleRequestOrBuilder
      Returns:
      The bytes for roleId.
    • hasSpec

      public boolean hasSpec()
       The new custom role specification.
       
      .temporal.api.cloud.identity.v1.CustomRoleSpec spec = 2;
      Specified by:
      hasSpec in interface UpdateCustomRoleRequestOrBuilder
      Returns:
      Whether the spec field is set.
    • getSpec

      public CustomRoleSpec getSpec()
       The new custom role specification.
       
      .temporal.api.cloud.identity.v1.CustomRoleSpec spec = 2;
      Specified by:
      getSpec in interface UpdateCustomRoleRequestOrBuilder
      Returns:
      The spec.
    • getSpecOrBuilder

      public CustomRoleSpecOrBuilder getSpecOrBuilder()
       The new custom role specification.
       
      .temporal.api.cloud.identity.v1.CustomRoleSpec spec = 2;
      Specified by:
      getSpecOrBuilder in interface UpdateCustomRoleRequestOrBuilder
    • getResourceVersion

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

      public com.google.protobuf.ByteString getResourceVersionBytes()
       The version of the custom role for which this update is intended.
       The latest version can be found in the GetCustomRole operation response.
       
      string resource_version = 3;
      Specified by:
      getResourceVersionBytes in interface UpdateCustomRoleRequestOrBuilder
      Returns:
      The bytes for resourceVersion.
    • getAsyncOperationId

      public String getAsyncOperationId()
       The ID to use for this async operation.
       Optional, if not provided a random ID will be generated.
       
      string async_operation_id = 4;
      Specified by:
      getAsyncOperationId in interface UpdateCustomRoleRequestOrBuilder
      Returns:
      The asyncOperationId.
    • getAsyncOperationIdBytes

      public com.google.protobuf.ByteString getAsyncOperationIdBytes()
       The ID to use for this async operation.
       Optional, if not provided a random ID will be generated.
       
      string async_operation_id = 4;
      Specified by:
      getAsyncOperationIdBytes in interface UpdateCustomRoleRequestOrBuilder
      Returns:
      The bytes for asyncOperationId.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UpdateCustomRoleRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateCustomRoleRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateCustomRoleRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateCustomRoleRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateCustomRoleRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateCustomRoleRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateCustomRoleRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateCustomRoleRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpdateCustomRoleRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpdateCustomRoleRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateCustomRoleRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateCustomRoleRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UpdateCustomRoleRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UpdateCustomRoleRequest.Builder newBuilder()
    • newBuilder

      public static UpdateCustomRoleRequest.Builder newBuilder(UpdateCustomRoleRequest prototype)
    • toBuilder

      public UpdateCustomRoleRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UpdateCustomRoleRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static UpdateCustomRoleRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpdateCustomRoleRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<UpdateCustomRoleRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public UpdateCustomRoleRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder