Class DeployIndexMetadata.Builder (0.40.0)

public static final class DeployIndexMetadata.Builder extends GeneratedMessage.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

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.

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

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 GeneratedMessage.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

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.

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