Class GetAnnotationSpecSetRequest.Builder (0.151.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAnnotationSpecSetRequest build()
Returns
TypeDescription
GetAnnotationSpecSetRequest

buildPartial()

public GetAnnotationSpecSetRequest buildPartial()
Returns
TypeDescription
GetAnnotationSpecSetRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetAnnotationSpecSetRequest getDefaultInstanceForType()
Returns
TypeDescription
GetAnnotationSpecSetRequest

getDescriptorForType()

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

public GetAnnotationSpecSetRequest.Builder mergeFrom(GetAnnotationSpecSetRequest other)
Parameter
NameDescription
otherGetAnnotationSpecSetRequest
Returns
TypeDescription
GetAnnotationSpecSetRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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