Class UploadAssetMetadata.Builder (0.9.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UploadAssetMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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