Class ListServingConfigsResponse (2.38.0)

public final class ListServingConfigsResponse extends GeneratedMessageV3 implements ListServingConfigsResponseOrBuilder

Response for ListServingConfigs method.

Protobuf type google.cloud.retail.v2alpha.ListServingConfigsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SERVING_CONFIGS_FIELD_NUMBER

public static final int SERVING_CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListServingConfigsResponse getDefaultInstance()
Returns
TypeDescription
ListServingConfigsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListServingConfigsResponse prototype)

public static ListServingConfigsResponse.Builder newBuilder(ListServingConfigsResponse prototype)
Parameter
NameDescription
prototypeListServingConfigsResponse
Returns
TypeDescription
ListServingConfigsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListServingConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServingConfigsResponse

getNextPageToken()

public String getNextPageToken()

Pagination token, if not returned indicates the last page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Pagination token, if not returned indicates the last page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServingConfigs(int index)

public ServingConfig getServingConfigs(int index)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2alpha.ServingConfig serving_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServingConfig

getServingConfigsCount()

public int getServingConfigsCount()

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2alpha.ServingConfig serving_configs = 1;

Returns
TypeDescription
int

getServingConfigsList()

public List<ServingConfig> getServingConfigsList()

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2alpha.ServingConfig serving_configs = 1;

Returns
TypeDescription
List<ServingConfig>

getServingConfigsOrBuilder(int index)

public ServingConfigOrBuilder getServingConfigsOrBuilder(int index)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2alpha.ServingConfig serving_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServingConfigOrBuilder

getServingConfigsOrBuilderList()

public List<? extends ServingConfigOrBuilder> getServingConfigsOrBuilderList()

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2alpha.ServingConfig serving_configs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.retail.v2alpha.ServingConfigOrBuilder>

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 ListServingConfigsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListServingConfigsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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