Class UploadAssetMetadata.Builder (0.40.0)

public static final class UploadAssetMetadata.Builder extends GeneratedMessage.Builder<UploadAssetMetadata.Builder> implements UploadAssetMetadataOrBuilder

Metadata for UploadAsset.

Protobuf type google.cloud.visionai.v1.UploadAssetMetadata

Static Methods

getDescriptor()

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

Methods

build()

public UploadAssetMetadata build()
Returns
Type Description
UploadAssetMetadata

buildPartial()

public UploadAssetMetadata buildPartial()
Returns
Type Description
UploadAssetMetadata

clear()

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

clearStartTime()

public UploadAssetMetadata.Builder clearStartTime()

The start time of the operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
UploadAssetMetadata.Builder

clearUpdateTime()

public UploadAssetMetadata.Builder clearUpdateTime()

The update time of the operation.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
UploadAssetMetadata.Builder

getDefaultInstanceForType()

public UploadAssetMetadata getDefaultInstanceForType()
Returns
Type Description
UploadAssetMetadata

getDescriptorForType()

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

getStartTime()

public Timestamp getStartTime()

The start time of the operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The start time of the operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The start time of the operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

The update time of the operation.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The update time of the operation.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The update time of the operation.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

The start time of the operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

The update time of the operation.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UploadAssetMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public UploadAssetMetadata.Builder mergeStartTime(Timestamp value)

The start time of the operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
UploadAssetMetadata.Builder

mergeUpdateTime(Timestamp value)

public UploadAssetMetadata.Builder mergeUpdateTime(Timestamp value)

The update time of the operation.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
UploadAssetMetadata.Builder

setStartTime(Timestamp value)

public UploadAssetMetadata.Builder setStartTime(Timestamp value)

The start time of the operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
UploadAssetMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public UploadAssetMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The start time of the operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UploadAssetMetadata.Builder

setUpdateTime(Timestamp value)

public UploadAssetMetadata.Builder setUpdateTime(Timestamp value)

The update time of the operation.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
UploadAssetMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public UploadAssetMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)

The update time of the operation.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UploadAssetMetadata.Builder