Class CreateDataStoreMetadata.Builder (0.31.0)

public static final class CreateDataStoreMetadata.Builder extends GeneratedMessageV3.Builder<CreateDataStoreMetadata.Builder> implements CreateDataStoreMetadataOrBuilder

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

Protobuf type google.cloud.discoveryengine.v1.CreateDataStoreMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDataStoreMetadata build()
Returns
TypeDescription
CreateDataStoreMetadata

buildPartial()

public CreateDataStoreMetadata buildPartial()
Returns
TypeDescription
CreateDataStoreMetadata

clear()

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

clearCreateTime()

public CreateDataStoreMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
CreateDataStoreMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateTime()

public CreateDataStoreMetadata.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
CreateDataStoreMetadata.Builder

clone()

public CreateDataStoreMetadata.Builder clone()
Returns
TypeDescription
CreateDataStoreMetadata.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 CreateDataStoreMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateDataStoreMetadata

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 CreateDataStoreMetadata.Builder mergeCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateDataStoreMetadata.Builder

mergeFrom(CreateDataStoreMetadata other)

public CreateDataStoreMetadata.Builder mergeFrom(CreateDataStoreMetadata other)
Parameter
NameDescription
otherCreateDataStoreMetadata
Returns
TypeDescription
CreateDataStoreMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public CreateDataStoreMetadata.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
CreateDataStoreMetadata.Builder

setCreateTime(Timestamp value)

public CreateDataStoreMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateDataStoreMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CreateDataStoreMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateDataStoreMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public CreateDataStoreMetadata.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
CreateDataStoreMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public CreateDataStoreMetadata.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
CreateDataStoreMetadata.Builder