Class UpdateSchemaMetadata.Builder (0.24.0)

public static final class UpdateSchemaMetadata.Builder extends GeneratedMessageV3.Builder<UpdateSchemaMetadata.Builder> implements UpdateSchemaMetadataOrBuilder

Metadata for UpdateSchema LRO.

Protobuf type google.cloud.discoveryengine.v1.UpdateSchemaMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateSchemaMetadata build()
Returns
TypeDescription
UpdateSchemaMetadata

buildPartial()

public UpdateSchemaMetadata buildPartial()
Returns
TypeDescription
UpdateSchemaMetadata

clear()

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

clearCreateTime()

public UpdateSchemaMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
UpdateSchemaMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateTime()

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

clone()

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

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

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
UpdateSchemaMetadata.Builder

mergeFrom(UpdateSchemaMetadata other)

public UpdateSchemaMetadata.Builder mergeFrom(UpdateSchemaMetadata other)
Parameter
NameDescription
otherUpdateSchemaMetadata
Returns
TypeDescription
UpdateSchemaMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

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

setCreateTime(Timestamp value)

public UpdateSchemaMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
UpdateSchemaMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public UpdateSchemaMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateSchemaMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

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

setUpdateTime(Timestamp.Builder builderForValue)

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