public static final class BatchUpdateUserLicensesMetadata.Builder extends GeneratedMessage.Builder<BatchUpdateUserLicensesMetadata.Builder> implements BatchUpdateUserLicensesMetadataOrBuilderMetadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field.
Protobuf type google.cloud.discoveryengine.v1.BatchUpdateUserLicensesMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchUpdateUserLicensesMetadata.BuilderImplements
BatchUpdateUserLicensesMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BatchUpdateUserLicensesMetadata build()| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata |
|
buildPartial()
public BatchUpdateUserLicensesMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata |
|
clear()
public BatchUpdateUserLicensesMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
|
clearCreateTime()
public BatchUpdateUserLicensesMetadata.Builder clearCreateTime()Operation create time.
.google.protobuf.Timestamp create_time = 1;
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
|
clearFailureCount()
public BatchUpdateUserLicensesMetadata.Builder clearFailureCount()Count of user licenses that failed to be updated.
int64 failure_count = 4;
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
This builder for chaining. |
clearSuccessCount()
public BatchUpdateUserLicensesMetadata.Builder clearSuccessCount()Count of user licenses successfully updated.
int64 success_count = 3;
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
This builder for chaining. |
clearUpdateTime()
public BatchUpdateUserLicensesMetadata.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 |
BatchUpdateUserLicensesMetadata.Builder |
|
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 BatchUpdateUserLicensesMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFailureCount()
public long getFailureCount()Count of user licenses that failed to be updated.
int64 failure_count = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The failureCount. |
getSuccessCount()
public long getSuccessCount()Count of user licenses successfully updated.
int64 success_count = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The successCount. |
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public BatchUpdateUserLicensesMetadata.Builder mergeCreateTime(Timestamp value)Operation create time.
.google.protobuf.Timestamp create_time = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
|
mergeFrom(BatchUpdateUserLicensesMetadata other)
public BatchUpdateUserLicensesMetadata.Builder mergeFrom(BatchUpdateUserLicensesMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchUpdateUserLicensesMetadata |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchUpdateUserLicensesMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchUpdateUserLicensesMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
|
mergeUpdateTime(Timestamp value)
public BatchUpdateUserLicensesMetadata.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 |
BatchUpdateUserLicensesMetadata.Builder |
|
setCreateTime(Timestamp value)
public BatchUpdateUserLicensesMetadata.Builder setCreateTime(Timestamp value)Operation create time.
.google.protobuf.Timestamp create_time = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public BatchUpdateUserLicensesMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)Operation create time.
.google.protobuf.Timestamp create_time = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
|
setFailureCount(long value)
public BatchUpdateUserLicensesMetadata.Builder setFailureCount(long value)Count of user licenses that failed to be updated.
int64 failure_count = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe failureCount to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
This builder for chaining. |
setSuccessCount(long value)
public BatchUpdateUserLicensesMetadata.Builder setSuccessCount(long value)Count of user licenses successfully updated.
int64 success_count = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe successCount to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateUserLicensesMetadata.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public BatchUpdateUserLicensesMetadata.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 |
BatchUpdateUserLicensesMetadata.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public BatchUpdateUserLicensesMetadata.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 |
BatchUpdateUserLicensesMetadata.Builder |
|