Class BatchOperationMetadata

  • All Implemented Interfaces:
    BatchOperationMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class BatchOperationMetadata
    extends com.google.protobuf.GeneratedMessageV3
    implements BatchOperationMetadataOrBuilder
     Metadata describing the Batch operation.
     
    Protobuf type google.cloud.dataproc.v1.BatchOperationMetadata
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • internalGetFieldAccessorTable

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static BatchOperationMetadata parseFrom​(ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BatchOperationMetadata parseFrom​(ByteBuffer data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BatchOperationMetadata parseFrom​(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BatchOperationMetadata parseFrom​(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BatchOperationMetadata parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BatchOperationMetadata parseFrom​(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected BatchOperationMetadata.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<BatchOperationMetadata> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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