Class SearchProductsResponse (0.7.0)

public final class SearchProductsResponse extends GeneratedMessageV3 implements SearchProductsResponseOrBuilder

Response message for PrivateCatalog.SearchProducts.

Protobuf type google.cloud.privatecatalog.v1beta1.SearchProductsResponse

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 SearchProductsResponse getDefaultInstance()
Returns
TypeDescription
SearchProductsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(SearchProductsResponse prototype)

public static SearchProductsResponse.Builder newBuilder(SearchProductsResponse prototype)
Parameter
NameDescription
prototypeSearchProductsResponse
Returns
TypeDescription
SearchProductsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SearchProductsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchProductsResponse

getNextPageToken()

public String getNextPageToken()

A pagination token returned from a previous call to SearchProducts that indicates from where listing should continue.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A pagination token returned from a previous call to SearchProducts that indicates from where listing should continue.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getProducts(int index)

public Product getProducts(int index)

The Product resources computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Product products = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Product

getProductsCount()

public int getProductsCount()

The Product resources computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Product products = 1;

Returns
TypeDescription
int

getProductsList()

public List<Product> getProductsList()

The Product resources computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Product products = 1;

Returns
TypeDescription
List<Product>

getProductsOrBuilder(int index)

public ProductOrBuilder getProductsOrBuilder(int index)

The Product resources computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Product products = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductOrBuilder

getProductsOrBuilderList()

public List<? extends ProductOrBuilder> getProductsOrBuilderList()

The Product resources computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Product products = 1;

Returns
TypeDescription
List<? extends com.google.cloud.privatecatalog.v1beta1.ProductOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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