Package com.google.cloud.dataproc.v1
Class RuntimeInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataproc.v1.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 typegoogle.cloud.dataproc.v1.RuntimeInfo
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RuntimeInfo.Builder
Runtime information about workload execution.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
APPROXIMATE_USAGE_FIELD_NUMBER
static int
CURRENT_USAGE_FIELD_NUMBER
static int
DIAGNOSTIC_OUTPUT_URI_FIELD_NUMBER
static int
ENDPOINTS_FIELD_NUMBER
static int
OUTPUT_URI_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsEndpoints(String key)
Output only.boolean
equals(Object obj)
UsageMetrics
getApproximateUsage()
Output only.UsageMetricsOrBuilder
getApproximateUsageOrBuilder()
Output only.UsageSnapshot
getCurrentUsage()
Output only.UsageSnapshotOrBuilder
getCurrentUsageOrBuilder()
Output only.static RuntimeInfo
getDefaultInstance()
RuntimeInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDiagnosticOutputUri()
Output only.com.google.protobuf.ByteString
getDiagnosticOutputUriBytes()
Output only.Map<String,String>
getEndpoints()
Deprecated.int
getEndpointsCount()
Output only.Map<String,String>
getEndpointsMap()
Output only.String
getEndpointsOrDefault(String key, String defaultValue)
Output only.String
getEndpointsOrThrow(String key)
Output only.String
getOutputUri()
Output only.com.google.protobuf.ByteString
getOutputUriBytes()
Output only.com.google.protobuf.Parser<RuntimeInfo>
getParserForType()
int
getSerializedSize()
boolean
hasApproximateUsage()
Output only.boolean
hasCurrentUsage()
Output only.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static RuntimeInfo.Builder
newBuilder()
static RuntimeInfo.Builder
newBuilder(RuntimeInfo prototype)
RuntimeInfo.Builder
newBuilderForType()
protected RuntimeInfo.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static RuntimeInfo
parseDelimitedFrom(InputStream input)
static RuntimeInfo
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RuntimeInfo
parseFrom(byte[] data)
static RuntimeInfo
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RuntimeInfo
parseFrom(com.google.protobuf.ByteString data)
static RuntimeInfo
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RuntimeInfo
parseFrom(com.google.protobuf.CodedInputStream input)
static RuntimeInfo
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RuntimeInfo
parseFrom(InputStream input)
static RuntimeInfo
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RuntimeInfo
parseFrom(ByteBuffer data)
static RuntimeInfo
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<RuntimeInfo>
parser()
RuntimeInfo.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ENDPOINTS_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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 classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.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 interfaceRuntimeInfoOrBuilder
-
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 interfaceRuntimeInfoOrBuilder
-
getEndpoints
@Deprecated public Map<String,String> getEndpoints()
Deprecated.UsegetEndpointsMap()
instead.- Specified by:
getEndpoints
in interfaceRuntimeInfoOrBuilder
-
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 interfaceRuntimeInfoOrBuilder
-
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 interfaceRuntimeInfoOrBuilder
-
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 interfaceRuntimeInfoOrBuilder
-
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 interfaceRuntimeInfoOrBuilder
- 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 interfaceRuntimeInfoOrBuilder
- 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 interfaceRuntimeInfoOrBuilder
- 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 interfaceRuntimeInfoOrBuilder
- 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 interfaceRuntimeInfoOrBuilder
- 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 interfaceRuntimeInfoOrBuilder
- 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 interfaceRuntimeInfoOrBuilder
-
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 interfaceRuntimeInfoOrBuilder
- 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 interfaceRuntimeInfoOrBuilder
- Returns:
- 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];
- Specified by:
getCurrentUsageOrBuilder
in interfaceRuntimeInfoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RuntimeInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RuntimeInfo parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RuntimeInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RuntimeInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
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 interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RuntimeInfo.Builder newBuilder()
-
newBuilder
public static RuntimeInfo.Builder newBuilder(RuntimeInfo prototype)
-
toBuilder
public RuntimeInfo.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RuntimeInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RuntimeInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-