Class ListScopeRBACRoleBindingsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListScopeRBACRoleBindingsResponse.Builder>
com.google.cloud.gkehub.v1.ListScopeRBACRoleBindingsResponse.Builder
All Implemented Interfaces:
ListScopeRBACRoleBindingsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListScopeRBACRoleBindingsResponse

public static final class ListScopeRBACRoleBindingsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListScopeRBACRoleBindingsResponse.Builder> implements ListScopeRBACRoleBindingsResponseOrBuilder
 List of Scope RBACRoleBindings.
 
Protobuf type google.cloud.gkehub.v1.ListScopeRBACRoleBindingsResponse
  • 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<ListScopeRBACRoleBindingsResponse.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<ListScopeRBACRoleBindingsResponse.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<ListScopeRBACRoleBindingsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListScopeRBACRoleBindingsResponse.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<ListScopeRBACRoleBindingsResponse.Builder>
      Throws:
      IOException
    • getRbacrolebindingsList

      public List<RBACRoleBinding> getRbacrolebindingsList()
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
      Specified by:
      getRbacrolebindingsList in interface ListScopeRBACRoleBindingsResponseOrBuilder
    • getRbacrolebindingsCount

      public int getRbacrolebindingsCount()
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
      Specified by:
      getRbacrolebindingsCount in interface ListScopeRBACRoleBindingsResponseOrBuilder
    • getRbacrolebindings

      public RBACRoleBinding getRbacrolebindings(int index)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
      Specified by:
      getRbacrolebindings in interface ListScopeRBACRoleBindingsResponseOrBuilder
    • setRbacrolebindings

      public ListScopeRBACRoleBindingsResponse.Builder setRbacrolebindings(int index, RBACRoleBinding value)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • setRbacrolebindings

      public ListScopeRBACRoleBindingsResponse.Builder setRbacrolebindings(int index, RBACRoleBinding.Builder builderForValue)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • addRbacrolebindings

      public ListScopeRBACRoleBindingsResponse.Builder addRbacrolebindings(RBACRoleBinding value)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • addRbacrolebindings

      public ListScopeRBACRoleBindingsResponse.Builder addRbacrolebindings(int index, RBACRoleBinding value)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • addRbacrolebindings

      public ListScopeRBACRoleBindingsResponse.Builder addRbacrolebindings(RBACRoleBinding.Builder builderForValue)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • addRbacrolebindings

      public ListScopeRBACRoleBindingsResponse.Builder addRbacrolebindings(int index, RBACRoleBinding.Builder builderForValue)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • addAllRbacrolebindings

      public ListScopeRBACRoleBindingsResponse.Builder addAllRbacrolebindings(Iterable<? extends RBACRoleBinding> values)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • clearRbacrolebindings

      public ListScopeRBACRoleBindingsResponse.Builder clearRbacrolebindings()
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • removeRbacrolebindings

      public ListScopeRBACRoleBindingsResponse.Builder removeRbacrolebindings(int index)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • getRbacrolebindingsBuilder

      public RBACRoleBinding.Builder getRbacrolebindingsBuilder(int index)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • getRbacrolebindingsOrBuilder

      public RBACRoleBindingOrBuilder getRbacrolebindingsOrBuilder(int index)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
      Specified by:
      getRbacrolebindingsOrBuilder in interface ListScopeRBACRoleBindingsResponseOrBuilder
    • getRbacrolebindingsOrBuilderList

      public List<? extends RBACRoleBindingOrBuilder> getRbacrolebindingsOrBuilderList()
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
      Specified by:
      getRbacrolebindingsOrBuilderList in interface ListScopeRBACRoleBindingsResponseOrBuilder
    • addRbacrolebindingsBuilder

      public RBACRoleBinding.Builder addRbacrolebindingsBuilder()
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • addRbacrolebindingsBuilder

      public RBACRoleBinding.Builder addRbacrolebindingsBuilder(int index)
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • getRbacrolebindingsBuilderList

      public List<RBACRoleBinding.Builder> getRbacrolebindingsBuilderList()
       The list of Scope RBACRoleBindings.
       
      repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to request the next page of resources from the
       `ListScopeRBACRoleBindings` method. The value of an empty string means
       that there are no more resources to return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListScopeRBACRoleBindingsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to request the next page of resources from the
       `ListScopeRBACRoleBindings` method. The value of an empty string means
       that there are no more resources to return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListScopeRBACRoleBindingsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListScopeRBACRoleBindingsResponse.Builder setNextPageToken(String value)
       A token to request the next page of resources from the
       `ListScopeRBACRoleBindings` method. The value of an empty string means
       that there are no more resources to return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListScopeRBACRoleBindingsResponse.Builder clearNextPageToken()
       A token to request the next page of resources from the
       `ListScopeRBACRoleBindings` method. The value of an empty string means
       that there are no more resources to return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListScopeRBACRoleBindingsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to request the next page of resources from the
       `ListScopeRBACRoleBindings` method. The value of an empty string means
       that there are no more resources to return.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.