Class ListProductsResponse (3.28.0)

public final class ListProductsResponse extends GeneratedMessageV3 implements ListProductsResponseOrBuilder

Response message for ListProducts.

Protobuf type google.cloud.channel.v1.ListProductsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCTS_FIELD_NUMBER

public static final int PRODUCTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListProductsResponse getDefaultInstance()
Returns
TypeDescription
ListProductsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListProductsResponse prototype)

public static ListProductsResponse.Builder newBuilder(ListProductsResponse prototype)
Parameter
NameDescription
prototypeListProductsResponse
Returns
TypeDescription
ListProductsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListProductsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProductsResponse

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getProducts(int index)

public Product getProducts(int index)

List of Products requested.

repeated .google.cloud.channel.v1.Product products = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Product

getProductsCount()

public int getProductsCount()

List of Products requested.

repeated .google.cloud.channel.v1.Product products = 1;

Returns
TypeDescription
int

getProductsList()

public List<Product> getProductsList()

List of Products requested.

repeated .google.cloud.channel.v1.Product products = 1;

Returns
TypeDescription
List<Product>

getProductsOrBuilder(int index)

public ProductOrBuilder getProductsOrBuilder(int index)

List of Products requested.

repeated .google.cloud.channel.v1.Product products = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductOrBuilder

getProductsOrBuilderList()

public List<? extends ProductOrBuilder> getProductsOrBuilderList()

List of Products requested.

repeated .google.cloud.channel.v1.Product products = 1;

Returns
TypeDescription
List<? extends com.google.cloud.channel.v1.ProductOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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