Class ImportAssetsMetadata.Builder (0.8.0)

public static final class ImportAssetsMetadata.Builder extends GeneratedMessageV3.Builder<ImportAssetsMetadata.Builder> implements ImportAssetsMetadataOrBuilder

The metadata message for ImportAssets LRO.

Protobuf type google.cloud.visionai.v1.ImportAssetsMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportAssetsMetadata build()
Returns
Type Description
ImportAssetsMetadata

buildPartial()

public ImportAssetsMetadata buildPartial()
Returns
Type Description
ImportAssetsMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public ImportAssetsMetadata.Builder clearMetadata()

The metadata of the operation.

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

Returns
Type Description
ImportAssetsMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatus()

public ImportAssetsMetadata.Builder clearStatus()

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Returns
Type Description
ImportAssetsMetadata.Builder

clone()

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

getDefaultInstanceForType()

public ImportAssetsMetadata getDefaultInstanceForType()
Returns
Type Description
ImportAssetsMetadata

getDescriptorForType()

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

getMetadata()

public OperationMetadata getMetadata()

The metadata of the operation.

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

Returns
Type Description
OperationMetadata

The metadata.

getMetadataBuilder()

public OperationMetadata.Builder getMetadataBuilder()

The metadata of the operation.

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

Returns
Type Description
OperationMetadata.Builder

getMetadataOrBuilder()

public OperationMetadataOrBuilder getMetadataOrBuilder()

The metadata of the operation.

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

Returns
Type Description
OperationMetadataOrBuilder

getStatus()

public BatchOperationStatus getStatus()

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Returns
Type Description
BatchOperationStatus

The status.

getStatusBuilder()

public BatchOperationStatus.Builder getStatusBuilder()

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Returns
Type Description
BatchOperationStatus.Builder

getStatusOrBuilder()

public BatchOperationStatusOrBuilder getStatusOrBuilder()

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Returns
Type Description
BatchOperationStatusOrBuilder

hasMetadata()

public boolean hasMetadata()

The metadata of the operation.

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

Returns
Type Description
boolean

Whether the metadata field is set.

hasStatus()

public boolean hasStatus()

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportAssetsMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(OperationMetadata value)

public ImportAssetsMetadata.Builder mergeMetadata(OperationMetadata value)

The metadata of the operation.

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

Parameter
Name Description
value OperationMetadata
Returns
Type Description
ImportAssetsMetadata.Builder

mergeStatus(BatchOperationStatus value)

public ImportAssetsMetadata.Builder mergeStatus(BatchOperationStatus value)

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Parameter
Name Description
value BatchOperationStatus
Returns
Type Description
ImportAssetsMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(OperationMetadata value)

public ImportAssetsMetadata.Builder setMetadata(OperationMetadata value)

The metadata of the operation.

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

Parameter
Name Description
value OperationMetadata
Returns
Type Description
ImportAssetsMetadata.Builder

setMetadata(OperationMetadata.Builder builderForValue)

public ImportAssetsMetadata.Builder setMetadata(OperationMetadata.Builder builderForValue)

The metadata of the operation.

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

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

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

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

setStatus(BatchOperationStatus value)

public ImportAssetsMetadata.Builder setStatus(BatchOperationStatus value)

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Parameter
Name Description
value BatchOperationStatus
Returns
Type Description
ImportAssetsMetadata.Builder

setStatus(BatchOperationStatus.Builder builderForValue)

public ImportAssetsMetadata.Builder setStatus(BatchOperationStatus.Builder builderForValue)

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Parameter
Name Description
builderForValue BatchOperationStatus.Builder
Returns
Type Description
ImportAssetsMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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