- 0.67.0 (latest)
- 0.66.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.5.0
public static final class TemplateMetadata.Builder extends GeneratedMessageV3.Builder<TemplateMetadata.Builder> implements TemplateMetadataOrBuilder
Metadata describing a template.
Protobuf type google.dataflow.v1beta3.TemplateMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TemplateMetadata.BuilderImplements
TemplateMetadataOrBuilderStatic 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 |
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 |
clearDefaultStreamingMode()
public TemplateMetadata.Builder clearDefaultStreamingMode()
Optional. Indicates the default streaming mode for a streaming template. Only valid if both supports_at_least_once and supports_exactly_once are true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE
string default_streaming_mode = 8;
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
This builder for chaining. |
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 |
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 |
clearParameters()
public TemplateMetadata.Builder clearParameters()
The parameters for the template.
repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
clearStreaming()
public TemplateMetadata.Builder clearStreaming()
Optional. Indicates if the template is streaming or not.
bool streaming = 5;
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
This builder for chaining. |
clearSupportsAtLeastOnce()
public TemplateMetadata.Builder clearSupportsAtLeastOnce()
Optional. Indicates if the streaming template supports at least once mode.
bool supports_at_least_once = 6;
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
This builder for chaining. |
clearSupportsExactlyOnce()
public TemplateMetadata.Builder clearSupportsExactlyOnce()
Optional. Indicates if the streaming template supports exactly once mode.
bool supports_exactly_once = 7;
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
This builder for chaining. |
clone()
public TemplateMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
getDefaultInstanceForType()
public TemplateMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TemplateMetadata |
getDefaultStreamingMode()
public String getDefaultStreamingMode()
Optional. Indicates the default streaming mode for a streaming template. Only valid if both supports_at_least_once and supports_exactly_once are true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE
string default_streaming_mode = 8;
Returns | |
---|---|
Type | Description |
String |
The defaultStreamingMode. |
getDefaultStreamingModeBytes()
public ByteString getDefaultStreamingModeBytes()
Optional. Indicates the default streaming mode for a streaming template. Only valid if both supports_at_least_once and supports_exactly_once are true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE
string default_streaming_mode = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for defaultStreamingMode. |
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 |
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> |
getStreaming()
public boolean getStreaming()
Optional. Indicates if the template is streaming or not.
bool streaming = 5;
Returns | |
---|---|
Type | Description |
boolean |
The streaming. |
getSupportsAtLeastOnce()
public boolean getSupportsAtLeastOnce()
Optional. Indicates if the streaming template supports at least once mode.
bool supports_at_least_once = 6;
Returns | |
---|---|
Type | Description |
boolean |
The supportsAtLeastOnce. |
getSupportsExactlyOnce()
public boolean getSupportsExactlyOnce()
Optional. Indicates if the streaming template supports exactly once mode.
bool supports_exactly_once = 7;
Returns | |
---|---|
Type | Description |
boolean |
The supportsExactlyOnce. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TemplateMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TemplateMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
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 |
setDefaultStreamingMode(String value)
public TemplateMetadata.Builder setDefaultStreamingMode(String value)
Optional. Indicates the default streaming mode for a streaming template. Only valid if both supports_at_least_once and supports_exactly_once are true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE
string default_streaming_mode = 8;
Parameter | |
---|---|
Name | Description |
value |
String The defaultStreamingMode to set. |
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
This builder for chaining. |
setDefaultStreamingModeBytes(ByteString value)
public TemplateMetadata.Builder setDefaultStreamingModeBytes(ByteString value)
Optional. Indicates the default streaming mode for a streaming template. Only valid if both supports_at_least_once and supports_exactly_once are true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE
string default_streaming_mode = 8;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for defaultStreamingMode to set. |
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
This builder for chaining. |
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 |
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 |
setStreaming(boolean value)
public TemplateMetadata.Builder setStreaming(boolean value)
Optional. Indicates if the template is streaming or not.
bool streaming = 5;
Parameter | |
---|---|
Name | Description |
value |
boolean The streaming to set. |
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
This builder for chaining. |
setSupportsAtLeastOnce(boolean value)
public TemplateMetadata.Builder setSupportsAtLeastOnce(boolean value)
Optional. Indicates if the streaming template supports at least once mode.
bool supports_at_least_once = 6;
Parameter | |
---|---|
Name | Description |
value |
boolean The supportsAtLeastOnce to set. |
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
This builder for chaining. |
setSupportsExactlyOnce(boolean value)
public TemplateMetadata.Builder setSupportsExactlyOnce(boolean value)
Optional. Indicates if the streaming template supports exactly once mode.
bool supports_exactly_once = 7;
Parameter | |
---|---|
Name | Description |
value |
boolean The supportsExactlyOnce to set. |
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TemplateMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TemplateMetadata.Builder |