- 3.80.0 (latest)
- 3.79.0
- 3.78.0
- 3.77.0
- 3.76.0
- 3.74.0
- 3.72.0
- 3.71.0
- 3.68.0
- 3.67.0
- 3.66.0
- 3.64.0
- 3.63.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class DatabaseResourceReference.Builder extends GeneratedMessageV3.Builder<DatabaseResourceReference.Builder> implements DatabaseResourceReferenceOrBuilderIdentifies a single database resource, like a table within a database.
Protobuf type google.privacy.dlp.v2.DatabaseResourceReference
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DatabaseResourceReference.BuilderImplements
DatabaseResourceReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatabaseResourceReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
build()
public DatabaseResourceReference build()| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference |
|
buildPartial()
public DatabaseResourceReference buildPartial()| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference |
|
clear()
public DatabaseResourceReference.Builder clear()| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
clearDatabase()
public DatabaseResourceReference.Builder clearDatabase()Required. Name of a database within the instance.
string database = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
clearDatabaseResource()
public DatabaseResourceReference.Builder clearDatabaseResource()Required. Name of a database resource, for example, a table within the database.
string database_resource = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DatabaseResourceReference.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
clearInstance()
public DatabaseResourceReference.Builder clearInstance()Required. The instance where this resource is located. For example: Cloud SQL instance ID.
string instance = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DatabaseResourceReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
clearProjectId()
public DatabaseResourceReference.Builder clearProjectId()Required. If within a project-level config, then this must match the config's project ID.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
clone()
public DatabaseResourceReference.Builder clone()| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
getDatabase()
public String getDatabase()Required. Name of a database within the instance.
string database = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()Required. Name of a database within the instance.
string database = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for database. |
getDatabaseResource()
public String getDatabaseResource()Required. Name of a database resource, for example, a table within the database.
string database_resource = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The databaseResource. |
getDatabaseResourceBytes()
public ByteString getDatabaseResourceBytes()Required. Name of a database resource, for example, a table within the database.
string database_resource = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for databaseResource. |
getDefaultInstanceForType()
public DatabaseResourceReference getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstance()
public String getInstance()Required. The instance where this resource is located. For example: Cloud SQL instance ID.
string instance = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()Required. The instance where this resource is located. For example: Cloud SQL instance ID.
string instance = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instance. |
getProjectId()
public String getProjectId()Required. If within a project-level config, then this must match the config's project ID.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()Required. If within a project-level config, then this must match the config's project ID.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DatabaseResourceReference other)
public DatabaseResourceReference.Builder mergeFrom(DatabaseResourceReference other)| Parameter | |
|---|---|
| Name | Description |
other |
DatabaseResourceReference |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatabaseResourceReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DatabaseResourceReference.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseResourceReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
setDatabase(String value)
public DatabaseResourceReference.Builder setDatabase(String value)Required. Name of a database within the instance.
string database = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe database to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
setDatabaseBytes(ByteString value)
public DatabaseResourceReference.Builder setDatabaseBytes(ByteString value)Required. Name of a database within the instance.
string database = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for database to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
setDatabaseResource(String value)
public DatabaseResourceReference.Builder setDatabaseResource(String value)Required. Name of a database resource, for example, a table within the database.
string database_resource = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe databaseResource to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
setDatabaseResourceBytes(ByteString value)
public DatabaseResourceReference.Builder setDatabaseResourceBytes(ByteString value)Required. Name of a database resource, for example, a table within the database.
string database_resource = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for databaseResource to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DatabaseResourceReference.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
setInstance(String value)
public DatabaseResourceReference.Builder setInstance(String value)Required. The instance where this resource is located. For example: Cloud SQL instance ID.
string instance = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instance to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
setInstanceBytes(ByteString value)
public DatabaseResourceReference.Builder setInstanceBytes(ByteString value)Required. The instance where this resource is located. For example: Cloud SQL instance ID.
string instance = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instance to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
setProjectId(String value)
public DatabaseResourceReference.Builder setProjectId(String value)Required. If within a project-level config, then this must match the config's project ID.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectId to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
setProjectIdBytes(ByteString value)
public DatabaseResourceReference.Builder setProjectIdBytes(ByteString value)Required. If within a project-level config, then this must match the config's project ID.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectId to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatabaseResourceReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseResourceReference.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceReference.Builder |
|