Class RuntimeInfo (4.17.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
TypeDescription
int

CURRENT_USAGE_FIELD_NUMBER

public static final int CURRENT_USAGE_FIELD_NUMBER
Field Value
TypeDescription
int

DIAGNOSTIC_OUTPUT_URI_FIELD_NUMBER

public static final int DIAGNOSTIC_OUTPUT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

ENDPOINTS_FIELD_NUMBER

public static final int ENDPOINTS_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUT_URI_FIELD_NUMBER

public static final int OUTPUT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RuntimeInfo getDefaultInstance()
Returns
TypeDescription
RuntimeInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RuntimeInfo.Builder newBuilder()
Returns
TypeDescription
RuntimeInfo.Builder

newBuilder(RuntimeInfo prototype)

public static RuntimeInfo.Builder newBuilder(RuntimeInfo prototype)
Parameter
NameDescription
prototypeRuntimeInfo
Returns
TypeDescription
RuntimeInfo.Builder

parseDelimitedFrom(InputStream input)

public static RuntimeInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RuntimeInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuntimeInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuntimeInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RuntimeInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RuntimeInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuntimeInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RuntimeInfo> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApproximateUsage()

public UsageMetrics getApproximateUsage()

Output only. Approximate workload resource usage calculated after workload finishes (see Dataproc Serverless pricing).

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

Returns
TypeDescription
UsageMetrics

The approximateUsage.

getApproximateUsageOrBuilder()

public UsageMetricsOrBuilder getApproximateUsageOrBuilder()

Output only. Approximate workload resource usage calculated after workload finishes (see Dataproc Serverless pricing).

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UsageSnapshotOrBuilder

getDefaultInstanceForType()

public RuntimeInfo getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for diagnosticOutputUri.

getEndpoints()

public Map<String,String> getEndpoints()

Use #getEndpointsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for outputUri.

getParserForType()

public Parser<RuntimeInfo> getParserForType()
Returns
TypeDescription
Parser<RuntimeInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasApproximateUsage()

public boolean hasApproximateUsage()

Output only. Approximate workload resource usage calculated after workload finishes (see Dataproc Serverless pricing).

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the currentUsage field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RuntimeInfo.Builder newBuilderForType()
Returns
TypeDescription
RuntimeInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuntimeInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RuntimeInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RuntimeInfo.Builder toBuilder()
Returns
TypeDescription
RuntimeInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException