Class GetAttributesConfigRequest.Builder (2.25.0)

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

Request for CatalogService.GetAttributesConfig method.

Protobuf type google.cloud.retail.v2beta.GetAttributesConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetAttributesConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetAttributesConfigRequest.Builder
Overrides

build()

public GetAttributesConfigRequest build()
Returns
TypeDescription
GetAttributesConfigRequest

buildPartial()

public GetAttributesConfigRequest buildPartial()
Returns
TypeDescription
GetAttributesConfigRequest

clear()

public GetAttributesConfigRequest.Builder clear()
Returns
TypeDescription
GetAttributesConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetAttributesConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetAttributesConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetAttributesConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetAttributesConfigRequest.Builder
Overrides

clone()

public GetAttributesConfigRequest.Builder clone()
Returns
TypeDescription
GetAttributesConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public GetAttributesConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetAttributesConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetAttributesConfigRequest other)

public GetAttributesConfigRequest.Builder mergeFrom(GetAttributesConfigRequest other)
Parameter
NameDescription
otherGetAttributesConfigRequest
Returns
TypeDescription
GetAttributesConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetAttributesConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetAttributesConfigRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetAttributesConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetAttributesConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetAttributesConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetAttributesConfigRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetAttributesConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetAttributesConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetAttributesConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetAttributesConfigRequest.Builder
Overrides