public static final class RuntimeInfo.Builder extends GeneratedMessageV3.Builder<RuntimeInfo.Builder> implements RuntimeInfoOrBuilderRuntime information about workload execution.
Protobuf type google.cloud.dataproc.v1.RuntimeInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RuntimeInfo.BuilderImplements
RuntimeInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RuntimeInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
RuntimeInfo.Builder |
build()
public RuntimeInfo build()| Type | Description |
RuntimeInfo |
buildPartial()
public RuntimeInfo buildPartial()| Type | Description |
RuntimeInfo |
clear()
public RuntimeInfo.Builder clear()| Type | Description |
RuntimeInfo.Builder |
clearApproximateUsage()
public RuntimeInfo.Builder clearApproximateUsage()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];
| Type | Description |
RuntimeInfo.Builder |
clearCurrentUsage()
public RuntimeInfo.Builder clearCurrentUsage()Output only. Snapshot of current workload resource usage.
.google.cloud.dataproc.v1.UsageSnapshot current_usage = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
RuntimeInfo.Builder |
clearDiagnosticOutputUri()
public RuntimeInfo.Builder clearDiagnosticOutputUri()Output only. A URI pointing to the location of the diagnostics tarball.
string diagnostic_output_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
RuntimeInfo.Builder |
This builder for chaining. |
clearEndpoints()
public RuntimeInfo.Builder clearEndpoints()| Type | Description |
RuntimeInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public RuntimeInfo.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
RuntimeInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
RuntimeInfo.Builder |
clearOutputUri()
public RuntimeInfo.Builder clearOutputUri()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];
| Type | Description |
RuntimeInfo.Builder |
This builder for chaining. |
clone()
public RuntimeInfo.Builder clone()| Type | Description |
RuntimeInfo.Builder |
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];
| Name | Description |
key |
String |
| Type | Description |
boolean |
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];
| Type | Description |
UsageMetrics |
The approximateUsage. |
getApproximateUsageBuilder()
public UsageMetrics.Builder getApproximateUsageBuilder()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];
| Type | Description |
UsageMetrics.Builder |
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];
| 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];
| Type | Description |
UsageSnapshot |
The currentUsage. |
getCurrentUsageBuilder()
public UsageSnapshot.Builder getCurrentUsageBuilder()Output only. Snapshot of current workload resource usage.
.google.cloud.dataproc.v1.UsageSnapshot current_usage = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
UsageSnapshot.Builder |
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];
| Type | Description |
UsageSnapshotOrBuilder |
getDefaultInstanceForType()
public RuntimeInfo getDefaultInstanceForType()| Type | Description |
RuntimeInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
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];
| 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];
| Type | Description |
ByteString |
The bytes for diagnosticOutputUri. |
getEndpoints()
public Map<String,String> getEndpoints()Use #getEndpointsMap() instead.
| 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];
| 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];
| 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];
| Name | Description |
key |
String |
defaultValue |
String |
| 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];
| Name | Description |
key |
String |
| Type | Description |
String |
getMutableEndpoints()
public Map<String,String> getMutableEndpoints()Use alternate mutation accessors instead.
| Type | Description |
Map<String,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];
| 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];
| Type | Description |
ByteString |
The bytes for outputUri. |
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];
| 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];
| Type | Description |
boolean |
Whether the currentUsage field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Name | Description |
number |
int |
| Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Name | Description |
number |
int |
| Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeApproximateUsage(UsageMetrics value)
public RuntimeInfo.Builder mergeApproximateUsage(UsageMetrics value)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];
| Name | Description |
value |
UsageMetrics |
| Type | Description |
RuntimeInfo.Builder |
mergeCurrentUsage(UsageSnapshot value)
public RuntimeInfo.Builder mergeCurrentUsage(UsageSnapshot value)Output only. Snapshot of current workload resource usage.
.google.cloud.dataproc.v1.UsageSnapshot current_usage = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
UsageSnapshot |
| Type | Description |
RuntimeInfo.Builder |
mergeFrom(RuntimeInfo other)
public RuntimeInfo.Builder mergeFrom(RuntimeInfo other)| Name | Description |
other |
RuntimeInfo |
| Type | Description |
RuntimeInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RuntimeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
RuntimeInfo.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public RuntimeInfo.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
RuntimeInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
RuntimeInfo.Builder |
putAllEndpoints(Map<String,String> values)
public RuntimeInfo.Builder putAllEndpoints(Map<String,String> values)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];
| Name | Description |
values |
Map<String,String> |
| Type | Description |
RuntimeInfo.Builder |
putEndpoints(String key, String value)
public RuntimeInfo.Builder putEndpoints(String key, String value)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];
| Name | Description |
key |
String |
value |
String |
| Type | Description |
RuntimeInfo.Builder |
removeEndpoints(String key)
public RuntimeInfo.Builder removeEndpoints(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];
| Name | Description |
key |
String |
| Type | Description |
RuntimeInfo.Builder |
setApproximateUsage(UsageMetrics value)
public RuntimeInfo.Builder setApproximateUsage(UsageMetrics value)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];
| Name | Description |
value |
UsageMetrics |
| Type | Description |
RuntimeInfo.Builder |
setApproximateUsage(UsageMetrics.Builder builderForValue)
public RuntimeInfo.Builder setApproximateUsage(UsageMetrics.Builder builderForValue)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];
| Name | Description |
builderForValue |
UsageMetrics.Builder |
| Type | Description |
RuntimeInfo.Builder |
setCurrentUsage(UsageSnapshot value)
public RuntimeInfo.Builder setCurrentUsage(UsageSnapshot value)Output only. Snapshot of current workload resource usage.
.google.cloud.dataproc.v1.UsageSnapshot current_usage = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
UsageSnapshot |
| Type | Description |
RuntimeInfo.Builder |
setCurrentUsage(UsageSnapshot.Builder builderForValue)
public RuntimeInfo.Builder setCurrentUsage(UsageSnapshot.Builder builderForValue)Output only. Snapshot of current workload resource usage.
.google.cloud.dataproc.v1.UsageSnapshot current_usage = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
builderForValue |
UsageSnapshot.Builder |
| Type | Description |
RuntimeInfo.Builder |
setDiagnosticOutputUri(String value)
public RuntimeInfo.Builder setDiagnosticOutputUri(String value)Output only. A URI pointing to the location of the diagnostics tarball.
string diagnostic_output_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
StringThe diagnosticOutputUri to set. |
| Type | Description |
RuntimeInfo.Builder |
This builder for chaining. |
setDiagnosticOutputUriBytes(ByteString value)
public RuntimeInfo.Builder setDiagnosticOutputUriBytes(ByteString value)Output only. A URI pointing to the location of the diagnostics tarball.
string diagnostic_output_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
ByteStringThe bytes for diagnosticOutputUri to set. |
| Type | Description |
RuntimeInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RuntimeInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
RuntimeInfo.Builder |
setOutputUri(String value)
public RuntimeInfo.Builder setOutputUri(String value)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];
| Name | Description |
value |
StringThe outputUri to set. |
| Type | Description |
RuntimeInfo.Builder |
This builder for chaining. |
setOutputUriBytes(ByteString value)
public RuntimeInfo.Builder setOutputUriBytes(ByteString value)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];
| Name | Description |
value |
ByteStringThe bytes for outputUri to set. |
| Type | Description |
RuntimeInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuntimeInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
RuntimeInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
RuntimeInfo.Builder |