Send feedback
Class DataSource (1.8.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.8.1 keyboard_arrow_down
public final class DataSource extends GeneratedMessageV3 implements DataSourceOrBuilder
Physical location of an entry.
Protobuf type google.cloud.datacatalog.v1.DataSource
Static Fields
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
Field Value
SOURCE_ENTRY_FIELD_NUMBER
public static final int SOURCE_ENTRY_FIELD_NUMBER
Field Value
STORAGE_PROPERTIES_FIELD_NUMBER
public static final int STORAGE_PROPERTIES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataSource getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static DataSource . Builder newBuilder ()
Returns
newBuilder(DataSource prototype)
public static DataSource . Builder newBuilder ( DataSource prototype )
Parameter
Returns
public static DataSource parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static DataSource parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataSource parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataSource parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataSource parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataSource parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static DataSource parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static DataSource parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static DataSource parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static DataSource parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataSource parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataSource parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<DataSource> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DataSource getDefaultInstanceForType ()
Returns
getParserForType()
public Parser<DataSource> getParserForType ()
Returns
Overrides
getPropertiesCase()
public DataSource . PropertiesCase getPropertiesCase ()
Returns
getResource()
public String getResource ()
Full name of a resource as defined by the service. For example:
//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}
string resource = 2;
Returns
Type Description String The resource.
getResourceBytes()
public ByteString getResourceBytes ()
Full name of a resource as defined by the service. For example:
//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}
string resource = 2;
Returns
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getService()
public DataSource . Service getService ()
Service that physically stores the data.
.google.cloud.datacatalog.v1.DataSource.Service service = 1;
Returns
getServiceValue()
public int getServiceValue ()
Service that physically stores the data.
.google.cloud.datacatalog.v1.DataSource.Service service = 1;
Returns
Type Description int The enum numeric value on the wire for service.
getSourceEntry()
public String getSourceEntry ()
Output only. Data Catalog entry name, if applicable.
string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type Description String The sourceEntry.
getSourceEntryBytes()
public ByteString getSourceEntryBytes ()
Output only. Data Catalog entry name, if applicable.
string source_entry = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type Description ByteString The bytes for sourceEntry.
getStorageProperties()
public StorageProperties getStorageProperties ()
Detailed properties of the underlying storage.
.google.cloud.datacatalog.v1.StorageProperties storage_properties = 4;
Returns
getStoragePropertiesOrBuilder()
public StoragePropertiesOrBuilder getStoragePropertiesOrBuilder ()
Detailed properties of the underlying storage.
.google.cloud.datacatalog.v1.StorageProperties storage_properties = 4;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hasStorageProperties()
public boolean hasStorageProperties ()
Detailed properties of the underlying storage.
.google.cloud.datacatalog.v1.StorageProperties storage_properties = 4;
Returns
Type Description boolean Whether the storageProperties field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public DataSource . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataSource . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public DataSource . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]