Class UndeployIndexMetadata.Builder (0.9.0)

public static final class UndeployIndexMetadata.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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