Class BatchUpdateUserLicensesMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchUpdateUserLicensesMetadata.Builder>
com.google.cloud.discoveryengine.v1.BatchUpdateUserLicensesMetadata.Builder
- All Implemented Interfaces:
BatchUpdateUserLicensesMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchUpdateUserLicensesMetadata
public static final class BatchUpdateUserLicensesMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchUpdateUserLicensesMetadata.Builder>
implements BatchUpdateUserLicensesMetadataOrBuilder
Metadata related to the progress of the [UserLicenseService.BatchUpdateUserLicenses][google.cloud.discoveryengine.v1.UserLicenseService.BatchUpdateUserLicenses] operation. This will be returned by the google.longrunning.Operation.metadata field.Protobuf type
google.cloud.discoveryengine.v1.BatchUpdateUserLicensesMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Operation create time.Count of user licenses that failed to be updated.Count of user licenses successfully updated.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 user licenses that failed to be updated.longCount of user licenses successfully updated.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(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 user licenses that failed to be updated.setSuccessCount(long value) Count of user licenses successfully updated.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<BatchUpdateUserLicensesMetadata.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<BatchUpdateUserLicensesMetadata.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<BatchUpdateUserLicensesMetadata.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<BatchUpdateUserLicensesMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchUpdateUserLicensesMetadata.Builder>
-
mergeFrom
public BatchUpdateUserLicensesMetadata.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<BatchUpdateUserLicensesMetadata.Builder>- Throws:
IOException
-
hasCreateTime
public boolean hasCreateTime()Operation create time.
.google.protobuf.Timestamp create_time = 1;- Specified by:
hasCreateTimein interfaceBatchUpdateUserLicensesMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Operation create time.
.google.protobuf.Timestamp create_time = 1;- Specified by:
getCreateTimein interfaceBatchUpdateUserLicensesMetadataOrBuilder- Returns:
- The createTime.
-
setCreateTime
Operation create time.
.google.protobuf.Timestamp create_time = 1; -
setCreateTime
public BatchUpdateUserLicensesMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Operation create time.
.google.protobuf.Timestamp create_time = 1; -
mergeCreateTime
Operation create time.
.google.protobuf.Timestamp create_time = 1; -
clearCreateTime
Operation create time.
.google.protobuf.Timestamp create_time = 1; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Operation create time.
.google.protobuf.Timestamp create_time = 1; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Operation create time.
.google.protobuf.Timestamp create_time = 1;- Specified by:
getCreateTimeOrBuilderin interfaceBatchUpdateUserLicensesMetadataOrBuilder
-
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;- Specified by:
hasUpdateTimein interfaceBatchUpdateUserLicensesMetadataOrBuilder- 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 = 2;- Specified by:
getUpdateTimein interfaceBatchUpdateUserLicensesMetadataOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2; -
setUpdateTime
public BatchUpdateUserLicensesMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2; -
mergeUpdateTime
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2; -
clearUpdateTime
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2; -
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 = 2; -
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 = 2;- Specified by:
getUpdateTimeOrBuilderin interfaceBatchUpdateUserLicensesMetadataOrBuilder
-
getSuccessCount
public long getSuccessCount()Count of user licenses successfully updated.
int64 success_count = 3;- Specified by:
getSuccessCountin interfaceBatchUpdateUserLicensesMetadataOrBuilder- Returns:
- The successCount.
-
setSuccessCount
Count of user licenses successfully updated.
int64 success_count = 3;- Parameters:
value- The successCount to set.- Returns:
- This builder for chaining.
-
clearSuccessCount
Count of user licenses successfully updated.
int64 success_count = 3;- Returns:
- This builder for chaining.
-
getFailureCount
public long getFailureCount()Count of user licenses that failed to be updated.
int64 failure_count = 4;- Specified by:
getFailureCountin interfaceBatchUpdateUserLicensesMetadataOrBuilder- Returns:
- The failureCount.
-
setFailureCount
Count of user licenses that failed to be updated.
int64 failure_count = 4;- Parameters:
value- The failureCount to set.- Returns:
- This builder for chaining.
-
clearFailureCount
Count of user licenses that failed to be updated.
int64 failure_count = 4;- Returns:
- This builder for chaining.
-