Class ListAclsResponse.Builder

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

public static final class ListAclsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAclsResponse.Builder> implements ListAclsResponseOrBuilder
 Response for ListAcls.
 
Protobuf type google.cloud.managedkafka.v1.ListAclsResponse
  • 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<ListAclsResponse.Builder>
    • clear

      public ListAclsResponse.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<ListAclsResponse.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<ListAclsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListAclsResponse.Builder mergeFrom(ListAclsResponse other)
    • isInitialized

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

      public ListAclsResponse.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<ListAclsResponse.Builder>
      Throws:
      IOException
    • getAclsList

      public List<Acl> getAclsList()
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
      Specified by:
      getAclsList in interface ListAclsResponseOrBuilder
    • getAclsCount

      public int getAclsCount()
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
      Specified by:
      getAclsCount in interface ListAclsResponseOrBuilder
    • getAcls

      public Acl getAcls(int index)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
      Specified by:
      getAcls in interface ListAclsResponseOrBuilder
    • setAcls

      public ListAclsResponse.Builder setAcls(int index, Acl value)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • setAcls

      public ListAclsResponse.Builder setAcls(int index, Acl.Builder builderForValue)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • addAcls

      public ListAclsResponse.Builder addAcls(Acl value)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • addAcls

      public ListAclsResponse.Builder addAcls(int index, Acl value)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • addAcls

      public ListAclsResponse.Builder addAcls(Acl.Builder builderForValue)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • addAcls

      public ListAclsResponse.Builder addAcls(int index, Acl.Builder builderForValue)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • addAllAcls

      public ListAclsResponse.Builder addAllAcls(Iterable<? extends Acl> values)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • clearAcls

      public ListAclsResponse.Builder clearAcls()
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • removeAcls

      public ListAclsResponse.Builder removeAcls(int index)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • getAclsBuilder

      public Acl.Builder getAclsBuilder(int index)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • getAclsOrBuilder

      public AclOrBuilder getAclsOrBuilder(int index)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
      Specified by:
      getAclsOrBuilder in interface ListAclsResponseOrBuilder
    • getAclsOrBuilderList

      public List<? extends AclOrBuilder> getAclsOrBuilderList()
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
      Specified by:
      getAclsOrBuilderList in interface ListAclsResponseOrBuilder
    • addAclsBuilder

      public Acl.Builder addAclsBuilder()
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • addAclsBuilder

      public Acl.Builder addAclsBuilder(int index)
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • getAclsBuilderList

      public List<Acl.Builder> getAclsBuilderList()
       The list of acls in the requested parent. The order of the acls is
       unspecified.
       
      repeated .google.cloud.managedkafka.v1.Acl acls = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token that can be sent as `page_token` to retrieve the next page of
       results. If this field is omitted, there are no more results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListAclsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token that can be sent as `page_token` to retrieve the next page of
       results. If this field is omitted, there are no more results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListAclsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListAclsResponse.Builder setNextPageToken(String value)
       A token that can be sent as `page_token` to retrieve the next page of
       results. If this field is omitted, there are no more results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListAclsResponse.Builder clearNextPageToken()
       A token that can be sent as `page_token` to retrieve the next page of
       results. If this field is omitted, there are no more results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListAclsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token that can be sent as `page_token` to retrieve the next page of
       results. If this field is omitted, there are no more results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.