Class GetAttributesConfigRequest.Builder (2.53.0)

public static final class GetAttributesConfigRequest.Builder extends GeneratedMessageV3.Builder<GetAttributesConfigRequest.Builder> implements GetAttributesConfigRequestOrBuilder

Request for CatalogService.GetAttributesConfig method.

Protobuf type google.cloud.retail.v2.GetAttributesConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAttributesConfigRequest build()
Returns
Type Description
GetAttributesConfigRequest

buildPartial()

public GetAttributesConfigRequest buildPartial()
Returns
Type Description
GetAttributesConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetAttributesConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetAttributesConfigRequest.Builder
Overrides

clearName()

public GetAttributesConfigRequest.Builder clearName()

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

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

Returns
Type Description
GetAttributesConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetAttributesConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetAttributesConfigRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

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(GetAttributesConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetAttributesConfigRequest.Builder setName(String value)

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetAttributesConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAttributesConfigRequest.Builder setNameBytes(ByteString value)

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

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
GetAttributesConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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