Class ExportMetadata.Builder (2.2.3)

public static final class ExportMetadata.Builder extends GeneratedMessageV3.Builder<ExportMetadata.Builder> implements ExportMetadataOrBuilder

Metadata related to the progress of the Export operation. This will be returned by the google.longrunning.Operation.metadata field.

Protobuf type google.cloud.retail.v2beta.ExportMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportMetadata.Builder
Overrides

build()

public ExportMetadata build()
Returns
TypeDescription
ExportMetadata

buildPartial()

public ExportMetadata buildPartial()
Returns
TypeDescription
ExportMetadata

clear()

public ExportMetadata.Builder clear()
Returns
TypeDescription
ExportMetadata.Builder
Overrides

clearCreateTime()

public ExportMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
ExportMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public ExportMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExportMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExportMetadata.Builder
Overrides

clearUpdateTime()

public ExportMetadata.Builder clearUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
ExportMetadata.Builder

clone()

public ExportMetadata.Builder clone()
Returns
TypeDescription
ExportMetadata.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ExportMetadata getDefaultInstanceForType()
Returns
TypeDescription
ExportMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public ExportMetadata.Builder mergeCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExportMetadata.Builder

mergeFrom(ExportMetadata other)

public ExportMetadata.Builder mergeFrom(ExportMetadata other)
Parameter
NameDescription
otherExportMetadata
Returns
TypeDescription
ExportMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExportMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportMetadata.Builder
Overrides

mergeUpdateTime(Timestamp value)

public ExportMetadata.Builder mergeUpdateTime(Timestamp value)

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExportMetadata.Builder

setCreateTime(Timestamp value)

public ExportMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExportMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ExportMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ExportMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExportMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportMetadata.Builder
Overrides

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

public ExportMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportMetadata.Builder
Overrides

setUpdateTime(Timestamp value)

public ExportMetadata.Builder setUpdateTime(Timestamp value)

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExportMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ExportMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ExportMetadata.Builder