Class TemplateMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.dataflow.v1beta3.TemplateMetadata
All Implemented Interfaces:
TemplateMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class TemplateMetadata extends com.google.protobuf.GeneratedMessage implements TemplateMetadataOrBuilder
 Metadata describing a template.
 
Protobuf type google.dataflow.v1beta3.TemplateMetadata
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • PARAMETERS_FIELD_NUMBER

      public static final int PARAMETERS_FIELD_NUMBER
      See Also:
    • STREAMING_FIELD_NUMBER

      public static final int STREAMING_FIELD_NUMBER
      See Also:
    • SUPPORTS_AT_LEAST_ONCE_FIELD_NUMBER

      public static final int SUPPORTS_AT_LEAST_ONCE_FIELD_NUMBER
      See Also:
    • SUPPORTS_EXACTLY_ONCE_FIELD_NUMBER

      public static final int SUPPORTS_EXACTLY_ONCE_FIELD_NUMBER
      See Also:
    • DEFAULT_STREAMING_MODE_FIELD_NUMBER

      public static final int DEFAULT_STREAMING_MODE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Required. The name of the template.
       
      string name = 1;
      Specified by:
      getName in interface TemplateMetadataOrBuilder
      Returns:
      The name.
    • getNameBytes

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

      public String getDescription()
       Optional. A description of the template.
       
      string description = 2;
      Specified by:
      getDescription in interface TemplateMetadataOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. A description of the template.
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface TemplateMetadataOrBuilder
      Returns:
      The bytes for description.
    • getParametersList

      public List<ParameterMetadata> getParametersList()
       The parameters for the template.
       
      repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
      Specified by:
      getParametersList in interface TemplateMetadataOrBuilder
    • getParametersOrBuilderList

      public List<? extends ParameterMetadataOrBuilder> getParametersOrBuilderList()
       The parameters for the template.
       
      repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
      Specified by:
      getParametersOrBuilderList in interface TemplateMetadataOrBuilder
    • getParametersCount

      public int getParametersCount()
       The parameters for the template.
       
      repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
      Specified by:
      getParametersCount in interface TemplateMetadataOrBuilder
    • getParameters

      public ParameterMetadata getParameters(int index)
       The parameters for the template.
       
      repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
      Specified by:
      getParameters in interface TemplateMetadataOrBuilder
    • getParametersOrBuilder

      public ParameterMetadataOrBuilder getParametersOrBuilder(int index)
       The parameters for the template.
       
      repeated .google.dataflow.v1beta3.ParameterMetadata parameters = 3;
      Specified by:
      getParametersOrBuilder in interface TemplateMetadataOrBuilder
    • getStreaming

      public boolean getStreaming()
       Optional. Indicates if the template is streaming or not.
       
      bool streaming = 5;
      Specified by:
      getStreaming in interface TemplateMetadataOrBuilder
      Returns:
      The streaming.
    • getSupportsAtLeastOnce

      public boolean getSupportsAtLeastOnce()
       Optional. Indicates if the streaming template supports at least once mode.
       
      bool supports_at_least_once = 6;
      Specified by:
      getSupportsAtLeastOnce in interface TemplateMetadataOrBuilder
      Returns:
      The supportsAtLeastOnce.
    • getSupportsExactlyOnce

      public boolean getSupportsExactlyOnce()
       Optional. Indicates if the streaming template supports exactly once mode.
       
      bool supports_exactly_once = 7;
      Specified by:
      getSupportsExactlyOnce in interface TemplateMetadataOrBuilder
      Returns:
      The supportsExactlyOnce.
    • 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;
      Specified by:
      getDefaultStreamingMode in interface TemplateMetadataOrBuilder
      Returns:
      The defaultStreamingMode.
    • getDefaultStreamingModeBytes

      public com.google.protobuf.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;
      Specified by:
      getDefaultStreamingModeBytes in interface TemplateMetadataOrBuilder
      Returns:
      The bytes for defaultStreamingMode.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 TemplateMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static TemplateMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TemplateMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TemplateMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TemplateMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TemplateMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static TemplateMetadata.Builder newBuilder()
    • newBuilder

      public static TemplateMetadata.Builder newBuilder(TemplateMetadata prototype)
    • toBuilder

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

      protected TemplateMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TemplateMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TemplateMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<TemplateMetadata> 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.GeneratedMessage
    • getDefaultInstanceForType

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