Class LookupEntityRequest.Builder (0.1.0)

public static final class LookupEntityRequest.Builder extends GeneratedMessage.Builder<LookupEntityRequest.Builder> implements LookupEntityRequestOrBuilder

Request message for LookupEntity.

Protobuf type google.cloud.productregistry.v1.LookupEntityRequest

Static Methods

getDescriptor()

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

Methods

build()

public LookupEntityRequest build()
Returns
Type Description
LookupEntityRequest

buildPartial()

public LookupEntityRequest buildPartial()
Returns
Type Description
LookupEntityRequest

clear()

public LookupEntityRequest.Builder clear()
Returns
Type Description
LookupEntityRequest.Builder
Overrides

clearLookupUri()

public LookupEntityRequest.Builder clearLookupUri()

Required. Entity uri to look up. Supported Formats: logicalProducts/{logical_product} logicalProducts/{logical_product}/variants/{variant} productSuites/{product_suite}

string lookup_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LookupEntityRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public LookupEntityRequest getDefaultInstanceForType()
Returns
Type Description
LookupEntityRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLookupUri()

public String getLookupUri()

Required. Entity uri to look up. Supported Formats: logicalProducts/{logical_product} logicalProducts/{logical_product}/variants/{variant} productSuites/{product_suite}

string lookup_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The lookupUri.

getLookupUriBytes()

public ByteString getLookupUriBytes()

Required. Entity uri to look up. Supported Formats: logicalProducts/{logical_product} logicalProducts/{logical_product}/variants/{variant} productSuites/{product_suite}

string lookup_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for lookupUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LookupEntityRequest other)

public LookupEntityRequest.Builder mergeFrom(LookupEntityRequest other)
Parameter
Name Description
other LookupEntityRequest
Returns
Type Description
LookupEntityRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupEntityRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupEntityRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LookupEntityRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LookupEntityRequest.Builder
Overrides

setLookupUri(String value)

public LookupEntityRequest.Builder setLookupUri(String value)

Required. Entity uri to look up. Supported Formats: logicalProducts/{logical_product} logicalProducts/{logical_product}/variants/{variant} productSuites/{product_suite}

string lookup_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The lookupUri to set.

Returns
Type Description
LookupEntityRequest.Builder

This builder for chaining.

setLookupUriBytes(ByteString value)

public LookupEntityRequest.Builder setLookupUriBytes(ByteString value)

Required. Entity uri to look up. Supported Formats: logicalProducts/{logical_product} logicalProducts/{logical_product}/variants/{variant} productSuites/{product_suite}

string lookup_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for lookupUri to set.

Returns
Type Description
LookupEntityRequest.Builder

This builder for chaining.