Class Dataset

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

    public final class Dataset
    extends com.google.protobuf.GeneratedMessageV3
    implements DatasetOrBuilder
     A representation of a maps platform dataset.
     
    Protobuf type google.maps.mapsplatformdatasets.v1alpha.Dataset
    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()
      • internalGetFieldAccessorTable

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

        public String getName()
         Resource name,
         projects/{project}/datasets/{dataset_id}
         
        string name = 1;
        Specified by:
        getName in interface DatasetOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Resource name,
         projects/{project}/datasets/{dataset_id}
         
        string name = 1;
        Specified by:
        getNameBytes in interface DatasetOrBuilder
        Returns:
        The bytes for name.
      • getDisplayName

        public String getDisplayName()
         Human readable name, shown in the console UI. Set by customer.
         
        string display_name = 2;
        Specified by:
        getDisplayName in interface DatasetOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Human readable name, shown in the console UI. Set by customer.
         
        string display_name = 2;
        Specified by:
        getDisplayNameBytes in interface DatasetOrBuilder
        Returns:
        The bytes for displayName.
      • getDescription

        public String getDescription()
         A description of this dataset; set by the customer.
         
        string description = 3;
        Specified by:
        getDescription in interface DatasetOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         A description of this dataset; set by the customer.
         
        string description = 3;
        Specified by:
        getDescriptionBytes in interface DatasetOrBuilder
        Returns:
        The bytes for description.
      • getVersionId

        public String getVersionId()
         The version of the dataset.
         
        string version_id = 4;
        Specified by:
        getVersionId in interface DatasetOrBuilder
        Returns:
        The versionId.
      • getVersionIdBytes

        public com.google.protobuf.ByteString getVersionIdBytes()
         The version of the dataset.
         
        string version_id = 4;
        Specified by:
        getVersionIdBytes in interface DatasetOrBuilder
        Returns:
        The bytes for versionId.
      • getUsageList

        public List<Usage> getUsageList()
         Specified use case(s) for this dataset.
         
        repeated .google.maps.mapsplatformdatasets.v1alpha.Usage usage = 5;
        Specified by:
        getUsageList in interface DatasetOrBuilder
        Returns:
        A list containing the usage.
      • getUsageCount

        public int getUsageCount()
         Specified use case(s) for this dataset.
         
        repeated .google.maps.mapsplatformdatasets.v1alpha.Usage usage = 5;
        Specified by:
        getUsageCount in interface DatasetOrBuilder
        Returns:
        The count of usage.
      • getUsage

        public Usage getUsage​(int index)
         Specified use case(s) for this dataset.
         
        repeated .google.maps.mapsplatformdatasets.v1alpha.Usage usage = 5;
        Specified by:
        getUsage in interface DatasetOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The usage at the given index.
      • getUsageValueList

        public List<Integer> getUsageValueList()
         Specified use case(s) for this dataset.
         
        repeated .google.maps.mapsplatformdatasets.v1alpha.Usage usage = 5;
        Specified by:
        getUsageValueList in interface DatasetOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for usage.
      • getUsageValue

        public int getUsageValue​(int index)
         Specified use case(s) for this dataset.
         
        repeated .google.maps.mapsplatformdatasets.v1alpha.Usage usage = 5;
        Specified by:
        getUsageValue in interface DatasetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of usage at the given index.
      • hasLocalFileSource

        public boolean hasLocalFileSource()
         A local file source for the dataset for a single upload.
         
        .google.maps.mapsplatformdatasets.v1alpha.LocalFileSource local_file_source = 6;
        Specified by:
        hasLocalFileSource in interface DatasetOrBuilder
        Returns:
        Whether the localFileSource field is set.
      • getLocalFileSource

        public LocalFileSource getLocalFileSource()
         A local file source for the dataset for a single upload.
         
        .google.maps.mapsplatformdatasets.v1alpha.LocalFileSource local_file_source = 6;
        Specified by:
        getLocalFileSource in interface DatasetOrBuilder
        Returns:
        The localFileSource.
      • hasGcsSource

        public boolean hasGcsSource()
         A Google Cloud Storage file source for the dataset for a single upload.
         
        .google.maps.mapsplatformdatasets.v1alpha.GcsSource gcs_source = 7;
        Specified by:
        hasGcsSource in interface DatasetOrBuilder
        Returns:
        Whether the gcsSource field is set.
      • getGcsSource

        public GcsSource getGcsSource()
         A Google Cloud Storage file source for the dataset for a single upload.
         
        .google.maps.mapsplatformdatasets.v1alpha.GcsSource gcs_source = 7;
        Specified by:
        getGcsSource in interface DatasetOrBuilder
        Returns:
        The gcsSource.
      • getGcsSourceOrBuilder

        public GcsSourceOrBuilder getGcsSourceOrBuilder()
         A Google Cloud Storage file source for the dataset for a single upload.
         
        .google.maps.mapsplatformdatasets.v1alpha.GcsSource gcs_source = 7;
        Specified by:
        getGcsSourceOrBuilder in interface DatasetOrBuilder
      • getStatusValue

        public int getStatusValue()
         The status of the import of the latest dataset version.
         
        .google.maps.mapsplatformdatasets.v1alpha.State status = 12;
        Specified by:
        getStatusValue in interface DatasetOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • getStatus

        public State getStatus()
         The status of the import of the latest dataset version.
         
        .google.maps.mapsplatformdatasets.v1alpha.State status = 12;
        Specified by:
        getStatus in interface DatasetOrBuilder
        Returns:
        The status.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Time when the dataset was first created.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface DatasetOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Time when the dataset was first created.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface DatasetOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Time when the dataset was first created.
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface DatasetOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Time when the dataset metadata was last updated.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface DatasetOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Time when the dataset metadata was last updated.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface DatasetOrBuilder
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Time when the dataset metadata was last updated.
         
        .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface DatasetOrBuilder
      • hasVersionCreateTime

        public boolean hasVersionCreateTime()
         Output only. Time when this version of dataset was created. (It happened when importing
         data to the dataset)
         
        .google.protobuf.Timestamp version_create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasVersionCreateTime in interface DatasetOrBuilder
        Returns:
        Whether the versionCreateTime field is set.
      • getVersionCreateTime

        public com.google.protobuf.Timestamp getVersionCreateTime()
         Output only. Time when this version of dataset was created. (It happened when importing
         data to the dataset)
         
        .google.protobuf.Timestamp version_create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVersionCreateTime in interface DatasetOrBuilder
        Returns:
        The versionCreateTime.
      • getVersionCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getVersionCreateTimeOrBuilder()
         Output only. Time when this version of dataset was created. (It happened when importing
         data to the dataset)
         
        .google.protobuf.Timestamp version_create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVersionCreateTimeOrBuilder in interface DatasetOrBuilder
      • getVersionDescription

        public String getVersionDescription()
         Output only. The description for this version of dataset. It is provided when importing
         data to the dataset.
         
        string version_description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVersionDescription in interface DatasetOrBuilder
        Returns:
        The versionDescription.
      • getVersionDescriptionBytes

        public com.google.protobuf.ByteString getVersionDescriptionBytes()
         Output only. The description for this version of dataset. It is provided when importing
         data to the dataset.
         
        string version_description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVersionDescriptionBytes in interface DatasetOrBuilder
        Returns:
        The bytes for versionDescription.
      • 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 Dataset parseFrom​(ByteBuffer data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public static Dataset getDefaultInstance()
      • parser

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

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