Class BatchOperationMetadata.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
      • internalGetFieldAccessorTable

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

        public BatchOperationMetadata.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.GeneratedMessageV3.Builder<BatchOperationMetadata.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<BatchOperationMetadata.Builder>
      • getDefaultInstanceForType

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

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

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

        public BatchOperationMetadata.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
      • clearField

        public BatchOperationMetadata.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
      • clearOneof

        public BatchOperationMetadata.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
      • setRepeatedField

        public BatchOperationMetadata.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<BatchOperationMetadata.Builder>
      • addRepeatedField

        public BatchOperationMetadata.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<BatchOperationMetadata.Builder>
      • isInitialized

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

        public BatchOperationMetadata.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<BatchOperationMetadata.Builder>
        Throws:
        IOException
      • getBatchBytes

        public com.google.protobuf.ByteString getBatchBytes()
         Name of the batch for the operation.
         
        string batch = 1;
        Specified by:
        getBatchBytes in interface BatchOperationMetadataOrBuilder
        Returns:
        The bytes for batch.
      • setBatch

        public BatchOperationMetadata.Builder setBatch​(String value)
         Name of the batch for the operation.
         
        string batch = 1;
        Parameters:
        value - The batch to set.
        Returns:
        This builder for chaining.
      • clearBatch

        public BatchOperationMetadata.Builder clearBatch()
         Name of the batch for the operation.
         
        string batch = 1;
        Returns:
        This builder for chaining.
      • setBatchBytes

        public BatchOperationMetadata.Builder setBatchBytes​(com.google.protobuf.ByteString value)
         Name of the batch for the operation.
         
        string batch = 1;
        Parameters:
        value - The bytes for batch to set.
        Returns:
        This builder for chaining.
      • getBatchUuidBytes

        public com.google.protobuf.ByteString getBatchUuidBytes()
         Batch UUID for the operation.
         
        string batch_uuid = 2;
        Specified by:
        getBatchUuidBytes in interface BatchOperationMetadataOrBuilder
        Returns:
        The bytes for batchUuid.
      • setBatchUuid

        public BatchOperationMetadata.Builder setBatchUuid​(String value)
         Batch UUID for the operation.
         
        string batch_uuid = 2;
        Parameters:
        value - The batchUuid to set.
        Returns:
        This builder for chaining.
      • clearBatchUuid

        public BatchOperationMetadata.Builder clearBatchUuid()
         Batch UUID for the operation.
         
        string batch_uuid = 2;
        Returns:
        This builder for chaining.
      • setBatchUuidBytes

        public BatchOperationMetadata.Builder setBatchUuidBytes​(com.google.protobuf.ByteString value)
         Batch UUID for the operation.
         
        string batch_uuid = 2;
        Parameters:
        value - The bytes for batchUuid to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         The time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 3;
        Specified by:
        hasCreateTime in interface BatchOperationMetadataOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         The time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 3;
        Specified by:
        getCreateTime in interface BatchOperationMetadataOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public BatchOperationMetadata.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         The time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 3;
      • setCreateTime

        public BatchOperationMetadata.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 3;
      • mergeCreateTime

        public BatchOperationMetadata.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         The time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 3;
      • clearCreateTime

        public BatchOperationMetadata.Builder clearCreateTime()
         The time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 3;
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         The time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 3;
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         The time when the operation was created.
         
        .google.protobuf.Timestamp create_time = 3;
        Specified by:
        getCreateTimeOrBuilder in interface BatchOperationMetadataOrBuilder
      • hasDoneTime

        public boolean hasDoneTime()
         The time when the operation finished.
         
        .google.protobuf.Timestamp done_time = 4;
        Specified by:
        hasDoneTime in interface BatchOperationMetadataOrBuilder
        Returns:
        Whether the doneTime field is set.
      • getDoneTime

        public com.google.protobuf.Timestamp getDoneTime()
         The time when the operation finished.
         
        .google.protobuf.Timestamp done_time = 4;
        Specified by:
        getDoneTime in interface BatchOperationMetadataOrBuilder
        Returns:
        The doneTime.
      • setDoneTime

        public BatchOperationMetadata.Builder setDoneTime​(com.google.protobuf.Timestamp value)
         The time when the operation finished.
         
        .google.protobuf.Timestamp done_time = 4;
      • setDoneTime

        public BatchOperationMetadata.Builder setDoneTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The time when the operation finished.
         
        .google.protobuf.Timestamp done_time = 4;
      • mergeDoneTime

        public BatchOperationMetadata.Builder mergeDoneTime​(com.google.protobuf.Timestamp value)
         The time when the operation finished.
         
        .google.protobuf.Timestamp done_time = 4;
      • clearDoneTime

        public BatchOperationMetadata.Builder clearDoneTime()
         The time when the operation finished.
         
        .google.protobuf.Timestamp done_time = 4;
      • getDoneTimeBuilder

        public com.google.protobuf.Timestamp.Builder getDoneTimeBuilder()
         The time when the operation finished.
         
        .google.protobuf.Timestamp done_time = 4;
      • getDoneTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getDoneTimeOrBuilder()
         The time when the operation finished.
         
        .google.protobuf.Timestamp done_time = 4;
        Specified by:
        getDoneTimeOrBuilder in interface BatchOperationMetadataOrBuilder
      • getOperationTypeValue

        public int getOperationTypeValue()
         The operation type.
         
        .google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
        Specified by:
        getOperationTypeValue in interface BatchOperationMetadataOrBuilder
        Returns:
        The enum numeric value on the wire for operationType.
      • setOperationTypeValue

        public BatchOperationMetadata.Builder setOperationTypeValue​(int value)
         The operation type.
         
        .google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
        Parameters:
        value - The enum numeric value on the wire for operationType to set.
        Returns:
        This builder for chaining.
      • clearOperationType

        public BatchOperationMetadata.Builder clearOperationType()
         The operation type.
         
        .google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
        Returns:
        This builder for chaining.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Short description of the operation.
         
        string description = 7;
        Specified by:
        getDescriptionBytes in interface BatchOperationMetadataOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public BatchOperationMetadata.Builder setDescription​(String value)
         Short description of the operation.
         
        string description = 7;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public BatchOperationMetadata.Builder clearDescription()
         Short description of the operation.
         
        string description = 7;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public BatchOperationMetadata.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Short description of the operation.
         
        string description = 7;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • getWarningsList

        public com.google.protobuf.ProtocolStringList getWarningsList()
         Warnings encountered during operation execution.
         
        repeated string warnings = 9;
        Specified by:
        getWarningsList in interface BatchOperationMetadataOrBuilder
        Returns:
        A list containing the warnings.
      • getWarningsCount

        public int getWarningsCount()
         Warnings encountered during operation execution.
         
        repeated string warnings = 9;
        Specified by:
        getWarningsCount in interface BatchOperationMetadataOrBuilder
        Returns:
        The count of warnings.
      • getWarnings

        public String getWarnings​(int index)
         Warnings encountered during operation execution.
         
        repeated string warnings = 9;
        Specified by:
        getWarnings in interface BatchOperationMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The warnings at the given index.
      • getWarningsBytes

        public com.google.protobuf.ByteString getWarningsBytes​(int index)
         Warnings encountered during operation execution.
         
        repeated string warnings = 9;
        Specified by:
        getWarningsBytes in interface BatchOperationMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the warnings at the given index.
      • setWarnings

        public BatchOperationMetadata.Builder setWarnings​(int index,
                                                          String value)
         Warnings encountered during operation execution.
         
        repeated string warnings = 9;
        Parameters:
        index - The index to set the value at.
        value - The warnings to set.
        Returns:
        This builder for chaining.
      • addWarnings

        public BatchOperationMetadata.Builder addWarnings​(String value)
         Warnings encountered during operation execution.
         
        repeated string warnings = 9;
        Parameters:
        value - The warnings to add.
        Returns:
        This builder for chaining.
      • addAllWarnings

        public BatchOperationMetadata.Builder addAllWarnings​(Iterable<String> values)
         Warnings encountered during operation execution.
         
        repeated string warnings = 9;
        Parameters:
        values - The warnings to add.
        Returns:
        This builder for chaining.
      • clearWarnings

        public BatchOperationMetadata.Builder clearWarnings()
         Warnings encountered during operation execution.
         
        repeated string warnings = 9;
        Returns:
        This builder for chaining.
      • addWarningsBytes

        public BatchOperationMetadata.Builder addWarningsBytes​(com.google.protobuf.ByteString value)
         Warnings encountered during operation execution.
         
        repeated string warnings = 9;
        Parameters:
        value - The bytes of the warnings to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final BatchOperationMetadata.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<BatchOperationMetadata.Builder>
      • mergeUnknownFields

        public final BatchOperationMetadata.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<BatchOperationMetadata.Builder>