Class ListControlsResponse (2.19.0)

public final class ListControlsResponse extends GeneratedMessageV3 implements ListControlsResponseOrBuilder

Response for ListControls method.

Protobuf type google.cloud.retail.v2beta.ListControlsResponse

Static Fields

CONTROLS_FIELD_NUMBER

public static final int CONTROLS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListControlsResponse getDefaultInstance()
Returns
TypeDescription
ListControlsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListControlsResponse prototype)

public static ListControlsResponse.Builder newBuilder(ListControlsResponse prototype)
Parameter
NameDescription
prototypeListControlsResponse
Returns
TypeDescription
ListControlsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getControls(int index)

public Control getControls(int index)

All the Controls for a given catalog.

repeated .google.cloud.retail.v2beta.Control controls = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Control

getControlsCount()

public int getControlsCount()

All the Controls for a given catalog.

repeated .google.cloud.retail.v2beta.Control controls = 1;

Returns
TypeDescription
int

getControlsList()

public List<Control> getControlsList()

All the Controls for a given catalog.

repeated .google.cloud.retail.v2beta.Control controls = 1;

Returns
TypeDescription
List<Control>

getControlsOrBuilder(int index)

public ControlOrBuilder getControlsOrBuilder(int index)

All the Controls for a given catalog.

repeated .google.cloud.retail.v2beta.Control controls = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ControlOrBuilder

getControlsOrBuilderList()

public List<? extends ControlOrBuilder> getControlsOrBuilderList()

All the Controls for a given catalog.

repeated .google.cloud.retail.v2beta.Control controls = 1;

Returns
TypeDescription
List<? extends com.google.cloud.retail.v2beta.ControlOrBuilder>

getDefaultInstanceForType()

public ListControlsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListControlsResponse

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<ListControlsResponse> getParserForType()
Returns
TypeDescription
Parser<ListControlsResponse>
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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