Class ListRecommendersResponse (2.35.0)

public final class ListRecommendersResponse extends GeneratedMessageV3 implements ListRecommendersResponseOrBuilder

Response for the ListRecommender method.

Protobuf type google.cloud.recommender.v1beta1.ListRecommendersResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

RECOMMENDERS_FIELD_NUMBER

public static final int RECOMMENDERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListRecommendersResponse getDefaultInstance()
Returns
TypeDescription
ListRecommendersResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListRecommendersResponse prototype)

public static ListRecommendersResponse.Builder newBuilder(ListRecommendersResponse prototype)
Parameter
NameDescription
prototypeListRecommendersResponse
Returns
TypeDescription
ListRecommendersResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListRecommendersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRecommendersResponse

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getRecommenders(int index)

public RecommenderType getRecommenders(int index)

The set of recommenders available

repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RecommenderType

getRecommendersCount()

public int getRecommendersCount()

The set of recommenders available

repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;

Returns
TypeDescription
int

getRecommendersList()

public List<RecommenderType> getRecommendersList()

The set of recommenders available

repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;

Returns
TypeDescription
List<RecommenderType>

getRecommendersOrBuilder(int index)

public RecommenderTypeOrBuilder getRecommendersOrBuilder(int index)

The set of recommenders available

repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RecommenderTypeOrBuilder

getRecommendersOrBuilderList()

public List<? extends RecommenderTypeOrBuilder> getRecommendersOrBuilderList()

The set of recommenders available

repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;

Returns
TypeDescription
List<? extends com.google.cloud.recommender.v1beta1.RecommenderTypeOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 ListRecommendersResponse.Builder newBuilderForType()
Returns
TypeDescription
ListRecommendersResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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