public static final class ImportCompletionSuggestionsMetadata.Builder extends GeneratedMessageV3.Builder<ImportCompletionSuggestionsMetadata.Builder> implements ImportCompletionSuggestionsMetadataOrBuilder
Metadata related to the progress of the ImportCompletionSuggestions
operation. This will be returned by the google.longrunning.Operation.metadata
field.
Protobuf type google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ImportCompletionSuggestionsMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportCompletionSuggestionsMetadata build()
public ImportCompletionSuggestionsMetadata buildPartial()
public ImportCompletionSuggestionsMetadata.Builder clear()
Overrides
public ImportCompletionSuggestionsMetadata.Builder clearCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
public ImportCompletionSuggestionsMetadata.Builder clearFailureCount()
Count of
CompletionSuggestions
that failed to be imported.
int64 failure_count = 4;
public ImportCompletionSuggestionsMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImportCompletionSuggestionsMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ImportCompletionSuggestionsMetadata.Builder clearSuccessCount()
Count of
CompletionSuggestions
successfully imported.
int64 success_count = 3;
public ImportCompletionSuggestionsMetadata.Builder clearUpdateTime()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
public ImportCompletionSuggestionsMetadata.Builder clone()
Overrides
public Timestamp getCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns |
Type |
Description |
Timestamp |
The createTime.
|
public Timestamp.Builder getCreateTimeBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
public TimestampOrBuilder getCreateTimeOrBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
public ImportCompletionSuggestionsMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public long getFailureCount()
Count of
CompletionSuggestions
that failed to be imported.
int64 failure_count = 4;
Returns |
Type |
Description |
long |
The failureCount.
|
public long getSuccessCount()
Count of
CompletionSuggestions
successfully imported.
int64 success_count = 3;
Returns |
Type |
Description |
long |
The successCount.
|
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.
|
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;
public TimestampOrBuilder getUpdateTimeOrBuilder()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
public boolean hasCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportCompletionSuggestionsMetadata.Builder mergeCreateTime(Timestamp value)
Operation create time.
.google.protobuf.Timestamp create_time = 1;
public ImportCompletionSuggestionsMetadata.Builder mergeFrom(ImportCompletionSuggestionsMetadata other)
public ImportCompletionSuggestionsMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportCompletionSuggestionsMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ImportCompletionSuggestionsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportCompletionSuggestionsMetadata.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;
public ImportCompletionSuggestionsMetadata.Builder setCreateTime(Timestamp value)
Operation create time.
.google.protobuf.Timestamp create_time = 1;
public ImportCompletionSuggestionsMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Parameter |
Name |
Description |
builderForValue |
Builder
|
public ImportCompletionSuggestionsMetadata.Builder setFailureCount(long value)
Count of
CompletionSuggestions
that failed to be imported.
int64 failure_count = 4;
Parameter |
Name |
Description |
value |
long
The failureCount to set.
|
public ImportCompletionSuggestionsMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportCompletionSuggestionsMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ImportCompletionSuggestionsMetadata.Builder setSuccessCount(long value)
Count of
CompletionSuggestions
successfully imported.
int64 success_count = 3;
Parameter |
Name |
Description |
value |
long
The successCount to set.
|
public final ImportCompletionSuggestionsMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportCompletionSuggestionsMetadata.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;
public ImportCompletionSuggestionsMetadata.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
|