Class ParameterMetadata

  • All Implemented Interfaces:
    ParameterMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ParameterMetadata
    extends com.google.protobuf.GeneratedMessageV3
    implements ParameterMetadataOrBuilder
     Metadata for a specific parameter.
     
    Protobuf type google.dataflow.v1beta3.ParameterMetadata
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The name of the parameter.
         
        string name = 1;
        Specified by:
        getNameBytes in interface ParameterMetadataOrBuilder
        Returns:
        The bytes for name.
      • getLabelBytes

        public com.google.protobuf.ByteString getLabelBytes()
         Required. The label to display for the parameter.
         
        string label = 2;
        Specified by:
        getLabelBytes in interface ParameterMetadataOrBuilder
        Returns:
        The bytes for label.
      • getHelpTextBytes

        public com.google.protobuf.ByteString getHelpTextBytes()
         Required. The help text to display for the parameter.
         
        string help_text = 3;
        Specified by:
        getHelpTextBytes in interface ParameterMetadataOrBuilder
        Returns:
        The bytes for helpText.
      • getIsOptional

        public boolean getIsOptional()
         Optional. Whether the parameter is optional. Defaults to false.
         
        bool is_optional = 4;
        Specified by:
        getIsOptional in interface ParameterMetadataOrBuilder
        Returns:
        The isOptional.
      • getRegexesList

        public com.google.protobuf.ProtocolStringList getRegexesList()
         Optional. Regexes that the parameter must match.
         
        repeated string regexes = 5;
        Specified by:
        getRegexesList in interface ParameterMetadataOrBuilder
        Returns:
        A list containing the regexes.
      • getRegexesCount

        public int getRegexesCount()
         Optional. Regexes that the parameter must match.
         
        repeated string regexes = 5;
        Specified by:
        getRegexesCount in interface ParameterMetadataOrBuilder
        Returns:
        The count of regexes.
      • getRegexes

        public String getRegexes​(int index)
         Optional. Regexes that the parameter must match.
         
        repeated string regexes = 5;
        Specified by:
        getRegexes in interface ParameterMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The regexes at the given index.
      • getRegexesBytes

        public com.google.protobuf.ByteString getRegexesBytes​(int index)
         Optional. Regexes that the parameter must match.
         
        repeated string regexes = 5;
        Specified by:
        getRegexesBytes in interface ParameterMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the regexes at the given index.
      • getParamTypeValue

        public int getParamTypeValue()
         Optional. The type of the parameter.
         Used for selecting input picker.
         
        .google.dataflow.v1beta3.ParameterType param_type = 6;
        Specified by:
        getParamTypeValue in interface ParameterMetadataOrBuilder
        Returns:
        The enum numeric value on the wire for paramType.
      • getParamType

        public ParameterType getParamType()
         Optional. The type of the parameter.
         Used for selecting input picker.
         
        .google.dataflow.v1beta3.ParameterType param_type = 6;
        Specified by:
        getParamType in interface ParameterMetadataOrBuilder
        Returns:
        The paramType.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ParameterMetadata parseFrom​(ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ParameterMetadata parseFrom​(ByteBuffer data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ParameterMetadata parseFrom​(com.google.protobuf.ByteString data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ParameterMetadata parseFrom​(com.google.protobuf.ByteString data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ParameterMetadata parseFrom​(byte[] data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ParameterMetadata parseFrom​(byte[] data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ParameterMetadata parseFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
        Throws:
        IOException
      • newBuilderForType

        public ParameterMetadata.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ParameterMetadata.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ParameterMetadata.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ParameterMetadata> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ParameterMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder