Class EnableAdvancedSiteSearchMetadata.Builder (0.40.0)

public static final class EnableAdvancedSiteSearchMetadata.Builder extends GeneratedMessageV3.Builder<EnableAdvancedSiteSearchMetadata.Builder> implements EnableAdvancedSiteSearchMetadataOrBuilder

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

Protobuf type google.cloud.discoveryengine.v1beta.EnableAdvancedSiteSearchMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EnableAdvancedSiteSearchMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder
Overrides

build()

public EnableAdvancedSiteSearchMetadata build()
Returns
Type Description
EnableAdvancedSiteSearchMetadata

buildPartial()

public EnableAdvancedSiteSearchMetadata buildPartial()
Returns
Type Description
EnableAdvancedSiteSearchMetadata

clear()

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

clearCreateTime()

public EnableAdvancedSiteSearchMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public EnableAdvancedSiteSearchMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EnableAdvancedSiteSearchMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder
Overrides

clearUpdateTime()

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

clone()

public EnableAdvancedSiteSearchMetadata.Builder clone()
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder
Overrides

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 EnableAdvancedSiteSearchMetadata getDefaultInstanceForType()
Returns
Type Description
EnableAdvancedSiteSearchMetadata

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public EnableAdvancedSiteSearchMetadata.Builder mergeCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder

mergeFrom(EnableAdvancedSiteSearchMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EnableAdvancedSiteSearchMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder
Overrides

mergeUpdateTime(Timestamp value)

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

setCreateTime(Timestamp value)

public EnableAdvancedSiteSearchMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public EnableAdvancedSiteSearchMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EnableAdvancedSiteSearchMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder
Overrides

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

public EnableAdvancedSiteSearchMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EnableAdvancedSiteSearchMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EnableAdvancedSiteSearchMetadata.Builder
Overrides

setUpdateTime(Timestamp value)

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

setUpdateTime(Timestamp.Builder builderForValue)

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