Class CreateIndexEndpointMetadata.Builder (0.10.0)

public static final class CreateIndexEndpointMetadata.Builder extends GeneratedMessageV3.Builder<CreateIndexEndpointMetadata.Builder> implements CreateIndexEndpointMetadataOrBuilder

Metadata message for CreateIndexEndpoint.

Protobuf type google.cloud.visionai.v1.CreateIndexEndpointMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateIndexEndpointMetadata build()
Returns
Type Description
CreateIndexEndpointMetadata

buildPartial()

public CreateIndexEndpointMetadata buildPartial()
Returns
Type Description
CreateIndexEndpointMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperationMetadata()

public CreateIndexEndpointMetadata.Builder clearOperationMetadata()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
CreateIndexEndpointMetadata.Builder

clone()

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

getDefaultInstanceForType()

public CreateIndexEndpointMetadata getDefaultInstanceForType()
Returns
Type Description
CreateIndexEndpointMetadata

getDescriptorForType()

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

getOperationMetadata()

public OperationMetadata getOperationMetadata()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
OperationMetadata

The operationMetadata.

getOperationMetadataBuilder()

public OperationMetadata.Builder getOperationMetadataBuilder()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
OperationMetadata.Builder

getOperationMetadataOrBuilder()

public OperationMetadataOrBuilder getOperationMetadataOrBuilder()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
OperationMetadataOrBuilder

hasOperationMetadata()

public boolean hasOperationMetadata()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
boolean

Whether the operationMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateIndexEndpointMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOperationMetadata(OperationMetadata value)

public CreateIndexEndpointMetadata.Builder mergeOperationMetadata(OperationMetadata value)

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Parameter
Name Description
value OperationMetadata
Returns
Type Description
CreateIndexEndpointMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperationMetadata(OperationMetadata value)

public CreateIndexEndpointMetadata.Builder setOperationMetadata(OperationMetadata value)

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Parameter
Name Description
value OperationMetadata
Returns
Type Description
CreateIndexEndpointMetadata.Builder

setOperationMetadata(OperationMetadata.Builder builderForValue)

public CreateIndexEndpointMetadata.Builder setOperationMetadata(OperationMetadata.Builder builderForValue)

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Parameter
Name Description
builderForValue OperationMetadata.Builder
Returns
Type Description
CreateIndexEndpointMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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