Class GetAnnotationSpecSetRequest.Builder (0.162.0)

public static final class GetAnnotationSpecSetRequest.Builder extends GeneratedMessageV3.Builder<GetAnnotationSpecSetRequest.Builder> implements GetAnnotationSpecSetRequestOrBuilder

Request message for GetAnnotationSpecSet.

Protobuf type google.cloud.datalabeling.v1beta1.GetAnnotationSpecSetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAnnotationSpecSetRequest build()
Returns
Type Description
GetAnnotationSpecSetRequest

buildPartial()

public GetAnnotationSpecSetRequest buildPartial()
Returns
Type Description
GetAnnotationSpecSetRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetAnnotationSpecSetRequest.Builder clearName()

Required. AnnotationSpecSet resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}

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

Returns
Type Description
GetAnnotationSpecSetRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetAnnotationSpecSetRequest getDefaultInstanceForType()
Returns
Type Description
GetAnnotationSpecSetRequest

getDescriptorForType()

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

getName()

public String getName()

Required. AnnotationSpecSet resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_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. AnnotationSpecSet resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_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(GetAnnotationSpecSetRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetAnnotationSpecSetRequest.Builder setName(String value)

Required. AnnotationSpecSet resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_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
GetAnnotationSpecSetRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAnnotationSpecSetRequest.Builder setNameBytes(ByteString value)

Required. AnnotationSpecSet resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_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
GetAnnotationSpecSetRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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