Class ListFeaturesResponse (1.13.0)

public final class ListFeaturesResponse extends GeneratedMessageV3 implements ListFeaturesResponseOrBuilder

Response message for the GkeHub.ListFeatures method.

Protobuf type google.cloud.gkehub.v1beta.ListFeaturesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCES_FIELD_NUMBER

public static final int RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListFeaturesResponse getDefaultInstance()
Returns
TypeDescription
ListFeaturesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListFeaturesResponse.Builder newBuilder()
Returns
TypeDescription
ListFeaturesResponse.Builder

newBuilder(ListFeaturesResponse prototype)

public static ListFeaturesResponse.Builder newBuilder(ListFeaturesResponse prototype)
Parameter
NameDescription
prototypeListFeaturesResponse
Returns
TypeDescription
ListFeaturesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListFeaturesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListFeaturesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListFeaturesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListFeaturesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListFeaturesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListFeaturesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListFeaturesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFeaturesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListFeaturesResponse> parser()
Returns
TypeDescription
Parser<ListFeaturesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListFeaturesResponse getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListFeaturesResponse> getParserForType()
Returns
TypeDescription
Parser<ListFeaturesResponse>
Overrides

getResources(int index)

public Feature getResources(int index)

The list of matching Features

repeated .google.cloud.gkehub.v1beta.Feature resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Feature

getResourcesCount()

public int getResourcesCount()

The list of matching Features

repeated .google.cloud.gkehub.v1beta.Feature resources = 1;

Returns
TypeDescription
int

getResourcesList()

public List<Feature> getResourcesList()

The list of matching Features

repeated .google.cloud.gkehub.v1beta.Feature resources = 1;

Returns
TypeDescription
List<Feature>

getResourcesOrBuilder(int index)

public FeatureOrBuilder getResourcesOrBuilder(int index)

The list of matching Features

repeated .google.cloud.gkehub.v1beta.Feature resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FeatureOrBuilder

getResourcesOrBuilderList()

public List<? extends FeatureOrBuilder> getResourcesOrBuilderList()

The list of matching Features

repeated .google.cloud.gkehub.v1beta.Feature resources = 1;

Returns
TypeDescription
List<? extends com.google.cloud.gkehub.v1beta.FeatureOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListFeaturesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListFeaturesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListFeaturesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListFeaturesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListFeaturesResponse.Builder toBuilder()
Returns
TypeDescription
ListFeaturesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException