Class RuntimeInfo

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

    public final class RuntimeInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements RuntimeInfoOrBuilder
     Runtime information about workload execution.
     
    Protobuf type google.cloud.dataproc.v1.RuntimeInfo
    See Also:
    Serialized Form
    • Field Detail

      • OUTPUT_URI_FIELD_NUMBER

        public static final int OUTPUT_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DIAGNOSTIC_OUTPUT_URI_FIELD_NUMBER

        public static final int DIAGNOSTIC_OUTPUT_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • APPROXIMATE_USAGE_FIELD_NUMBER

        public static final int APPROXIMATE_USAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CURRENT_USAGE_FIELD_NUMBER

        public static final int CURRENT_USAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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
      • getEndpointsCount

        public int getEndpointsCount()
        Description copied from interface: RuntimeInfoOrBuilder
         Output only. Map of remote access endpoints (such as web interfaces and
         APIs) to their URIs.
         
        map<string, string> endpoints = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndpointsCount in interface RuntimeInfoOrBuilder
      • containsEndpoints

        public boolean containsEndpoints​(String key)
         Output only. Map of remote access endpoints (such as web interfaces and
         APIs) to their URIs.
         
        map<string, string> endpoints = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        containsEndpoints in interface RuntimeInfoOrBuilder
      • getEndpointsMap

        public Map<String,​String> getEndpointsMap()
         Output only. Map of remote access endpoints (such as web interfaces and
         APIs) to their URIs.
         
        map<string, string> endpoints = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndpointsMap in interface RuntimeInfoOrBuilder
      • getEndpointsOrDefault

        public String getEndpointsOrDefault​(String key,
                                            String defaultValue)
         Output only. Map of remote access endpoints (such as web interfaces and
         APIs) to their URIs.
         
        map<string, string> endpoints = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndpointsOrDefault in interface RuntimeInfoOrBuilder
      • getEndpointsOrThrow

        public String getEndpointsOrThrow​(String key)
         Output only. Map of remote access endpoints (such as web interfaces and
         APIs) to their URIs.
         
        map<string, string> endpoints = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndpointsOrThrow in interface RuntimeInfoOrBuilder
      • getOutputUri

        public String getOutputUri()
         Output only. A URI pointing to the location of the stdout and stderr of the
         workload.
         
        string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getOutputUri in interface RuntimeInfoOrBuilder
        Returns:
        The outputUri.
      • getOutputUriBytes

        public com.google.protobuf.ByteString getOutputUriBytes()
         Output only. A URI pointing to the location of the stdout and stderr of the
         workload.
         
        string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getOutputUriBytes in interface RuntimeInfoOrBuilder
        Returns:
        The bytes for outputUri.
      • getDiagnosticOutputUri

        public String getDiagnosticOutputUri()
         Output only. A URI pointing to the location of the diagnostics tarball.
         
        string diagnostic_output_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDiagnosticOutputUri in interface RuntimeInfoOrBuilder
        Returns:
        The diagnosticOutputUri.
      • getDiagnosticOutputUriBytes

        public com.google.protobuf.ByteString getDiagnosticOutputUriBytes()
         Output only. A URI pointing to the location of the diagnostics tarball.
         
        string diagnostic_output_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDiagnosticOutputUriBytes in interface RuntimeInfoOrBuilder
        Returns:
        The bytes for diagnosticOutputUri.
      • hasApproximateUsage

        public boolean hasApproximateUsage()
         Output only. Approximate workload resource usage calculated after workload
         finishes (see [Dataproc Serverless pricing]
         (https://cloud.google.com/dataproc-serverless/pricing)).
         
        .google.cloud.dataproc.v1.UsageMetrics approximate_usage = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasApproximateUsage in interface RuntimeInfoOrBuilder
        Returns:
        Whether the approximateUsage field is set.
      • getApproximateUsage

        public UsageMetrics getApproximateUsage()
         Output only. Approximate workload resource usage calculated after workload
         finishes (see [Dataproc Serverless pricing]
         (https://cloud.google.com/dataproc-serverless/pricing)).
         
        .google.cloud.dataproc.v1.UsageMetrics approximate_usage = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getApproximateUsage in interface RuntimeInfoOrBuilder
        Returns:
        The approximateUsage.
      • getApproximateUsageOrBuilder

        public UsageMetricsOrBuilder getApproximateUsageOrBuilder()
         Output only. Approximate workload resource usage calculated after workload
         finishes (see [Dataproc Serverless pricing]
         (https://cloud.google.com/dataproc-serverless/pricing)).
         
        .google.cloud.dataproc.v1.UsageMetrics approximate_usage = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getApproximateUsageOrBuilder in interface RuntimeInfoOrBuilder
      • hasCurrentUsage

        public boolean hasCurrentUsage()
         Output only. Snapshot of current workload resource usage.
         
        .google.cloud.dataproc.v1.UsageSnapshot current_usage = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCurrentUsage in interface RuntimeInfoOrBuilder
        Returns:
        Whether the currentUsage field is set.
      • getCurrentUsage

        public UsageSnapshot getCurrentUsage()
         Output only. Snapshot of current workload resource usage.
         
        .google.cloud.dataproc.v1.UsageSnapshot current_usage = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCurrentUsage in interface RuntimeInfoOrBuilder
        Returns:
        The currentUsage.
      • 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 RuntimeInfo parseFrom​(ByteBuffer data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static RuntimeInfo parseFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

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

        public static RuntimeInfo getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<RuntimeInfo> parser()
      • getParserForType

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