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