Class DeleteTargetSiteMetadata.Builder (0.81.0)

public static final class DeleteTargetSiteMetadata.Builder extends GeneratedMessage.Builder<DeleteTargetSiteMetadata.Builder> implements DeleteTargetSiteMetadataOrBuilder

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

Protobuf type google.cloud.discoveryengine.v1.DeleteTargetSiteMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DeleteTargetSiteMetadata build()
Returns
Type Description
DeleteTargetSiteMetadata

buildPartial()

public DeleteTargetSiteMetadata buildPartial()
Returns
Type Description
DeleteTargetSiteMetadata

clear()

public DeleteTargetSiteMetadata.Builder clear()
Returns
Type Description
DeleteTargetSiteMetadata.Builder
Overrides

clearCreateTime()

public DeleteTargetSiteMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
DeleteTargetSiteMetadata.Builder

clearUpdateTime()

public DeleteTargetSiteMetadata.Builder clearUpdateTime()

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

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
DeleteTargetSiteMetadata.Builder

getCreateTime()

public Timestamp getCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DeleteTargetSiteMetadata getDefaultInstanceForType()
Returns
Type Description
DeleteTargetSiteMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public DeleteTargetSiteMetadata.Builder mergeCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
DeleteTargetSiteMetadata.Builder

mergeFrom(DeleteTargetSiteMetadata other)

public DeleteTargetSiteMetadata.Builder mergeFrom(DeleteTargetSiteMetadata other)
Parameter
Name Description
other DeleteTargetSiteMetadata
Returns
Type Description
DeleteTargetSiteMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteTargetSiteMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteTargetSiteMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteTargetSiteMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteTargetSiteMetadata.Builder
Overrides

mergeUpdateTime(Timestamp value)

public DeleteTargetSiteMetadata.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
Name Description
value Timestamp
Returns
Type Description
DeleteTargetSiteMetadata.Builder

setCreateTime(Timestamp value)

public DeleteTargetSiteMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
DeleteTargetSiteMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public DeleteTargetSiteMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DeleteTargetSiteMetadata.Builder

setUpdateTime(Timestamp value)

public DeleteTargetSiteMetadata.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
Name Description
value Timestamp
Returns
Type Description
DeleteTargetSiteMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public DeleteTargetSiteMetadata.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
Type Description
DeleteTargetSiteMetadata.Builder