Class ImportSampleQueriesMetadata.Builder (0.51.0)

public static final class ImportSampleQueriesMetadata.Builder extends GeneratedMessageV3.Builder<ImportSampleQueriesMetadata.Builder> implements ImportSampleQueriesMetadataOrBuilder

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

Protobuf type google.cloud.discoveryengine.v1beta.ImportSampleQueriesMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportSampleQueriesMetadata build()
Returns
Type Description
ImportSampleQueriesMetadata

buildPartial()

public ImportSampleQueriesMetadata buildPartial()
Returns
Type Description
ImportSampleQueriesMetadata

clear()

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

clearCreateTime()

public ImportSampleQueriesMetadata.Builder clearCreateTime()

ImportSampleQueries operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
ImportSampleQueriesMetadata.Builder

clearFailureCount()

public ImportSampleQueriesMetadata.Builder clearFailureCount()

Count of SampleQuerys that failed to be imported.

int64 failure_count = 4;

Returns
Type Description
ImportSampleQueriesMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSuccessCount()

public ImportSampleQueriesMetadata.Builder clearSuccessCount()

Count of SampleQuerys successfully imported.

int64 success_count = 3;

Returns
Type Description
ImportSampleQueriesMetadata.Builder

This builder for chaining.

clearTotalCount()

public ImportSampleQueriesMetadata.Builder clearTotalCount()

Total count of SampleQuerys that were processed.

int64 total_count = 5;

Returns
Type Description
ImportSampleQueriesMetadata.Builder

This builder for chaining.

clearUpdateTime()

public ImportSampleQueriesMetadata.Builder clearUpdateTime()

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

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
ImportSampleQueriesMetadata.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

ImportSampleQueries operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

ImportSampleQueries operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

ImportSampleQueries operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ImportSampleQueriesMetadata getDefaultInstanceForType()
Returns
Type Description
ImportSampleQueriesMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFailureCount()

public long getFailureCount()

Count of SampleQuerys that failed to be imported.

int64 failure_count = 4;

Returns
Type Description
long

The failureCount.

getSuccessCount()

public long getSuccessCount()

Count of SampleQuerys successfully imported.

int64 success_count = 3;

Returns
Type Description
long

The successCount.

getTotalCount()

public long getTotalCount()

Total count of SampleQuerys that were processed.

int64 total_count = 5;

Returns
Type Description
long

The totalCount.

getUpdateTime()

public Timestamp getUpdateTime()

ImportSampleQueries 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()

ImportSampleQueries 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()

ImportSampleQueries 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()

ImportSampleQueries operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

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

ImportSampleQueries operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportSampleQueriesMetadata.Builder

mergeFrom(ImportSampleQueriesMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public ImportSampleQueriesMetadata.Builder mergeUpdateTime(Timestamp value)

ImportSampleQueries 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
ImportSampleQueriesMetadata.Builder

setCreateTime(Timestamp value)

public ImportSampleQueriesMetadata.Builder setCreateTime(Timestamp value)

ImportSampleQueries operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportSampleQueriesMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ImportSampleQueriesMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

ImportSampleQueries operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportSampleQueriesMetadata.Builder

setFailureCount(long value)

public ImportSampleQueriesMetadata.Builder setFailureCount(long value)

Count of SampleQuerys that failed to be imported.

int64 failure_count = 4;

Parameter
Name Description
value long

The failureCount to set.

Returns
Type Description
ImportSampleQueriesMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSuccessCount(long value)

public ImportSampleQueriesMetadata.Builder setSuccessCount(long value)

Count of SampleQuerys successfully imported.

int64 success_count = 3;

Parameter
Name Description
value long

The successCount to set.

Returns
Type Description
ImportSampleQueriesMetadata.Builder

This builder for chaining.

setTotalCount(long value)

public ImportSampleQueriesMetadata.Builder setTotalCount(long value)

Total count of SampleQuerys that were processed.

int64 total_count = 5;

Parameter
Name Description
value long

The totalCount to set.

Returns
Type Description
ImportSampleQueriesMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public ImportSampleQueriesMetadata.Builder setUpdateTime(Timestamp value)

ImportSampleQueries 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
ImportSampleQueriesMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ImportSampleQueriesMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)

ImportSampleQueries 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
ImportSampleQueriesMetadata.Builder