Class GenericOperationMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenericOperationMetadata.Builder>
com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
All Implemented Interfaces:
GenericOperationMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GenericOperationMetadata

public static final class GenericOperationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenericOperationMetadata.Builder> implements GenericOperationMetadataOrBuilder
 Generic Metadata shared by all operations.
 
Protobuf type google.cloud.aiplatform.v1.GenericOperationMetadata
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GenericOperationMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GenericOperationMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GenericOperationMetadata.Builder>
    • getDefaultInstanceForType

      public GenericOperationMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GenericOperationMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GenericOperationMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GenericOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenericOperationMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GenericOperationMetadata.Builder>
    • mergeFrom

      public GenericOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenericOperationMetadata.Builder>
      Throws:
      IOException
    • getPartialFailuresList

      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];
      Specified by:
      getPartialFailuresList in interface GenericOperationMetadataOrBuilder
    • getPartialFailuresCount

      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];
      Specified by:
      getPartialFailuresCount in interface GenericOperationMetadataOrBuilder
    • getPartialFailures

      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];
      Specified by:
      getPartialFailures in interface GenericOperationMetadataOrBuilder
    • setPartialFailures

      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];
    • setPartialFailures

      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];
    • addPartialFailures

      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];
    • addPartialFailures

      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];
    • addPartialFailures

      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];
    • addPartialFailures

      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];
    • addAllPartialFailures

      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];
    • clearPartialFailures

      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];
    • removePartialFailures

      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];
    • getPartialFailuresBuilder

      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];
    • getPartialFailuresOrBuilder

      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];
      Specified by:
      getPartialFailuresOrBuilder in interface GenericOperationMetadataOrBuilder
    • getPartialFailuresOrBuilderList

      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];
      Specified by:
      getPartialFailuresOrBuilderList in interface GenericOperationMetadataOrBuilder
    • addPartialFailuresBuilder

      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];
    • addPartialFailuresBuilder

      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];
    • getPartialFailuresBuilderList

      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];
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface GenericOperationMetadataOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface GenericOperationMetadataOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public GenericOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public GenericOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public GenericOperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public GenericOperationMetadata.Builder clearCreateTime()
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface GenericOperationMetadataOrBuilder
    • hasUpdateTime

      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];
      Specified by:
      hasUpdateTime in interface GenericOperationMetadataOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.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];
      Specified by:
      getUpdateTime in interface GenericOperationMetadataOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public GenericOperationMetadata.Builder setUpdateTime(com.google.protobuf.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];
    • setUpdateTime

      public GenericOperationMetadata.Builder setUpdateTime(com.google.protobuf.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];
    • mergeUpdateTime

      public GenericOperationMetadata.Builder mergeUpdateTime(com.google.protobuf.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];
    • clearUpdateTime

      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];
    • getUpdateTimeBuilder

      public com.google.protobuf.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];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getUpdateTimeOrBuilder in interface GenericOperationMetadataOrBuilder