Class DeployIndexMetadata.Builder (0.12.0)

public static final class DeployIndexMetadata.Builder extends GeneratedMessageV3.Builder<DeployIndexMetadata.Builder> implements DeployIndexMetadataOrBuilder

Metadata message for DeployIndex.

Protobuf type google.cloud.visionai.v1.DeployIndexMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployIndexMetadata build()
Returns
Type Description
DeployIndexMetadata

buildPartial()

public DeployIndexMetadata buildPartial()
Returns
Type Description
DeployIndexMetadata

clear()

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

clearDeployedIndex()

public DeployIndexMetadata.Builder clearDeployedIndex()

Output only. The index being deployed.

string deployed_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeployIndexMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperationMetadata()

public DeployIndexMetadata.Builder clearOperationMetadata()

Common metadata of the long-running operation.

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

Returns
Type Description
DeployIndexMetadata.Builder

clone()

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

getDefaultInstanceForType()

public DeployIndexMetadata getDefaultInstanceForType()
Returns
Type Description
DeployIndexMetadata

getDeployedIndex()

public String getDeployedIndex()

Output only. The index being deployed.

string deployed_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The deployedIndex.

getDeployedIndexBytes()

public ByteString getDeployedIndexBytes()

Output only. The index being deployed.

string deployed_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for deployedIndex.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOperationMetadata(OperationMetadata value)

public DeployIndexMetadata.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
DeployIndexMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeployedIndex(String value)

public DeployIndexMetadata.Builder setDeployedIndex(String value)

Output only. The index being deployed.

string deployed_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The deployedIndex to set.

Returns
Type Description
DeployIndexMetadata.Builder

This builder for chaining.

setDeployedIndexBytes(ByteString value)

public DeployIndexMetadata.Builder setDeployedIndexBytes(ByteString value)

Output only. The index being deployed.

string deployed_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for deployedIndex to set.

Returns
Type Description
DeployIndexMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperationMetadata(OperationMetadata value)

public DeployIndexMetadata.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
DeployIndexMetadata.Builder

setOperationMetadata(OperationMetadata.Builder builderForValue)

public DeployIndexMetadata.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
DeployIndexMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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