Class ListRetrohuntsResponse.Builder

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

public static final class ListRetrohuntsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListRetrohuntsResponse.Builder> implements ListRetrohuntsResponseOrBuilder
 Response message for ListRetrohunts method.
 
Protobuf type google.cloud.chronicle.v1.ListRetrohuntsResponse
  • 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<ListRetrohuntsResponse.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<ListRetrohuntsResponse.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<ListRetrohuntsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListRetrohuntsResponse.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<ListRetrohuntsResponse.Builder>
      Throws:
      IOException
    • getRetrohuntsList

      public List<Retrohunt> getRetrohuntsList()
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
      Specified by:
      getRetrohuntsList in interface ListRetrohuntsResponseOrBuilder
    • getRetrohuntsCount

      public int getRetrohuntsCount()
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
      Specified by:
      getRetrohuntsCount in interface ListRetrohuntsResponseOrBuilder
    • getRetrohunts

      public Retrohunt getRetrohunts(int index)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
      Specified by:
      getRetrohunts in interface ListRetrohuntsResponseOrBuilder
    • setRetrohunts

      public ListRetrohuntsResponse.Builder setRetrohunts(int index, Retrohunt value)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • setRetrohunts

      public ListRetrohuntsResponse.Builder setRetrohunts(int index, Retrohunt.Builder builderForValue)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • addRetrohunts

      public ListRetrohuntsResponse.Builder addRetrohunts(Retrohunt value)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • addRetrohunts

      public ListRetrohuntsResponse.Builder addRetrohunts(int index, Retrohunt value)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • addRetrohunts

      public ListRetrohuntsResponse.Builder addRetrohunts(Retrohunt.Builder builderForValue)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • addRetrohunts

      public ListRetrohuntsResponse.Builder addRetrohunts(int index, Retrohunt.Builder builderForValue)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • addAllRetrohunts

      public ListRetrohuntsResponse.Builder addAllRetrohunts(Iterable<? extends Retrohunt> values)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • clearRetrohunts

      public ListRetrohuntsResponse.Builder clearRetrohunts()
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • removeRetrohunts

      public ListRetrohuntsResponse.Builder removeRetrohunts(int index)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • getRetrohuntsBuilder

      public Retrohunt.Builder getRetrohuntsBuilder(int index)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • getRetrohuntsOrBuilder

      public RetrohuntOrBuilder getRetrohuntsOrBuilder(int index)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
      Specified by:
      getRetrohuntsOrBuilder in interface ListRetrohuntsResponseOrBuilder
    • getRetrohuntsOrBuilderList

      public List<? extends RetrohuntOrBuilder> getRetrohuntsOrBuilderList()
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
      Specified by:
      getRetrohuntsOrBuilderList in interface ListRetrohuntsResponseOrBuilder
    • addRetrohuntsBuilder

      public Retrohunt.Builder addRetrohuntsBuilder()
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • addRetrohuntsBuilder

      public Retrohunt.Builder addRetrohuntsBuilder(int index)
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • getRetrohuntsBuilderList

      public List<Retrohunt.Builder> getRetrohuntsBuilderList()
       The retrohunts from the specified rule.
       
      repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1;
    • getNextPageToken

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

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

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

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

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