Class DeleteRoleAssignmentRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<DeleteRoleAssignmentRequest.Builder>
org.yamcs.protobuf.DeleteRoleAssignmentRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, DeleteRoleAssignmentRequestOrBuilder
Enclosing class:
DeleteRoleAssignmentRequest

public static final class DeleteRoleAssignmentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeleteRoleAssignmentRequest.Builder> implements DeleteRoleAssignmentRequestOrBuilder
Protobuf type yamcs.protobuf.iam.DeleteRoleAssignmentRequest
  • 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<DeleteRoleAssignmentRequest.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<DeleteRoleAssignmentRequest.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<DeleteRoleAssignmentRequest.Builder>
    • getDefaultInstanceForType

      public DeleteRoleAssignmentRequest 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 DeleteRoleAssignmentRequest 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<DeleteRoleAssignmentRequest.Builder>
    • setField

      public DeleteRoleAssignmentRequest.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<DeleteRoleAssignmentRequest.Builder>
    • clearField

      public DeleteRoleAssignmentRequest.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<DeleteRoleAssignmentRequest.Builder>
    • clearOneof

      public DeleteRoleAssignmentRequest.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<DeleteRoleAssignmentRequest.Builder>
    • setRepeatedField

      public DeleteRoleAssignmentRequest.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<DeleteRoleAssignmentRequest.Builder>
    • addRepeatedField

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

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

      public DeleteRoleAssignmentRequest.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<DeleteRoleAssignmentRequest.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
       Username
       
      optional string name = 1;
      Specified by:
      hasName in interface DeleteRoleAssignmentRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Username
       
      optional string name = 1;
      Specified by:
      getName in interface DeleteRoleAssignmentRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Username
       
      optional string name = 1;
      Specified by:
      getNameBytes in interface DeleteRoleAssignmentRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Username
       
      optional string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Username
       
      optional string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public DeleteRoleAssignmentRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Username
       
      optional string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasRole

      public boolean hasRole()
       Role name
       
      optional string role = 2;
      Specified by:
      hasRole in interface DeleteRoleAssignmentRequestOrBuilder
      Returns:
      Whether the role field is set.
    • getRole

      public String getRole()
       Role name
       
      optional string role = 2;
      Specified by:
      getRole in interface DeleteRoleAssignmentRequestOrBuilder
      Returns:
      The role.
    • getRoleBytes

      public com.google.protobuf.ByteString getRoleBytes()
       Role name
       
      optional string role = 2;
      Specified by:
      getRoleBytes in interface DeleteRoleAssignmentRequestOrBuilder
      Returns:
      The bytes for role.
    • setRole

       Role name
       
      optional string role = 2;
      Parameters:
      value - The role to set.
      Returns:
      This builder for chaining.
    • clearRole

       Role name
       
      optional string role = 2;
      Returns:
      This builder for chaining.
    • setRoleBytes

      public DeleteRoleAssignmentRequest.Builder setRoleBytes(com.google.protobuf.ByteString value)
       Role name
       
      optional string role = 2;
      Parameters:
      value - The bytes for role to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final DeleteRoleAssignmentRequest.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<DeleteRoleAssignmentRequest.Builder>
    • mergeUnknownFields

      public final DeleteRoleAssignmentRequest.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<DeleteRoleAssignmentRequest.Builder>