Class GenericOperationMetadata.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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
      • setRepeatedField

        public GenericOperationMetadata.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenericOperationMetadata.Builder>
      • addRepeatedField

        public GenericOperationMetadata.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenericOperationMetadata.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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<com.google.rpc.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 com.google.rpc.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,
                                                                   com.google.rpc.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,
                                                                   com.google.rpc.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​(com.google.rpc.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,
                                                                   com.google.rpc.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​(com.google.rpc.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,
                                                                   com.google.rpc.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 com.google.rpc.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 com.google.rpc.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 com.google.rpc.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 com.google.rpc.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 com.google.rpc.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 com.google.rpc.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<com.google.rpc.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
      • setUnknownFields

        public final GenericOperationMetadata.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GenericOperationMetadata.Builder>
      • mergeUnknownFields

        public final GenericOperationMetadata.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GenericOperationMetadata.Builder>