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
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListFeaturesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addResources(Feature value)
public ListFeaturesResponse.Builder addResources(Feature value)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter
Returns
addResources(Feature.Builder builderForValue)
public ListFeaturesResponse.Builder addResources(Feature.Builder builderForValue)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter
Returns
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
Returns
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;
Parameters
Returns
addResourcesBuilder()
public Feature.Builder addResourcesBuilder()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Returns
addResourcesBuilder(int index)
public Feature.Builder addResourcesBuilder(int index)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter
Returns
build()
public ListFeaturesResponse build()
Returns
buildPartial()
public ListFeaturesResponse buildPartial()
Returns
clear()
public ListFeaturesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListFeaturesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListFeaturesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResources()
public ListFeaturesResponse.Builder clearResources()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Returns
clone()
public ListFeaturesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListFeaturesResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getResourcesBuilder(int index)
public Feature.Builder getResourcesBuilder(int index)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter
Returns
getResourcesBuilderList()
public List<Feature.Builder> getResourcesBuilderList()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Returns
getResourcesCount()
public int getResourcesCount()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Returns
getResourcesList()
public List<Feature> getResourcesList()
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Returns
getResourcesOrBuilder(int index)
public FeatureOrBuilder getResourcesOrBuilder(int index)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListFeaturesResponse other)
public ListFeaturesResponse.Builder mergeFrom(ListFeaturesResponse other)
Parameter
Returns
public ListFeaturesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListFeaturesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListFeaturesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeResources(int index)
public ListFeaturesResponse.Builder removeResources(int index)
The list of matching Features
repeated .google.cloud.gkehub.v1.Feature resources = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListFeaturesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListFeaturesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListFeaturesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides