Class UpdateGroupRequest.MemberInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateGroupRequest.MemberInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<UpdateGroupRequest.MemberInfo.Builder>
org.yamcs.protobuf.UpdateGroupRequest.MemberInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, UpdateGroupRequest.MemberInfoOrBuilder
Enclosing class:
UpdateGroupRequest.MemberInfo

public static final class UpdateGroupRequest.MemberInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateGroupRequest.MemberInfo.Builder> implements UpdateGroupRequest.MemberInfoOrBuilder
Protobuf type yamcs.protobuf.iam.UpdateGroupRequest.MemberInfo
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateGroupRequest.MemberInfo.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.GeneratedMessage.Builder<UpdateGroupRequest.MemberInfo.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.GeneratedMessage.Builder<UpdateGroupRequest.MemberInfo.Builder>
    • getDefaultInstanceForType

      public UpdateGroupRequest.MemberInfo 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 UpdateGroupRequest.MemberInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

      public UpdateGroupRequest.MemberInfo.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<UpdateGroupRequest.MemberInfo.Builder>
      Throws:
      IOException
    • getUsersList

      public com.google.protobuf.ProtocolStringList getUsersList()
      repeated string users = 1;
      Specified by:
      getUsersList in interface UpdateGroupRequest.MemberInfoOrBuilder
      Returns:
      A list containing the users.
    • getUsersCount

      public int getUsersCount()
      repeated string users = 1;
      Specified by:
      getUsersCount in interface UpdateGroupRequest.MemberInfoOrBuilder
      Returns:
      The count of users.
    • getUsers

      public String getUsers(int index)
      repeated string users = 1;
      Specified by:
      getUsers in interface UpdateGroupRequest.MemberInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The users at the given index.
    • getUsersBytes

      public com.google.protobuf.ByteString getUsersBytes(int index)
      repeated string users = 1;
      Specified by:
      getUsersBytes in interface UpdateGroupRequest.MemberInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the users at the given index.
    • setUsers

      public UpdateGroupRequest.MemberInfo.Builder setUsers(int index, String value)
      repeated string users = 1;
      Parameters:
      index - The index to set the value at.
      value - The users to set.
      Returns:
      This builder for chaining.
    • addUsers

      repeated string users = 1;
      Parameters:
      value - The users to add.
      Returns:
      This builder for chaining.
    • addAllUsers

      repeated string users = 1;
      Parameters:
      values - The users to add.
      Returns:
      This builder for chaining.
    • clearUsers

      repeated string users = 1;
      Returns:
      This builder for chaining.
    • addUsersBytes

      public UpdateGroupRequest.MemberInfo.Builder addUsersBytes(com.google.protobuf.ByteString value)
      repeated string users = 1;
      Parameters:
      value - The bytes of the users to add.
      Returns:
      This builder for chaining.
    • getServiceAccountsList

      public com.google.protobuf.ProtocolStringList getServiceAccountsList()
      repeated string serviceAccounts = 2;
      Specified by:
      getServiceAccountsList in interface UpdateGroupRequest.MemberInfoOrBuilder
      Returns:
      A list containing the serviceAccounts.
    • getServiceAccountsCount

      public int getServiceAccountsCount()
      repeated string serviceAccounts = 2;
      Specified by:
      getServiceAccountsCount in interface UpdateGroupRequest.MemberInfoOrBuilder
      Returns:
      The count of serviceAccounts.
    • getServiceAccounts

      public String getServiceAccounts(int index)
      repeated string serviceAccounts = 2;
      Specified by:
      getServiceAccounts in interface UpdateGroupRequest.MemberInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The serviceAccounts at the given index.
    • getServiceAccountsBytes

      public com.google.protobuf.ByteString getServiceAccountsBytes(int index)
      repeated string serviceAccounts = 2;
      Specified by:
      getServiceAccountsBytes in interface UpdateGroupRequest.MemberInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the serviceAccounts at the given index.
    • setServiceAccounts

      public UpdateGroupRequest.MemberInfo.Builder setServiceAccounts(int index, String value)
      repeated string serviceAccounts = 2;
      Parameters:
      index - The index to set the value at.
      value - The serviceAccounts to set.
      Returns:
      This builder for chaining.
    • addServiceAccounts

      public UpdateGroupRequest.MemberInfo.Builder addServiceAccounts(String value)
      repeated string serviceAccounts = 2;
      Parameters:
      value - The serviceAccounts to add.
      Returns:
      This builder for chaining.
    • addAllServiceAccounts

      public UpdateGroupRequest.MemberInfo.Builder addAllServiceAccounts(Iterable<String> values)
      repeated string serviceAccounts = 2;
      Parameters:
      values - The serviceAccounts to add.
      Returns:
      This builder for chaining.
    • clearServiceAccounts

      public UpdateGroupRequest.MemberInfo.Builder clearServiceAccounts()
      repeated string serviceAccounts = 2;
      Returns:
      This builder for chaining.
    • addServiceAccountsBytes

      public UpdateGroupRequest.MemberInfo.Builder addServiceAccountsBytes(com.google.protobuf.ByteString value)
      repeated string serviceAccounts = 2;
      Parameters:
      value - The bytes of the serviceAccounts to add.
      Returns:
      This builder for chaining.