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
CURRENT_USAGE_FIELD_NUMBER
public static final int CURRENT_USAGE_FIELD_NUMBER
Field Value
DIAGNOSTIC_OUTPUT_URI_FIELD_NUMBER
public static final int DIAGNOSTIC_OUTPUT_URI_FIELD_NUMBER
Field Value
ENDPOINTS_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER
Field Value
OUTPUT_URI_FIELD_NUMBER
public static final int OUTPUT_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RuntimeInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RuntimeInfo.Builder newBuilder()
Returns
newBuilder(RuntimeInfo prototype)
public static RuntimeInfo.Builder newBuilder(RuntimeInfo prototype)
Parameter
Returns
public static RuntimeInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RuntimeInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RuntimeInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RuntimeInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RuntimeInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuntimeInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RuntimeInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RuntimeInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RuntimeInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RuntimeInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RuntimeInfo> parser()
Returns
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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
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
getDefaultInstanceForType()
public RuntimeInfo getDefaultInstanceForType()
Returns
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()
public Map<String,String> getEndpoints()
Returns
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
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
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
Returns
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
Returns
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
getParserForType()
public Parser<RuntimeInfo> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RuntimeInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RuntimeInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RuntimeInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions