Class GetProductSetRequest.Builder (3.43.0)

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

Request message for the GetProductSet method.

Protobuf type google.cloud.vision.v1p3beta1.GetProductSetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetProductSetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetProductSetRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public GetProductSetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetProductSetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetProductSetRequest.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetProductSetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetProductSetRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetProductSetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetProductSetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetProductSetRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetProductSetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetProductSetRequest.Builder
Overrides