public static final class GenericOperationMetadata.Builder extends GeneratedMessageV3.Builder<GenericOperationMetadata.Builder> implements GenericOperationMetadataOrBuilder
Generic Metadata shared by all operations.
Protobuf type google.cloud.vertexai.v1.GenericOperationMetadata
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 GenericOperationMetadata.Builder addAllPartialFailures(Iterable<? extends Status> values)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.rpc.Status>
|
public GenericOperationMetadata.Builder addPartialFailures(Status value)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
com.google.rpc.Status
|
public GenericOperationMetadata.Builder addPartialFailures(Status.Builder builderForValue)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
com.google.rpc.Status.Builder
|
public GenericOperationMetadata.Builder addPartialFailures(int index, Status value)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters |
Name |
Description |
index |
int
|
value |
com.google.rpc.Status
|
public GenericOperationMetadata.Builder addPartialFailures(int index, Status.Builder builderForValue)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters |
Name |
Description |
index |
int
|
builderForValue |
com.google.rpc.Status.Builder
|
public Status.Builder addPartialFailuresBuilder()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
com.google.rpc.Status.Builder |
|
public Status.Builder addPartialFailuresBuilder(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.rpc.Status.Builder |
|
public GenericOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public GenericOperationMetadata build()
public GenericOperationMetadata buildPartial()
public GenericOperationMetadata.Builder clear()
Overrides
public GenericOperationMetadata.Builder clearCreateTime()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GenericOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public GenericOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public GenericOperationMetadata.Builder clearPartialFailures()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GenericOperationMetadata.Builder clearUpdateTime()
Output only. Time when the operation was updated for the last time.
If the operation has finished (successfully or not), this is the finish
time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GenericOperationMetadata.Builder clone()
Overrides
public Timestamp getCreateTime()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GenericOperationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Status getPartialFailures(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.rpc.Status |
|
public Status.Builder getPartialFailuresBuilder(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.rpc.Status.Builder |
|
public List<Status.Builder> getPartialFailuresBuilderList()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<com.google.rpc.Status.Builder> |
|
public int getPartialFailuresCount()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
public List<Status> getPartialFailuresList()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<com.google.rpc.Status> |
|
public StatusOrBuilder getPartialFailuresOrBuilder(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.rpc.StatusOrBuilder> |
|
public Timestamp getUpdateTime()
Output only. Time when the operation was updated for the last time.
If the operation has finished (successfully or not), this is the finish
time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Time when the operation was updated for the last time.
If the operation has finished (successfully or not), this is the finish
time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the operation was updated for the last time.
If the operation has finished (successfully or not), this is the finish
time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
public boolean hasUpdateTime()
Output only. Time when the operation was updated for the last time.
If the operation has finished (successfully or not), this is the finish
time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public GenericOperationMetadata.Builder mergeCreateTime(Timestamp value)
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GenericOperationMetadata.Builder mergeFrom(GenericOperationMetadata other)
public GenericOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public GenericOperationMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final GenericOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public GenericOperationMetadata.Builder mergeUpdateTime(Timestamp value)
Output only. Time when the operation was updated for the last time.
If the operation has finished (successfully or not), this is the finish
time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GenericOperationMetadata.Builder removePartialFailures(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
public GenericOperationMetadata.Builder setCreateTime(Timestamp value)
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GenericOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
Builder
|
public GenericOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public GenericOperationMetadata.Builder setPartialFailures(int index, Status value)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters |
Name |
Description |
index |
int
|
value |
com.google.rpc.Status
|
public GenericOperationMetadata.Builder setPartialFailures(int index, Status.Builder builderForValue)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
This field should never exceed 20 entries.
Status details field will contain standard Google Cloud error details.
repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters |
Name |
Description |
index |
int
|
builderForValue |
com.google.rpc.Status.Builder
|
public GenericOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final GenericOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public GenericOperationMetadata.Builder setUpdateTime(Timestamp value)
Output only. Time when the operation was updated for the last time.
If the operation has finished (successfully or not), this is the finish
time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GenericOperationMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Time when the operation was updated for the last time.
If the operation has finished (successfully or not), this is the finish
time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
Builder
|