Class ClusterOperationMetadata

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

    public final class ClusterOperationMetadata
    extends com.google.protobuf.GeneratedMessageV3
    implements ClusterOperationMetadataOrBuilder
     Metadata describing the operation.
     
    Protobuf type google.cloud.dataproc.v1.ClusterOperationMetadata
    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
      • getClusterName

        public String getClusterName()
         Output only. Name of the cluster for the operation.
         
        string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClusterName in interface ClusterOperationMetadataOrBuilder
        Returns:
        The clusterName.
      • getClusterNameBytes

        public com.google.protobuf.ByteString getClusterNameBytes()
         Output only. Name of the cluster for the operation.
         
        string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClusterNameBytes in interface ClusterOperationMetadataOrBuilder
        Returns:
        The bytes for clusterName.
      • getClusterUuid

        public String getClusterUuid()
         Output only. Cluster UUID for the operation.
         
        string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClusterUuid in interface ClusterOperationMetadataOrBuilder
        Returns:
        The clusterUuid.
      • getClusterUuidBytes

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

        public boolean hasStatus()
         Output only. Current operation status.
         
        .google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasStatus in interface ClusterOperationMetadataOrBuilder
        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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatusHistoryCount in interface ClusterOperationMetadataOrBuilder
      • getOperationTypeBytes

        public com.google.protobuf.ByteString getOperationTypeBytes()
         Output only. The operation type.
         
        string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getOperationTypeBytes in interface ClusterOperationMetadataOrBuilder
        Returns:
        The bytes for operationType.
      • getDescription

        public String getDescription()
         Output only. Short description of operation.
         
        string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDescription in interface ClusterOperationMetadataOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

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

        public boolean containsLabels​(String key)
         Output only. Labels associated with the operation
         
        map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        containsLabels in interface ClusterOperationMetadataOrBuilder
      • getWarningsList

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

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

        public String getWarnings​(int index)
         Output only. Errors encountered during operation execution.
         
        repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWarnings in interface ClusterOperationMetadataOrBuilder
        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 = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWarningsBytes in interface ClusterOperationMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the warnings at the given index.
      • getChildOperationIdsList

        public com.google.protobuf.ProtocolStringList getChildOperationIdsList()
         Output only. Child operation ids
         
        repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getChildOperationIdsList in interface ClusterOperationMetadataOrBuilder
        Returns:
        A list containing the childOperationIds.
      • getChildOperationIdsCount

        public int getChildOperationIdsCount()
         Output only. Child operation ids
         
        repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getChildOperationIdsCount in interface ClusterOperationMetadataOrBuilder
        Returns:
        The count of childOperationIds.
      • getChildOperationIds

        public String getChildOperationIds​(int index)
         Output only. Child operation ids
         
        repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getChildOperationIds in interface ClusterOperationMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The childOperationIds at the given index.
      • getChildOperationIdsBytes

        public com.google.protobuf.ByteString getChildOperationIdsBytes​(int index)
         Output only. Child operation ids
         
        repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getChildOperationIdsBytes in interface ClusterOperationMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the childOperationIds 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 ClusterOperationMetadata parseFrom​(ByteBuffer data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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