Class ListAttestorsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListAttestorsResponse.Builder>
com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.Builder
All Implemented Interfaces:
ListAttestorsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListAttestorsResponse

public static final class ListAttestorsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAttestorsResponse.Builder> implements ListAttestorsResponseOrBuilder
 Response message for [BinauthzManagementService.ListAttestors][].
 
Protobuf type google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse
  • 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<ListAttestorsResponse.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<ListAttestorsResponse.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<ListAttestorsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListAttestorsResponse.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<ListAttestorsResponse.Builder>
      Throws:
      IOException
    • getAttestorsList

      public List<Attestor> getAttestorsList()
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
      Specified by:
      getAttestorsList in interface ListAttestorsResponseOrBuilder
    • getAttestorsCount

      public int getAttestorsCount()
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
      Specified by:
      getAttestorsCount in interface ListAttestorsResponseOrBuilder
    • getAttestors

      public Attestor getAttestors(int index)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
      Specified by:
      getAttestors in interface ListAttestorsResponseOrBuilder
    • setAttestors

      public ListAttestorsResponse.Builder setAttestors(int index, Attestor value)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • setAttestors

      public ListAttestorsResponse.Builder setAttestors(int index, Attestor.Builder builderForValue)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • addAttestors

      public ListAttestorsResponse.Builder addAttestors(Attestor value)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • addAttestors

      public ListAttestorsResponse.Builder addAttestors(int index, Attestor value)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • addAttestors

      public ListAttestorsResponse.Builder addAttestors(Attestor.Builder builderForValue)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • addAttestors

      public ListAttestorsResponse.Builder addAttestors(int index, Attestor.Builder builderForValue)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • addAllAttestors

      public ListAttestorsResponse.Builder addAllAttestors(Iterable<? extends Attestor> values)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • clearAttestors

      public ListAttestorsResponse.Builder clearAttestors()
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • removeAttestors

      public ListAttestorsResponse.Builder removeAttestors(int index)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • getAttestorsBuilder

      public Attestor.Builder getAttestorsBuilder(int index)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • getAttestorsOrBuilder

      public AttestorOrBuilder getAttestorsOrBuilder(int index)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
      Specified by:
      getAttestorsOrBuilder in interface ListAttestorsResponseOrBuilder
    • getAttestorsOrBuilderList

      public List<? extends AttestorOrBuilder> getAttestorsOrBuilderList()
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
      Specified by:
      getAttestorsOrBuilderList in interface ListAttestorsResponseOrBuilder
    • addAttestorsBuilder

      public Attestor.Builder addAttestorsBuilder()
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • addAttestorsBuilder

      public Attestor.Builder addAttestorsBuilder(int index)
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • getAttestorsBuilderList

      public List<Attestor.Builder> getAttestorsBuilderList()
       The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results. Pass this value in the
       [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
       `ListAttestors` method to retrieve the next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListAttestorsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve the next page of results. Pass this value in the
       [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
       `ListAttestors` method to retrieve the next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListAttestorsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListAttestorsResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results. Pass this value in the
       [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
       `ListAttestors` method to retrieve the next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListAttestorsResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results. Pass this value in the
       [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
       `ListAttestors` method to retrieve the next page of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListAttestorsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve the next page of results. Pass this value in the
       [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
       `ListAttestors` method to retrieve the next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.