Class ListFeaturesResponse (1.48.0)

public final class ListFeaturesResponse extends GeneratedMessageV3 implements ListFeaturesResponseOrBuilder

Response message for the GkeHub.ListFeatures method.

Protobuf type google.cloud.gkehub.v1.ListFeaturesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

RESOURCES_FIELD_NUMBER

public static final int RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListFeaturesResponse getDefaultInstance()
Returns
Type Description
ListFeaturesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListFeaturesResponse.Builder newBuilder()
Returns
Type Description
ListFeaturesResponse.Builder

newBuilder(ListFeaturesResponse prototype)

public static ListFeaturesResponse.Builder newBuilder(ListFeaturesResponse prototype)
Parameter
Name Description
prototype ListFeaturesResponse
Returns
Type Description
ListFeaturesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListFeaturesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListFeaturesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListFeaturesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListFeaturesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListFeaturesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListFeaturesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFeaturesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListFeaturesResponse> parser()
Returns
Type Description
Parser<ListFeaturesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListFeaturesResponse getDefaultInstanceForType()
Returns
Type Description
ListFeaturesResponse

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.

getParserForType()

public Parser<ListFeaturesResponse> getParserForType()
Returns
Type Description
Parser<ListFeaturesResponse>
Overrides

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
Returns
Type Description
Feature

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;

Returns
Type Description
List<Feature>

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
Returns
Type Description
FeatureOrBuilder

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListFeaturesResponse.Builder newBuilderForType()
Returns
Type Description
ListFeaturesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListFeaturesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListFeaturesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListFeaturesResponse.Builder toBuilder()
Returns
Type Description
ListFeaturesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException