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
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
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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