Class ListInstructionsResponse.Builder

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

public static final class ListInstructionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListInstructionsResponse.Builder> implements ListInstructionsResponseOrBuilder
 Results of listing instructions under a project.
 
Protobuf type google.cloud.datalabeling.v1beta1.ListInstructionsResponse
  • 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<ListInstructionsResponse.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<ListInstructionsResponse.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<ListInstructionsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListInstructionsResponse.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<ListInstructionsResponse.Builder>
      Throws:
      IOException
    • getInstructionsList

      public List<Instruction> getInstructionsList()
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
      Specified by:
      getInstructionsList in interface ListInstructionsResponseOrBuilder
    • getInstructionsCount

      public int getInstructionsCount()
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
      Specified by:
      getInstructionsCount in interface ListInstructionsResponseOrBuilder
    • getInstructions

      public Instruction getInstructions(int index)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
      Specified by:
      getInstructions in interface ListInstructionsResponseOrBuilder
    • setInstructions

      public ListInstructionsResponse.Builder setInstructions(int index, Instruction value)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • setInstructions

      public ListInstructionsResponse.Builder setInstructions(int index, Instruction.Builder builderForValue)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • addInstructions

      public ListInstructionsResponse.Builder addInstructions(Instruction value)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • addInstructions

      public ListInstructionsResponse.Builder addInstructions(int index, Instruction value)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • addInstructions

      public ListInstructionsResponse.Builder addInstructions(Instruction.Builder builderForValue)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • addInstructions

      public ListInstructionsResponse.Builder addInstructions(int index, Instruction.Builder builderForValue)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • addAllInstructions

      public ListInstructionsResponse.Builder addAllInstructions(Iterable<? extends Instruction> values)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • clearInstructions

      public ListInstructionsResponse.Builder clearInstructions()
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • removeInstructions

      public ListInstructionsResponse.Builder removeInstructions(int index)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • getInstructionsBuilder

      public Instruction.Builder getInstructionsBuilder(int index)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • getInstructionsOrBuilder

      public InstructionOrBuilder getInstructionsOrBuilder(int index)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
      Specified by:
      getInstructionsOrBuilder in interface ListInstructionsResponseOrBuilder
    • getInstructionsOrBuilderList

      public List<? extends InstructionOrBuilder> getInstructionsOrBuilderList()
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
      Specified by:
      getInstructionsOrBuilderList in interface ListInstructionsResponseOrBuilder
    • addInstructionsBuilder

      public Instruction.Builder addInstructionsBuilder()
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • addInstructionsBuilder

      public Instruction.Builder addInstructionsBuilder(int index)
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • getInstructionsBuilderList

      public List<Instruction.Builder> getInstructionsBuilderList()
       The list of Instructions to return.
       
      repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListInstructionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListInstructionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListInstructionsResponse.Builder setNextPageToken(String value)
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListInstructionsResponse.Builder clearNextPageToken()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListInstructionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.