Class RuntimeInfo (4.43.0)

public final class RuntimeInfo extends GeneratedMessageV3 implements RuntimeInfoOrBuilder

Runtime information about workload execution.

Protobuf type google.cloud.dataproc.v1.RuntimeInfo

Static Fields

APPROXIMATE_USAGE_FIELD_NUMBER

public static final int APPROXIMATE_USAGE_FIELD_NUMBER
Field Value
Type Description
int

CURRENT_USAGE_FIELD_NUMBER

public static final int CURRENT_USAGE_FIELD_NUMBER
Field Value
Type Description
int

DIAGNOSTIC_OUTPUT_URI_FIELD_NUMBER

public static final int DIAGNOSTIC_OUTPUT_URI_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINTS_FIELD_NUMBER

public static final int ENDPOINTS_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_URI_FIELD_NUMBER

public static final int OUTPUT_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RuntimeInfo getDefaultInstance()
Returns
Type Description
RuntimeInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RuntimeInfo.Builder newBuilder()
Returns
Type Description
RuntimeInfo.Builder

newBuilder(RuntimeInfo prototype)

public static RuntimeInfo.Builder newBuilder(RuntimeInfo prototype)
Parameter
Name Description
prototype RuntimeInfo
Returns
Type Description
RuntimeInfo.Builder

parseDelimitedFrom(InputStream input)

public static RuntimeInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RuntimeInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuntimeInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuntimeInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RuntimeInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RuntimeInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RuntimeInfo> parser()
Returns
Type Description
Parser<RuntimeInfo>

Methods

containsEndpoints(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApproximateUsage()

public UsageMetrics getApproximateUsage()

Output only. Approximate workload resource usage, calculated when the workload completes (see Dataproc Serverless pricing).

Note: This metric calculation may change in the future, for example, to capture cumulative workload resource consumption during workload execution (see the Dataproc Serverless release notes for announcements, changes, fixes and other Dataproc developments).

.google.cloud.dataproc.v1.UsageMetrics approximate_usage = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UsageMetrics

The approximateUsage.

getApproximateUsageOrBuilder()

public UsageMetricsOrBuilder getApproximateUsageOrBuilder()

Output only. Approximate workload resource usage, calculated when the workload completes (see Dataproc Serverless pricing).

Note: This metric calculation may change in the future, for example, to capture cumulative workload resource consumption during workload execution (see the Dataproc Serverless release notes for announcements, changes, fixes and other Dataproc developments).

.google.cloud.dataproc.v1.UsageMetrics approximate_usage = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UsageMetricsOrBuilder

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];

Returns
Type Description
UsageSnapshot

The currentUsage.

getCurrentUsageOrBuilder()

public UsageSnapshotOrBuilder getCurrentUsageOrBuilder()

Output only. Snapshot of current workload resource usage.

.google.cloud.dataproc.v1.UsageSnapshot current_usage = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UsageSnapshotOrBuilder

getDefaultInstanceForType()

public RuntimeInfo getDefaultInstanceForType()
Returns
Type Description
RuntimeInfo

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];

Returns
Type Description
String

The diagnosticOutputUri.

getDiagnosticOutputUriBytes()

public 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];

Returns
Type Description
ByteString

The bytes for diagnosticOutputUri.

getEndpoints() (deprecated)

public Map<String,String> getEndpoints()

Use #getEndpointsMap() instead.

Returns
Type Description
Map<String,String>

getEndpointsCount()

public int getEndpointsCount()

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];

Returns
Type Description
int

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];

Returns
Type Description
Map<String,String>

getEndpointsOrDefault(String key, String defaultValue)

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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getEndpointsOrThrow(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
String

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];

Returns
Type Description
String

The outputUri.

getOutputUriBytes()

public 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];

Returns
Type Description
ByteString

The bytes for outputUri.

getParserForType()

public Parser<RuntimeInfo> getParserForType()
Returns
Type Description
Parser<RuntimeInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasApproximateUsage()

public boolean hasApproximateUsage()

Output only. Approximate workload resource usage, calculated when the workload completes (see Dataproc Serverless pricing).

Note: This metric calculation may change in the future, for example, to capture cumulative workload resource consumption during workload execution (see the Dataproc Serverless release notes for announcements, changes, fixes and other Dataproc developments).

.google.cloud.dataproc.v1.UsageMetrics approximate_usage = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the approximateUsage field is set.

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];

Returns
Type Description
boolean

Whether the currentUsage field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RuntimeInfo.Builder newBuilderForType()
Returns
Type Description
RuntimeInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuntimeInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RuntimeInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RuntimeInfo.Builder toBuilder()
Returns
Type Description
RuntimeInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException