Class NodeGroupOperationMetadata

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

    public final class NodeGroupOperationMetadata
    extends com.google.protobuf.GeneratedMessageV3
    implements NodeGroupOperationMetadataOrBuilder
     Metadata describing the node group operation.
     
    Protobuf type google.cloud.dataproc.v1.NodeGroupOperationMetadata
    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
      • getNodeGroupIdBytes

        public com.google.protobuf.ByteString getNodeGroupIdBytes()
         Output only. Node group ID for the operation.
         
        string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNodeGroupIdBytes in interface NodeGroupOperationMetadataOrBuilder
        Returns:
        The bytes for nodeGroupId.
      • getClusterUuid

        public String getClusterUuid()
         Output only. Cluster UUID associated with the node group operation.
         
        string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClusterUuid in interface NodeGroupOperationMetadataOrBuilder
        Returns:
        The clusterUuid.
      • getClusterUuidBytes

        public com.google.protobuf.ByteString getClusterUuidBytes()
         Output only. Cluster UUID associated with the node group operation.
         
        string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClusterUuidBytes in interface NodeGroupOperationMetadataOrBuilder
        Returns:
        The bytes for clusterUuid.
      • hasStatus

        public boolean hasStatus()
         Output only. Current operation status.
         
        .google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasStatus in interface NodeGroupOperationMetadataOrBuilder
        Returns:
        Whether the status field is set.
      • getStatusHistoryCount

        public int getStatusHistoryCount()
         Output only. The previous operation status.
         
        repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatusHistoryCount in interface NodeGroupOperationMetadataOrBuilder
      • getOperationTypeValue

        public int getOperationTypeValue()
         The operation type.
         
        .google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
        Specified by:
        getOperationTypeValue in interface NodeGroupOperationMetadataOrBuilder
        Returns:
        The enum numeric value on the wire for operationType.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Output only. Short description of operation.
         
        string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDescriptionBytes in interface NodeGroupOperationMetadataOrBuilder
        Returns:
        The bytes for description.
      • getWarningsList

        public com.google.protobuf.ProtocolStringList getWarningsList()
         Output only. Errors encountered during operation execution.
         
        repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWarningsList in interface NodeGroupOperationMetadataOrBuilder
        Returns:
        A list containing the warnings.
      • getWarningsCount

        public int getWarningsCount()
         Output only. Errors encountered during operation execution.
         
        repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWarningsCount in interface NodeGroupOperationMetadataOrBuilder
        Returns:
        The count of warnings.
      • getWarnings

        public String getWarnings​(int index)
         Output only. Errors encountered during operation execution.
         
        repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWarnings in interface NodeGroupOperationMetadataOrBuilder
        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)
         Output only. Errors encountered during operation execution.
         
        repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWarningsBytes in interface NodeGroupOperationMetadataOrBuilder
        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 NodeGroupOperationMetadata parseFrom​(ByteBuffer data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<NodeGroupOperationMetadata> 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 NodeGroupOperationMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder