Class TemplateMetadata.Builder (0.52.0)

public static final class TemplateMetadata.Builder extends GeneratedMessageV3.Builder<TemplateMetadata.Builder> implements TemplateMetadataOrBuilder

Metadata describing a template.

Protobuf type google.dataflow.v1beta3.TemplateMetadata

Static Methods

getDescriptor()

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

Methods

addAllParameters(Iterable<? extends ParameterMetadata> values)

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

The parameters for the template.

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

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

addParameters(ParameterMetadata value)

public TemplateMetadata.Builder addParameters(ParameterMetadata value)

The parameters for the template.

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

Parameter
Name Description
value ParameterMetadata
Returns
Type Description
TemplateMetadata.Builder

addParameters(ParameterMetadata.Builder builderForValue)

public TemplateMetadata.Builder addParameters(ParameterMetadata.Builder builderForValue)

The parameters for the template.

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

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

addParameters(int index, ParameterMetadata value)

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

The parameters for the template.

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

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

addParameters(int index, ParameterMetadata.Builder builderForValue)

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

The parameters for the template.

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

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

addParametersBuilder()

public ParameterMetadata.Builder addParametersBuilder()

The parameters for the template.

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

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 = 3;

Parameter
Name Description
index int
Returns
Type Description
ParameterMetadata.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TemplateMetadata build()
Returns
Type Description
TemplateMetadata

buildPartial()

public TemplateMetadata buildPartial()
Returns
Type Description
TemplateMetadata

clear()

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

clearDescription()

public TemplateMetadata.Builder clearDescription()

Optional. A description of the template.

string description = 2;

Returns
Type Description
TemplateMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public TemplateMetadata.Builder clearName()

Required. The name of the template.

string name = 1;

Returns
Type Description
TemplateMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameters()

public TemplateMetadata.Builder clearParameters()

The parameters for the template.

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

Returns
Type Description
TemplateMetadata.Builder

clone()

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

getDefaultInstanceForType()

public TemplateMetadata getDefaultInstanceForType()
Returns
Type Description
TemplateMetadata

getDescription()

public String getDescription()

Optional. A description of the template.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. A description of the template.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the template.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the template.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParameters(int index)

public ParameterMetadata getParameters(int index)

The parameters for the template.

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

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 = 3;

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 = 3;

Returns
Type Description
List<Builder>

getParametersCount()

public int getParametersCount()

The parameters for the template.

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

Returns
Type Description
int

getParametersList()

public List<ParameterMetadata> getParametersList()

The parameters for the template.

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

Returns
Type Description
List<ParameterMetadata>

getParametersOrBuilder(int index)

public ParameterMetadataOrBuilder getParametersOrBuilder(int index)

The parameters for the template.

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

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 = 3;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TemplateMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeParameters(int index)

public TemplateMetadata.Builder removeParameters(int index)

The parameters for the template.

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

Parameter
Name Description
index int
Returns
Type Description
TemplateMetadata.Builder

setDescription(String value)

public TemplateMetadata.Builder setDescription(String value)

Optional. A description of the template.

string description = 2;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
TemplateMetadata.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public TemplateMetadata.Builder setDescriptionBytes(ByteString value)

Optional. A description of the template.

string description = 2;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
TemplateMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public TemplateMetadata.Builder setName(String value)

Required. The name of the template.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
TemplateMetadata.Builder

This builder for chaining.

setNameBytes(ByteString value)

public TemplateMetadata.Builder setNameBytes(ByteString value)

Required. The name of the template.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
TemplateMetadata.Builder

This builder for chaining.

setParameters(int index, ParameterMetadata value)

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

The parameters for the template.

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

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

setParameters(int index, ParameterMetadata.Builder builderForValue)

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

The parameters for the template.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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