Class GetProductSetRequest.Builder (3.81.0)

public static final class GetProductSetRequest.Builder extends GeneratedMessage.Builder<GetProductSetRequest.Builder> implements GetProductSetRequestOrBuilder

Request message for the GetProductSet method.

Protobuf type google.cloud.vision.v1.GetProductSetRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetProductSetRequest build()
Returns
Type Description
GetProductSetRequest

buildPartial()

public GetProductSetRequest buildPartial()
Returns
Type Description
GetProductSetRequest

clear()

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

clearName()

public GetProductSetRequest.Builder clearName()

Required. Resource name of the ProductSet to get.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetProductSetRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetProductSetRequest getDefaultInstanceForType()
Returns
Type Description
GetProductSetRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Resource name of the ProductSet to get.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the ProductSet to get.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetProductSetRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetProductSetRequest.Builder setName(String value)

Required. Resource name of the ProductSet to get.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetProductSetRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetProductSetRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the ProductSet to get.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetProductSetRequest.Builder

This builder for chaining.