Class RuntimeInfo.Builder (3.1.2)

public static final class RuntimeInfo.Builder extends GeneratedMessageV3.Builder<RuntimeInfo.Builder> implements RuntimeInfoOrBuilder

Runtime information about workload execution.

Protobuf type google.cloud.dataproc.v1.RuntimeInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeInfo.Builder
Overrides

build()

public RuntimeInfo build()
Returns
TypeDescription
RuntimeInfo

buildPartial()

public RuntimeInfo buildPartial()
Returns
TypeDescription
RuntimeInfo

clear()

public RuntimeInfo.Builder clear()
Returns
TypeDescription
RuntimeInfo.Builder
Overrides

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
TypeDescription
RuntimeInfo.Builder

This builder for chaining.

clearEndpoints()

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

clearField(Descriptors.FieldDescriptor field)

public RuntimeInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RuntimeInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RuntimeInfo.Builder
Overrides

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
TypeDescription
RuntimeInfo.Builder

This builder for chaining.

clone()

public RuntimeInfo.Builder clone()
Returns
TypeDescription
RuntimeInfo.Builder
Overrides

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

getDefaultInstanceForType()

public RuntimeInfo getDefaultInstanceForType()
Returns
TypeDescription
RuntimeInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getMutableEndpoints()

public Map<String,String> getMutableEndpoints()

Use alternate mutation accessors instead.

Returns
TypeDescription
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];

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

internalGetMutableMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RuntimeInfo other)

public RuntimeInfo.Builder mergeFrom(RuntimeInfo other)
Parameter
NameDescription
otherRuntimeInfo
Returns
TypeDescription
RuntimeInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeInfo.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RuntimeInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RuntimeInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeInfo.Builder
Overrides

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];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
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];

Parameter
NameDescription
keyString
Returns
TypeDescription
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];

Parameter
NameDescription
valueString

The diagnosticOutputUri to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueByteString

The bytes for diagnosticOutputUri to set.

Returns
TypeDescription
RuntimeInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeInfo.Builder
Overrides

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];

Parameter
NameDescription
valueString

The outputUri to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueByteString

The bytes for outputUri to set.

Returns
TypeDescription
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)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RuntimeInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeInfo.Builder
Overrides