Package com.google.cloud.dataproc.v1
Class RuntimeInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
- com.google.cloud.dataproc.v1.RuntimeInfo.Builder
-
- All Implemented Interfaces:
RuntimeInfoOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- RuntimeInfo
public static final class RuntimeInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder> implements RuntimeInfoOrBuilder
Runtime information about workload execution.
Protobuf typegoogle.cloud.dataproc.v1.RuntimeInfo
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<RuntimeInfo.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
clear
public RuntimeInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
getDefaultInstanceForType
public RuntimeInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RuntimeInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RuntimeInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RuntimeInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
setField
public RuntimeInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
clearField
public RuntimeInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
clearOneof
public RuntimeInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
setRepeatedField
public RuntimeInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
addRepeatedField
public RuntimeInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
mergeFrom
public RuntimeInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RuntimeInfo.Builder>
-
mergeFrom
public RuntimeInfo.Builder mergeFrom(RuntimeInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
mergeFrom
public RuntimeInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RuntimeInfo.Builder>
- Throws:
IOException
-
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
-
clearEndpoints
public RuntimeInfo.Builder clearEndpoints()
-
removeEndpoints
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];
-
getMutableEndpoints
@Deprecated public Map<String,String> getMutableEndpoints()
Deprecated.Use alternate mutation accessors instead.
-
putEndpoints
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];
-
putAllEndpoints
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];
-
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.
-
setOutputUri
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];
- Parameters:
value
- The outputUri to set.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
setOutputUriBytes
public RuntimeInfo.Builder setOutputUriBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for outputUri to set.- Returns:
- This builder for chaining.
-
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.
-
setDiagnosticOutputUri
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];
- Parameters:
value
- The diagnosticOutputUri to set.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
setDiagnosticOutputUriBytes
public RuntimeInfo.Builder setDiagnosticOutputUriBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for diagnosticOutputUri to set.- Returns:
- This builder for chaining.
-
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.
-
setApproximateUsage
public RuntimeInfo.Builder setApproximateUsage(UsageMetrics value)
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];
-
setApproximateUsage
public RuntimeInfo.Builder setApproximateUsage(UsageMetrics.Builder builderForValue)
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];
-
mergeApproximateUsage
public RuntimeInfo.Builder mergeApproximateUsage(UsageMetrics value)
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];
-
clearApproximateUsage
public RuntimeInfo.Builder clearApproximateUsage()
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];
-
getApproximateUsageBuilder
public UsageMetrics.Builder getApproximateUsageBuilder()
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];
-
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.
-
setCurrentUsage
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];
-
setCurrentUsage
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];
-
mergeCurrentUsage
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];
-
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];
-
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];
-
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
-
setUnknownFields
public final RuntimeInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
mergeUnknownFields
public final RuntimeInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeInfo.Builder>
-
-