Class JobMetadata

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

    public final class JobMetadata
    extends com.google.protobuf.GeneratedMessageV3
    implements JobMetadataOrBuilder
     Metadata available primarily for filtering jobs. Will be included in the
     ListJob response and Job SUMMARY view.
     
    Protobuf type google.dataflow.v1beta3.JobMetadata
    See Also:
    Serialized Form
    • Field Detail

      • SDK_VERSION_FIELD_NUMBER

        public static final int SDK_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPANNER_DETAILS_FIELD_NUMBER

        public static final int SPANNER_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BIGQUERY_DETAILS_FIELD_NUMBER

        public static final int BIGQUERY_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BIG_TABLE_DETAILS_FIELD_NUMBER

        public static final int BIG_TABLE_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PUBSUB_DETAILS_FIELD_NUMBER

        public static final int PUBSUB_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FILE_DETAILS_FIELD_NUMBER

        public static final int FILE_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DATASTORE_DETAILS_FIELD_NUMBER

        public static final int DATASTORE_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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()
      • internalGetFieldAccessorTable

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

        public boolean hasSdkVersion()
         The SDK version used to run the job.
         
        .google.dataflow.v1beta3.SdkVersion sdk_version = 1;
        Specified by:
        hasSdkVersion in interface JobMetadataOrBuilder
        Returns:
        Whether the sdkVersion field is set.
      • getSdkVersion

        public SdkVersion getSdkVersion()
         The SDK version used to run the job.
         
        .google.dataflow.v1beta3.SdkVersion sdk_version = 1;
        Specified by:
        getSdkVersion in interface JobMetadataOrBuilder
        Returns:
        The sdkVersion.
      • getSpannerDetailsCount

        public int getSpannerDetailsCount()
         Identification of a Spanner source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.SpannerIODetails spanner_details = 2;
        Specified by:
        getSpannerDetailsCount in interface JobMetadataOrBuilder
      • getSpannerDetails

        public SpannerIODetails getSpannerDetails​(int index)
         Identification of a Spanner source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.SpannerIODetails spanner_details = 2;
        Specified by:
        getSpannerDetails in interface JobMetadataOrBuilder
      • getBigqueryDetailsCount

        public int getBigqueryDetailsCount()
         Identification of a BigQuery source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.BigQueryIODetails bigquery_details = 3;
        Specified by:
        getBigqueryDetailsCount in interface JobMetadataOrBuilder
      • getBigqueryDetails

        public BigQueryIODetails getBigqueryDetails​(int index)
         Identification of a BigQuery source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.BigQueryIODetails bigquery_details = 3;
        Specified by:
        getBigqueryDetails in interface JobMetadataOrBuilder
      • getBigTableDetailsCount

        public int getBigTableDetailsCount()
         Identification of a Cloud Bigtable source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.BigTableIODetails big_table_details = 4;
        Specified by:
        getBigTableDetailsCount in interface JobMetadataOrBuilder
      • getBigTableDetails

        public BigTableIODetails getBigTableDetails​(int index)
         Identification of a Cloud Bigtable source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.BigTableIODetails big_table_details = 4;
        Specified by:
        getBigTableDetails in interface JobMetadataOrBuilder
      • getPubsubDetailsCount

        public int getPubsubDetailsCount()
         Identification of a Pub/Sub source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.PubSubIODetails pubsub_details = 5;
        Specified by:
        getPubsubDetailsCount in interface JobMetadataOrBuilder
      • getPubsubDetails

        public PubSubIODetails getPubsubDetails​(int index)
         Identification of a Pub/Sub source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.PubSubIODetails pubsub_details = 5;
        Specified by:
        getPubsubDetails in interface JobMetadataOrBuilder
      • getFileDetailsCount

        public int getFileDetailsCount()
         Identification of a File source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.FileIODetails file_details = 6;
        Specified by:
        getFileDetailsCount in interface JobMetadataOrBuilder
      • getFileDetails

        public FileIODetails getFileDetails​(int index)
         Identification of a File source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.FileIODetails file_details = 6;
        Specified by:
        getFileDetails in interface JobMetadataOrBuilder
      • getDatastoreDetailsCount

        public int getDatastoreDetailsCount()
         Identification of a Datastore source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.DatastoreIODetails datastore_details = 7;
        Specified by:
        getDatastoreDetailsCount in interface JobMetadataOrBuilder
      • getDatastoreDetails

        public DatastoreIODetails getDatastoreDetails​(int index)
         Identification of a Datastore source used in the Dataflow job.
         
        repeated .google.dataflow.v1beta3.DatastoreIODetails datastore_details = 7;
        Specified by:
        getDatastoreDetails in interface JobMetadataOrBuilder
      • 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 JobMetadata parseFrom​(ByteBuffer data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public static JobMetadata getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<JobMetadata> 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 JobMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder