public static final class TemplateMetadata.Builder extends GeneratedMessageV3.Builder<TemplateMetadata.Builder> implements TemplateMetadataOrBuilder
Metadata describing a template.
Protobuf type google.dataflow.v1beta3.TemplateMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public TemplateMetadata.Builder addParameters(ParameterMetadata value)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter
Returns
public TemplateMetadata.Builder addParameters(ParameterMetadata.Builder builderForValue)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter
Returns
public TemplateMetadata.Builder addParameters(int index, ParameterMetadata value)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameters
Returns
public TemplateMetadata.Builder addParameters(int index, ParameterMetadata.Builder builderForValue)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameters
Returns
public ParameterMetadata.Builder addParametersBuilder()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Returns
public ParameterMetadata.Builder addParametersBuilder(int index)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter
Returns
public TemplateMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TemplateMetadata build()
Returns
public TemplateMetadata buildPartial()
Returns
public TemplateMetadata.Builder clear()
Returns
Overrides
public TemplateMetadata.Builder clearDescription()
Optional. A description of the template.
string description = 2;
Returns
public TemplateMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TemplateMetadata.Builder clearName()
Required. The name of the template.
string name = 1;
Returns
public TemplateMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TemplateMetadata.Builder clearParameters()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Returns
public TemplateMetadata.Builder clone()
Returns
Overrides
public TemplateMetadata getDefaultInstanceForType()
Returns
public String getDescription()
Optional. A description of the template.
string description = 2;
Returns
Type | Description |
String | The description.
|
public ByteString getDescriptionBytes()
Optional. A description of the template.
string description = 2;
Returns
Type | Description |
ByteString | The bytes for description.
|
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. The name of the template.
string name = 1;
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The name of the template.
string name = 1;
Returns
public ParameterMetadata getParameters(int index)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter
Returns
public ParameterMetadata.Builder getParametersBuilder(int index)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter
Returns
public List<ParameterMetadata.Builder> getParametersBuilderList()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Returns
public int getParametersCount()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Returns
public List<ParameterMetadata> getParametersList()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Returns
public ParameterMetadataOrBuilder getParametersOrBuilder(int index)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter
Returns
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TemplateMetadata.Builder mergeFrom(TemplateMetadata other)
Parameter
Returns
public TemplateMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TemplateMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final TemplateMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public TemplateMetadata.Builder removeParameters(int index)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter
Returns
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
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
public TemplateMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public TemplateMetadata.Builder setParameters(int index, ParameterMetadata value)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameters
Returns
public TemplateMetadata.Builder setParameters(int index, ParameterMetadata.Builder builderForValue)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameters
Returns
public TemplateMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final TemplateMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides