Package com.google.cloud.gkehub.v1beta
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 Summary
Modifier and TypeMethodDescriptionaddAllResources(Iterable<? extends Feature> values) The list of matching FeaturesaddResources(int index, Feature value) The list of matching FeaturesaddResources(int index, Feature.Builder builderForValue) The list of matching FeaturesaddResources(Feature value) The list of matching FeaturesaddResources(Feature.Builder builderForValue) The list of matching FeaturesThe list of matching FeaturesaddResourcesBuilder(int index) The list of matching Featuresbuild()clear()A token to request the next page of resources from the `ListFeatures` method.The list of matching Featuresstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token to request the next page of resources from the `ListFeatures` method.com.google.protobuf.ByteStringA token to request the next page of resources from the `ListFeatures` method.getResources(int index) The list of matching FeaturesgetResourcesBuilder(int index) The list of matching FeaturesThe list of matching FeaturesintThe list of matching FeaturesThe list of matching FeaturesgetResourcesOrBuilder(int index) The list of matching FeaturesList<? extends FeatureOrBuilder>The list of matching Featuresprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListFeaturesResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeResources(int index) The list of matching FeaturessetNextPageToken(String value) A token to request the next page of resources from the `ListFeatures` method.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token to request the next page of resources from the `ListFeatures` method.setResources(int index, Feature value) The list of matching FeaturessetResources(int index, Feature.Builder builderForValue) The list of matching FeaturesMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListFeaturesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListFeaturesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListFeaturesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListFeaturesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListFeaturesResponse.Builder>- Throws:
IOException
-
getResourcesList
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1;- Specified by:
getResourcesListin interfaceListFeaturesResponseOrBuilder
-
getResourcesCount
public int getResourcesCount()The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1;- Specified by:
getResourcesCountin interfaceListFeaturesResponseOrBuilder
-
getResources
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1;- Specified by:
getResourcesin interfaceListFeaturesResponseOrBuilder
-
setResources
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
setResources
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
addResources
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
addResources
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
addResources
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
addResources
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
addAllResources
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
clearResources
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
removeResources
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
getResourcesBuilder
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
getResourcesOrBuilder
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1;- Specified by:
getResourcesOrBuilderin interfaceListFeaturesResponseOrBuilder
-
getResourcesOrBuilderList
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1;- Specified by:
getResourcesOrBuilderListin interfaceListFeaturesResponseOrBuilder
-
addResourcesBuilder
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
addResourcesBuilder
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
getResourcesBuilderList
The list of matching Features
repeated .google.cloud.gkehub.v1beta.Feature resources = 1; -
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:
getNextPageTokenin interfaceListFeaturesResponseOrBuilder- 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:
getNextPageTokenBytesin interfaceListFeaturesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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
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
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.
-