Class ListFeaturesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListFeaturesResponse.Builder>
com.google.cloud.gkehub.v1beta.ListFeaturesResponse.Builder
All Implemented Interfaces:
ListFeaturesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListFeaturesResponse

public static final class ListFeaturesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListFeaturesResponse.Builder> implements ListFeaturesResponseOrBuilder
 Response message for the `GkeHub.ListFeatures` method.
 
Protobuf type google.cloud.gkehub.v1beta.ListFeaturesResponse
  • 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<ListFeaturesResponse.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<ListFeaturesResponse.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<ListFeaturesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListFeaturesResponse.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<ListFeaturesResponse.Builder>
      Throws:
      IOException
    • getResourcesList

      public List<Feature> getResourcesList()
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
      Specified by:
      getResourcesList in interface ListFeaturesResponseOrBuilder
    • getResourcesCount

      public int getResourcesCount()
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
      Specified by:
      getResourcesCount in interface ListFeaturesResponseOrBuilder
    • getResources

      public Feature getResources(int index)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
      Specified by:
      getResources in interface ListFeaturesResponseOrBuilder
    • setResources

      public ListFeaturesResponse.Builder setResources(int index, Feature value)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • setResources

      public ListFeaturesResponse.Builder setResources(int index, Feature.Builder builderForValue)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • addResources

      public ListFeaturesResponse.Builder addResources(Feature value)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • addResources

      public ListFeaturesResponse.Builder addResources(int index, Feature value)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • addResources

      public ListFeaturesResponse.Builder addResources(Feature.Builder builderForValue)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • addResources

      public ListFeaturesResponse.Builder addResources(int index, Feature.Builder builderForValue)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • addAllResources

      public ListFeaturesResponse.Builder addAllResources(Iterable<? extends Feature> values)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • clearResources

      public ListFeaturesResponse.Builder clearResources()
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • removeResources

      public ListFeaturesResponse.Builder removeResources(int index)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • getResourcesBuilder

      public Feature.Builder getResourcesBuilder(int index)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • getResourcesOrBuilder

      public FeatureOrBuilder getResourcesOrBuilder(int index)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
      Specified by:
      getResourcesOrBuilder in interface ListFeaturesResponseOrBuilder
    • getResourcesOrBuilderList

      public List<? extends FeatureOrBuilder> getResourcesOrBuilderList()
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
      Specified by:
      getResourcesOrBuilderList in interface ListFeaturesResponseOrBuilder
    • addResourcesBuilder

      public Feature.Builder addResourcesBuilder()
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • addResourcesBuilder

      public Feature.Builder addResourcesBuilder(int index)
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • getResourcesBuilderList

      public List<Feature.Builder> getResourcesBuilderList()
       The list of matching Features
       
      repeated .google.cloud.gkehub.v1beta.Feature resources = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to request the next page of resources from the
       `ListFeatures` method. The value of an empty string means
       that there are no more resources to return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListFeaturesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to request the next page of resources from the
       `ListFeatures` method. The value of an empty string means
       that there are no more resources to return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListFeaturesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListFeaturesResponse.Builder setNextPageToken(String value)
       A token to request the next page of resources from the
       `ListFeatures` method. The value of an empty string means
       that there are no more resources to return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListFeaturesResponse.Builder clearNextPageToken()
       A token to request the next page of resources from the
       `ListFeatures` method. The value of an empty string means
       that there are no more resources to return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListFeaturesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to request the next page of resources from the
       `ListFeatures` method. The value of an empty string means
       that there are no more resources to return.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.