public static final class ListFeaturesResponse.Builder extends GeneratedMessageV3.Builder<ListFeaturesResponse.Builder> implements ListFeaturesResponseOrBuilder
Response message for the GkeHub.ListFeatures
method.
Protobuf type google.cloud.gkehub.v1.ListFeaturesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllResources(Iterable<? extends Feature> values)
public ListFeaturesResponse.Builder addAllResources(Iterable<? extends Feature> values)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.gkehub.v1.Feature>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListFeaturesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addResources(Feature value)
public ListFeaturesResponse.Builder addResources(Feature value)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter |
Name |
Description |
value |
Feature
|
addResources(Feature.Builder builderForValue)
public ListFeaturesResponse.Builder addResources(Feature.Builder builderForValue)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
addResources(int index, Feature value)
public ListFeaturesResponse.Builder addResources(int index, Feature value)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Feature
|
addResources(int index, Feature.Builder builderForValue)
public ListFeaturesResponse.Builder addResources(int index, Feature.Builder builderForValue)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
addResourcesBuilder()
public Feature.Builder addResourcesBuilder()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
addResourcesBuilder(int index)
public Feature.Builder addResourcesBuilder(int index)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListFeaturesResponse build()
buildPartial()
public ListFeaturesResponse buildPartial()
clear()
public ListFeaturesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListFeaturesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListFeaturesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResources()
public ListFeaturesResponse.Builder clearResources()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
clone()
public ListFeaturesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListFeaturesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getResources(int index)
public Feature getResources(int index)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter |
Name |
Description |
index |
int
|
getResourcesBuilder(int index)
public Feature.Builder getResourcesBuilder(int index)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter |
Name |
Description |
index |
int
|
getResourcesBuilderList()
public List<Feature.Builder> getResourcesBuilderList()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
getResourcesCount()
public int getResourcesCount()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Returns |
Type |
Description |
int |
|
getResourcesList()
public List<Feature> getResourcesList()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
getResourcesOrBuilder(int index)
public FeatureOrBuilder getResourcesOrBuilder(int index)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter |
Name |
Description |
index |
int
|
getResourcesOrBuilderList()
public List<? extends FeatureOrBuilder> getResourcesOrBuilderList()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.gkehub.v1.FeatureOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListFeaturesResponse other)
public ListFeaturesResponse.Builder mergeFrom(ListFeaturesResponse other)
public ListFeaturesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListFeaturesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListFeaturesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeResources(int index)
public ListFeaturesResponse.Builder removeResources(int index)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListFeaturesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
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;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListFeaturesResponse.Builder setNextPageTokenBytes(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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListFeaturesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResources(int index, Feature value)
public ListFeaturesResponse.Builder setResources(int index, Feature value)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Feature
|
setResources(int index, Feature.Builder builderForValue)
public ListFeaturesResponse.Builder setResources(int index, Feature.Builder builderForValue)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListFeaturesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides