Send feedback
Class DataSource.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.5.4 keyboard_arrow_down
public static final class DataSource . Builder extends GeneratedMessageV3 . Builder<DataSource . Builder > implements DataSourceOrBuilder
Physical location of an entry.
Protobuf type google.cloud.datacatalog.v1.DataSource
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataSource . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public DataSource build ()
Returns
buildPartial()
public DataSource buildPartial ()
Returns
clear()
public DataSource . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataSource . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataSource . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearResource()
public DataSource . Builder clearResource ()
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
clearService()
public DataSource . Builder clearService ()
Service that physically stores the data.
.google.cloud.datacatalog.v1.DataSource.Service service = 1;
Returns
clone()
public DataSource . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public DataSource getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(DataSource other)
public DataSource . Builder mergeFrom ( DataSource other )
Parameter
Returns
public DataSource . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataSource . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataSource . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataSource . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataSource . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setResource(String value)
public DataSource . Builder setResource ( String value )
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;
Parameter
Name Description value String
The resource to set.
Returns
setResourceBytes(ByteString value)
public DataSource . Builder setResourceBytes ( ByteString value )
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;
Parameter
Name Description value ByteString
The bytes for resource to set.
Returns
setService(DataSource.Service value)
public DataSource . Builder setService ( DataSource . Service value )
Service that physically stores the data.
.google.cloud.datacatalog.v1.DataSource.Service service = 1;
Parameter
Returns
setServiceValue(int value)
public DataSource . Builder setServiceValue ( int value )
Service that physically stores the data.
.google.cloud.datacatalog.v1.DataSource.Service service = 1;
Parameter
Name Description value int
The enum numeric value on the wire for service to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final DataSource . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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-28 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-28 UTC."],[],[]]