Class ImportMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportMetadata.Builder>
com.google.cloud.recommendationengine.v1beta1.ImportMetadata.Builder
- All Implemented Interfaces:
ImportMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportMetadata
public static final class ImportMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImportMetadata.Builder>
implements ImportMetadataOrBuilder
Metadata related to the progress of the Import operation. This will be returned by the google.longrunning.Operation.metadata field.Protobuf type
google.cloud.recommendationengine.v1beta1.ImportMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Operation create time.Count of entries that encountered errors while processing.Name of the operation.Id of the request / operation.Count of entries that were processed successfully.Operation last update time.com.google.protobuf.TimestampOperation create time.com.google.protobuf.Timestamp.BuilderOperation create time.com.google.protobuf.TimestampOrBuilderOperation create time.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongCount of entries that encountered errors while processing.Name of the operation.com.google.protobuf.ByteStringName of the operation.Id of the request / operation.com.google.protobuf.ByteStringId of the request / operation.longCount of entries that were processed successfully.com.google.protobuf.TimestampOperation last update time.com.google.protobuf.Timestamp.BuilderOperation last update time.com.google.protobuf.TimestampOrBuilderOperation last update time.booleanOperation create time.booleanOperation last update time.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Operation create time.mergeFrom(ImportMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Operation last update time.setCreateTime(com.google.protobuf.Timestamp value) Operation create time.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Operation create time.setFailureCount(long value) Count of entries that encountered errors while processing.setOperationName(String value) Name of the operation.setOperationNameBytes(com.google.protobuf.ByteString value) Name of the operation.setRequestId(String value) Id of the request / operation.setRequestIdBytes(com.google.protobuf.ByteString value) Id of the request / operation.setSuccessCount(long value) Count of entries that were processed successfully.setUpdateTime(com.google.protobuf.Timestamp value) Operation last update time.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Operation last update time.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ImportMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportMetadata.Builder>
-
mergeFrom
public ImportMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportMetadata.Builder>- Throws:
IOException
-
getOperationName
Name of the operation.
string operation_name = 5;- Specified by:
getOperationNamein interfaceImportMetadataOrBuilder- Returns:
- The operationName.
-
getOperationNameBytes
public com.google.protobuf.ByteString getOperationNameBytes()Name of the operation.
string operation_name = 5;- Specified by:
getOperationNameBytesin interfaceImportMetadataOrBuilder- Returns:
- The bytes for operationName.
-
setOperationName
Name of the operation.
string operation_name = 5;- Parameters:
value- The operationName to set.- Returns:
- This builder for chaining.
-
clearOperationName
Name of the operation.
string operation_name = 5;- Returns:
- This builder for chaining.
-
setOperationNameBytes
Name of the operation.
string operation_name = 5;- Parameters:
value- The bytes for operationName to set.- Returns:
- This builder for chaining.
-
getRequestId
Id of the request / operation. This is parroting back the requestId that was passed in the request.
string request_id = 3;- Specified by:
getRequestIdin interfaceImportMetadataOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Id of the request / operation. This is parroting back the requestId that was passed in the request.
string request_id = 3;- Specified by:
getRequestIdBytesin interfaceImportMetadataOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
Id of the request / operation. This is parroting back the requestId that was passed in the request.
string request_id = 3;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
Id of the request / operation. This is parroting back the requestId that was passed in the request.
string request_id = 3;- Returns:
- This builder for chaining.
-
setRequestIdBytes
Id of the request / operation. This is parroting back the requestId that was passed in the request.
string request_id = 3;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Operation create time.
.google.protobuf.Timestamp create_time = 4;- Specified by:
hasCreateTimein interfaceImportMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Operation create time.
.google.protobuf.Timestamp create_time = 4;- Specified by:
getCreateTimein interfaceImportMetadataOrBuilder- Returns:
- The createTime.
-
setCreateTime
Operation create time.
.google.protobuf.Timestamp create_time = 4; -
setCreateTime
Operation create time.
.google.protobuf.Timestamp create_time = 4; -
mergeCreateTime
Operation create time.
.google.protobuf.Timestamp create_time = 4; -
clearCreateTime
Operation create time.
.google.protobuf.Timestamp create_time = 4; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Operation create time.
.google.protobuf.Timestamp create_time = 4; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Operation create time.
.google.protobuf.Timestamp create_time = 4;- Specified by:
getCreateTimeOrBuilderin interfaceImportMetadataOrBuilder
-
getSuccessCount
public long getSuccessCount()Count of entries that were processed successfully.
int64 success_count = 1;- Specified by:
getSuccessCountin interfaceImportMetadataOrBuilder- Returns:
- The successCount.
-
setSuccessCount
Count of entries that were processed successfully.
int64 success_count = 1;- Parameters:
value- The successCount to set.- Returns:
- This builder for chaining.
-
clearSuccessCount
Count of entries that were processed successfully.
int64 success_count = 1;- Returns:
- This builder for chaining.
-
getFailureCount
public long getFailureCount()Count of entries that encountered errors while processing.
int64 failure_count = 2;- Specified by:
getFailureCountin interfaceImportMetadataOrBuilder- Returns:
- The failureCount.
-
setFailureCount
Count of entries that encountered errors while processing.
int64 failure_count = 2;- Parameters:
value- The failureCount to set.- Returns:
- This builder for chaining.
-
clearFailureCount
Count of entries that encountered errors while processing.
int64 failure_count = 2;- Returns:
- This builder for chaining.
-
hasUpdateTime
public boolean hasUpdateTime()Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 6;- Specified by:
hasUpdateTimein interfaceImportMetadataOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 6;- Specified by:
getUpdateTimein interfaceImportMetadataOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 6; -
setUpdateTime
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 6; -
mergeUpdateTime
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 6; -
clearUpdateTime
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 6; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 6; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 6;- Specified by:
getUpdateTimeOrBuilderin interfaceImportMetadataOrBuilder
-