Class RuntimeMetadata.Builder (0.46.0)

public static final class RuntimeMetadata.Builder extends GeneratedMessageV3.Builder<RuntimeMetadata.Builder> implements RuntimeMetadataOrBuilder

RuntimeMetadata describing a runtime environment.

Protobuf type google.dataflow.v1beta3.RuntimeMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllParameters(Iterable<? extends ParameterMetadata> values)

public RuntimeMetadata.Builder addAllParameters(Iterable<? extends ParameterMetadata> values)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameter
Name Description
values Iterable<? extends com.google.dataflow.v1beta3.ParameterMetadata>
Returns
Type Description
RuntimeMetadata.Builder

addParameters(ParameterMetadata value)

public RuntimeMetadata.Builder addParameters(ParameterMetadata value)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameter
Name Description
value ParameterMetadata
Returns
Type Description
RuntimeMetadata.Builder

addParameters(ParameterMetadata.Builder builderForValue)

public RuntimeMetadata.Builder addParameters(ParameterMetadata.Builder builderForValue)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameter
Name Description
builderForValue ParameterMetadata.Builder
Returns
Type Description
RuntimeMetadata.Builder

addParameters(int index, ParameterMetadata value)

public RuntimeMetadata.Builder addParameters(int index, ParameterMetadata value)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameters
Name Description
index int
value ParameterMetadata
Returns
Type Description
RuntimeMetadata.Builder

addParameters(int index, ParameterMetadata.Builder builderForValue)

public RuntimeMetadata.Builder addParameters(int index, ParameterMetadata.Builder builderForValue)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameters
Name Description
index int
builderForValue ParameterMetadata.Builder
Returns
Type Description
RuntimeMetadata.Builder

addParametersBuilder()

public ParameterMetadata.Builder addParametersBuilder()

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Returns
Type Description
ParameterMetadata.Builder

addParametersBuilder(int index)

public ParameterMetadata.Builder addParametersBuilder(int index)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
ParameterMetadata.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeMetadata.Builder
Overrides

build()

public RuntimeMetadata build()
Returns
Type Description
RuntimeMetadata

buildPartial()

public RuntimeMetadata buildPartial()
Returns
Type Description
RuntimeMetadata

clear()

public RuntimeMetadata.Builder clear()
Returns
Type Description
RuntimeMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RuntimeMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RuntimeMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuntimeMetadata.Builder
Overrides

clearParameters()

public RuntimeMetadata.Builder clearParameters()

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Returns
Type Description
RuntimeMetadata.Builder

clearSdkInfo()

public RuntimeMetadata.Builder clearSdkInfo()

SDK Info for the template.

.google.dataflow.v1beta3.SDKInfo sdk_info = 1;

Returns
Type Description
RuntimeMetadata.Builder

clone()

public RuntimeMetadata.Builder clone()
Returns
Type Description
RuntimeMetadata.Builder
Overrides

getDefaultInstanceForType()

public RuntimeMetadata getDefaultInstanceForType()
Returns
Type Description
RuntimeMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParameters(int index)

public ParameterMetadata getParameters(int index)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
ParameterMetadata

getParametersBuilder(int index)

public ParameterMetadata.Builder getParametersBuilder(int index)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
ParameterMetadata.Builder

getParametersBuilderList()

public List<ParameterMetadata.Builder> getParametersBuilderList()

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Returns
Type Description
List<Builder>

getParametersCount()

public int getParametersCount()

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Returns
Type Description
int

getParametersList()

public List<ParameterMetadata> getParametersList()

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Returns
Type Description
List<ParameterMetadata>

getParametersOrBuilder(int index)

public ParameterMetadataOrBuilder getParametersOrBuilder(int index)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
ParameterMetadataOrBuilder

getParametersOrBuilderList()

public List<? extends ParameterMetadataOrBuilder> getParametersOrBuilderList()

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Returns
Type Description
List<? extends com.google.dataflow.v1beta3.ParameterMetadataOrBuilder>

getSdkInfo()

public SDKInfo getSdkInfo()

SDK Info for the template.

.google.dataflow.v1beta3.SDKInfo sdk_info = 1;

Returns
Type Description
SDKInfo

The sdkInfo.

getSdkInfoBuilder()

public SDKInfo.Builder getSdkInfoBuilder()

SDK Info for the template.

.google.dataflow.v1beta3.SDKInfo sdk_info = 1;

Returns
Type Description
SDKInfo.Builder

getSdkInfoOrBuilder()

public SDKInfoOrBuilder getSdkInfoOrBuilder()

SDK Info for the template.

.google.dataflow.v1beta3.SDKInfo sdk_info = 1;

Returns
Type Description
SDKInfoOrBuilder

hasSdkInfo()

public boolean hasSdkInfo()

SDK Info for the template.

.google.dataflow.v1beta3.SDKInfo sdk_info = 1;

Returns
Type Description
boolean

Whether the sdkInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RuntimeMetadata other)

public RuntimeMetadata.Builder mergeFrom(RuntimeMetadata other)
Parameter
Name Description
other RuntimeMetadata
Returns
Type Description
RuntimeMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RuntimeMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuntimeMetadata.Builder
Overrides

mergeSdkInfo(SDKInfo value)

public RuntimeMetadata.Builder mergeSdkInfo(SDKInfo value)

SDK Info for the template.

.google.dataflow.v1beta3.SDKInfo sdk_info = 1;

Parameter
Name Description
value SDKInfo
Returns
Type Description
RuntimeMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeMetadata.Builder
Overrides

removeParameters(int index)

public RuntimeMetadata.Builder removeParameters(int index)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
RuntimeMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeMetadata.Builder
Overrides

setParameters(int index, ParameterMetadata value)

public RuntimeMetadata.Builder setParameters(int index, ParameterMetadata value)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameters
Name Description
index int
value ParameterMetadata
Returns
Type Description
RuntimeMetadata.Builder

setParameters(int index, ParameterMetadata.Builder builderForValue)

public RuntimeMetadata.Builder setParameters(int index, ParameterMetadata.Builder builderForValue)

The parameters for the template.

repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 2;

Parameters
Name Description
index int
builderForValue ParameterMetadata.Builder
Returns
Type Description
RuntimeMetadata.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuntimeMetadata.Builder
Overrides

setSdkInfo(SDKInfo value)

public RuntimeMetadata.Builder setSdkInfo(SDKInfo value)

SDK Info for the template.

.google.dataflow.v1beta3.SDKInfo sdk_info = 1;

Parameter
Name Description
value SDKInfo
Returns
Type Description
RuntimeMetadata.Builder

setSdkInfo(SDKInfo.Builder builderForValue)

public RuntimeMetadata.Builder setSdkInfo(SDKInfo.Builder builderForValue)

SDK Info for the template.

.google.dataflow.v1beta3.SDKInfo sdk_info = 1;

Parameter
Name Description
builderForValue SDKInfo.Builder
Returns
Type Description
RuntimeMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeMetadata.Builder
Overrides