Class UndeployIndexMetadata.Builder (0.40.0)

public static final class UndeployIndexMetadata.Builder extends GeneratedMessage.Builder<UndeployIndexMetadata.Builder> implements UndeployIndexMetadataOrBuilder

Metadata message for UndeployIndex.

Protobuf type google.cloud.visionai.v1.UndeployIndexMetadata

Static Methods

getDescriptor()

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

Methods

build()

public UndeployIndexMetadata build()
Returns
Type Description
UndeployIndexMetadata

buildPartial()

public UndeployIndexMetadata buildPartial()
Returns
Type Description
UndeployIndexMetadata

clear()

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

clearDeployedIndex()

public UndeployIndexMetadata.Builder clearDeployedIndex()

Output only. The index being undeployed.

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

Returns
Type Description
UndeployIndexMetadata.Builder

This builder for chaining.

clearOperationMetadata()

public UndeployIndexMetadata.Builder clearOperationMetadata()

Common metadata of the long-running operation.

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

Returns
Type Description
UndeployIndexMetadata.Builder

getDefaultInstanceForType()

public UndeployIndexMetadata getDefaultInstanceForType()
Returns
Type Description
UndeployIndexMetadata

getDeployedIndex()

public String getDeployedIndex()

Output only. The index being undeployed.

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOperationMetadata(OperationMetadata value)

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

setDeployedIndex(String value)

public UndeployIndexMetadata.Builder setDeployedIndex(String value)

Output only. The index being undeployed.

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
UndeployIndexMetadata.Builder

This builder for chaining.

setDeployedIndexBytes(ByteString value)

public UndeployIndexMetadata.Builder setDeployedIndexBytes(ByteString value)

Output only. The index being undeployed.

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
UndeployIndexMetadata.Builder

This builder for chaining.

setOperationMetadata(OperationMetadata value)

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

setOperationMetadata(OperationMetadata.Builder builderForValue)

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