Package com.google.dataflow.v1beta3
Interface ParameterMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ParameterMetadata
,ParameterMetadata.Builder
public interface ParameterMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsCustomMetadata(String key)
Optional.Map<String,String>
getCustomMetadata()
Deprecated.int
getCustomMetadataCount()
Optional.Map<String,String>
getCustomMetadataMap()
Optional.String
getCustomMetadataOrDefault(String key, String defaultValue)
Optional.String
getCustomMetadataOrThrow(String key)
Optional.String
getHelpText()
Required.com.google.protobuf.ByteString
getHelpTextBytes()
Required.boolean
getIsOptional()
Optional.String
getLabel()
Required.com.google.protobuf.ByteString
getLabelBytes()
Required.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.ParameterType
getParamType()
Optional.int
getParamTypeValue()
Optional.String
getRegexes(int index)
Optional.com.google.protobuf.ByteString
getRegexesBytes(int index)
Optional.int
getRegexesCount()
Optional.List<String>
getRegexesList()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The name of the parameter.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The name of the parameter.
string name = 1;
- Returns:
- The bytes for name.
-
getLabel
String getLabel()
Required. The label to display for the parameter.
string label = 2;
- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()
Required. The label to display for the parameter.
string label = 2;
- Returns:
- The bytes for label.
-
getHelpText
String getHelpText()
Required. The help text to display for the parameter.
string help_text = 3;
- Returns:
- The helpText.
-
getHelpTextBytes
com.google.protobuf.ByteString getHelpTextBytes()
Required. The help text to display for the parameter.
string help_text = 3;
- Returns:
- The bytes for helpText.
-
getIsOptional
boolean getIsOptional()
Optional. Whether the parameter is optional. Defaults to false.
bool is_optional = 4;
- Returns:
- The isOptional.
-
getRegexesList
List<String> getRegexesList()
Optional. Regexes that the parameter must match.
repeated string regexes = 5;
- Returns:
- A list containing the regexes.
-
getRegexesCount
int getRegexesCount()
Optional. Regexes that the parameter must match.
repeated string regexes = 5;
- Returns:
- The count of regexes.
-
getRegexes
String getRegexes(int index)
Optional. Regexes that the parameter must match.
repeated string regexes = 5;
- Parameters:
index
- The index of the element to return.- Returns:
- The regexes at the given index.
-
getRegexesBytes
com.google.protobuf.ByteString getRegexesBytes(int index)
Optional. Regexes that the parameter must match.
repeated string regexes = 5;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the regexes at the given index.
-
getParamTypeValue
int getParamTypeValue()
Optional. The type of the parameter. Used for selecting input picker.
.google.dataflow.v1beta3.ParameterType param_type = 6;
- Returns:
- The enum numeric value on the wire for paramType.
-
getParamType
ParameterType getParamType()
Optional. The type of the parameter. Used for selecting input picker.
.google.dataflow.v1beta3.ParameterType param_type = 6;
- Returns:
- The paramType.
-
getCustomMetadataCount
int getCustomMetadataCount()
Optional. Additional metadata for describing this parameter.
map<string, string> custom_metadata = 7;
-
containsCustomMetadata
boolean containsCustomMetadata(String key)
Optional. Additional metadata for describing this parameter.
map<string, string> custom_metadata = 7;
-
getCustomMetadata
@Deprecated Map<String,String> getCustomMetadata()
Deprecated.UsegetCustomMetadataMap()
instead.
-
getCustomMetadataMap
Map<String,String> getCustomMetadataMap()
Optional. Additional metadata for describing this parameter.
map<string, string> custom_metadata = 7;
-
getCustomMetadataOrDefault
String getCustomMetadataOrDefault(String key, String defaultValue)
Optional. Additional metadata for describing this parameter.
map<string, string> custom_metadata = 7;
-
-