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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
public TemplateMetadata.Builder addParameters(ParameterMetadata value)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
public TemplateMetadata.Builder addParameters(ParameterMetadata.Builder builderForValue)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
public TemplateMetadata.Builder addParameters(int index, ParameterMetadata value)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
public TemplateMetadata.Builder addParameters(int index, ParameterMetadata.Builder builderForValue)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
public ParameterMetadata.Builder addParametersBuilder()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
public ParameterMetadata.Builder addParametersBuilder(int index)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter |
Name |
Description |
index |
int
|
public TemplateMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TemplateMetadata build()
public TemplateMetadata buildPartial()
public TemplateMetadata.Builder clear()
Overrides
public TemplateMetadata.Builder clearDescription()
Optional. A description of the template.
string description = 2;
public TemplateMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TemplateMetadata.Builder clearName()
Required. The name of the template.
string name = 1;
public TemplateMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TemplateMetadata.Builder clearParameters()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
public TemplateMetadata.Builder clone()
Overrides
public TemplateMetadata getDefaultInstanceForType()
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()
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 |
Type |
Description |
ByteString |
The bytes for name.
|
public ParameterMetadata getParameters(int index)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter |
Name |
Description |
index |
int
|
public ParameterMetadata.Builder getParametersBuilder(int index)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter |
Name |
Description |
index |
int
|
public List<ParameterMetadata.Builder> getParametersBuilderList()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
public int getParametersCount()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Returns |
Type |
Description |
int |
|
public List<ParameterMetadata> getParametersList()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
public ParameterMetadataOrBuilder getParametersOrBuilder(int index)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
public final boolean isInitialized()
Overrides
public TemplateMetadata.Builder mergeFrom(TemplateMetadata other)
public TemplateMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TemplateMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final TemplateMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TemplateMetadata.Builder removeParameters(int index)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Parameter |
Name |
Description |
index |
int
|
public TemplateMetadata.Builder setDescription(String value)
Optional. A description of the template.
string description = 2;
Parameter |
Name |
Description |
value |
String
The description to set.
|
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.
|
public TemplateMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public TemplateMetadata.Builder setParameters(int index, ParameterMetadata value)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
public TemplateMetadata.Builder setParameters(int index, ParameterMetadata.Builder builderForValue)
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
public TemplateMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final TemplateMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides