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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ExportMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ExportMetadata build()
Returns
public ExportMetadata buildPartial()
Returns
public ExportMetadata.Builder clear()
Returns
Overrides
public ExportMetadata.Builder clearCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
public ExportMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ExportMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public ExportMetadata.Builder clone()
Returns
Overrides
public Timestamp getCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
public Timestamp.Builder getCreateTimeBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
public ExportMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
public boolean hasCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
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
Type | Description |
boolean | Whether the updateTime field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ExportMetadata.Builder mergeCreateTime(Timestamp value)
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Parameter
Returns
public ExportMetadata.Builder mergeFrom(ExportMetadata other)
Parameter
Returns
public ExportMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ExportMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ExportMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
public ExportMetadata.Builder setCreateTime(Timestamp value)
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Parameter
Returns
public ExportMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public ExportMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ExportMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ExportMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Name | Description |
builderForValue | Builder
|
Returns