Class LookupEntityResponse (0.1.0)

public final class LookupEntityResponse extends GeneratedMessage implements LookupEntityResponseOrBuilder

Response message for LookupEntity.

Protobuf type google.cloud.productregistry.v1.LookupEntityResponse

Static Fields

LOGICAL_PRODUCT_FIELD_NUMBER

public static final int LOGICAL_PRODUCT_FIELD_NUMBER
Field Value
Type Description
int

LOGICAL_PRODUCT_VARIANT_FIELD_NUMBER

public static final int LOGICAL_PRODUCT_VARIANT_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_SUITE_FIELD_NUMBER

public static final int PRODUCT_SUITE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LookupEntityResponse getDefaultInstance()
Returns
Type Description
LookupEntityResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static LookupEntityResponse.Builder newBuilder()
Returns
Type Description
LookupEntityResponse.Builder

newBuilder(LookupEntityResponse prototype)

public static LookupEntityResponse.Builder newBuilder(LookupEntityResponse prototype)
Parameter
Name Description
prototype LookupEntityResponse
Returns
Type Description
LookupEntityResponse.Builder

parseDelimitedFrom(InputStream input)

public static LookupEntityResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LookupEntityResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LookupEntityResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LookupEntityResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LookupEntityResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LookupEntityResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LookupEntityResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LookupEntityResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LookupEntityResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LookupEntityResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LookupEntityResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LookupEntityResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupEntityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LookupEntityResponse> parser()
Returns
Type Description
Parser<LookupEntityResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public LookupEntityResponse getDefaultInstanceForType()
Returns
Type Description
LookupEntityResponse

getEntityCase()

public LookupEntityResponse.EntityCase getEntityCase()
Returns
Type Description
LookupEntityResponse.EntityCase

getLogicalProduct()

public LogicalProduct getLogicalProduct()

Matched LogicalProduct.

.google.cloud.productregistry.v1.LogicalProduct logical_product = 1;

Returns
Type Description
LogicalProduct

The logicalProduct.

getLogicalProductOrBuilder()

public LogicalProductOrBuilder getLogicalProductOrBuilder()

Matched LogicalProduct.

.google.cloud.productregistry.v1.LogicalProduct logical_product = 1;

Returns
Type Description
LogicalProductOrBuilder

getLogicalProductVariant()

public LogicalProductVariant getLogicalProductVariant()

Matched LogicalProductVariant.

.google.cloud.productregistry.v1.LogicalProductVariant logical_product_variant = 2;

Returns
Type Description
LogicalProductVariant

The logicalProductVariant.

getLogicalProductVariantOrBuilder()

public LogicalProductVariantOrBuilder getLogicalProductVariantOrBuilder()

Matched LogicalProductVariant.

.google.cloud.productregistry.v1.LogicalProductVariant logical_product_variant = 2;

Returns
Type Description
LogicalProductVariantOrBuilder

getParserForType()

public Parser<LookupEntityResponse> getParserForType()
Returns
Type Description
Parser<LookupEntityResponse>
Overrides

getProductSuite()

public ProductSuite getProductSuite()

Matched ProductSuite.

.google.cloud.productregistry.v1.ProductSuite product_suite = 3;

Returns
Type Description
ProductSuite

The productSuite.

getProductSuiteOrBuilder()

public ProductSuiteOrBuilder getProductSuiteOrBuilder()

Matched ProductSuite.

.google.cloud.productregistry.v1.ProductSuite product_suite = 3;

Returns
Type Description
ProductSuiteOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasLogicalProduct()

public boolean hasLogicalProduct()

Matched LogicalProduct.

.google.cloud.productregistry.v1.LogicalProduct logical_product = 1;

Returns
Type Description
boolean

Whether the logicalProduct field is set.

hasLogicalProductVariant()

public boolean hasLogicalProductVariant()

Matched LogicalProductVariant.

.google.cloud.productregistry.v1.LogicalProductVariant logical_product_variant = 2;

Returns
Type Description
boolean

Whether the logicalProductVariant field is set.

hasProductSuite()

public boolean hasProductSuite()

Matched ProductSuite.

.google.cloud.productregistry.v1.ProductSuite product_suite = 3;

Returns
Type Description
boolean

Whether the productSuite field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LookupEntityResponse.Builder newBuilderForType()
Returns
Type Description
LookupEntityResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected LookupEntityResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LookupEntityResponse.Builder
Overrides

toBuilder()

public LookupEntityResponse.Builder toBuilder()
Returns
Type Description
LookupEntityResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException