Class Service.ListAttestorsResponse.Builder

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

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

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

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

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

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

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

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

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

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

       The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
    • addAttestors

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

       The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
    • addAttestors

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

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

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

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

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

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

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

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

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

      public List<Resources.Attestor.Builder> getAttestorsBuilderList()
       The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
       
      repeated .google.cloud.binaryauthorization.v1.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.v1.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 Service.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.v1.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 Service.ListAttestorsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public Service.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.v1.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 Service.ListAttestorsResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results. Pass this value in the
       [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.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 Service.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.v1.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.