Interface DatabaseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Database
,Database.Builder
public interface DatabaseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayName()
The human-readable name of the database that the user connected to.com.google.protobuf.ByteString
getDisplayNameBytes()
The human-readable name of the database that the user connected to.String
getGrantees(int index)
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.com.google.protobuf.ByteString
getGranteesBytes(int index)
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.int
getGranteesCount()
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.List<String>
getGranteesList()
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.String
getName()
The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.com.google.protobuf.ByteString
getNameBytes()
The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.String
getQuery()
The SQL statement that is associated with the database access.com.google.protobuf.ByteString
getQueryBytes()
The SQL statement that is associated with the database access.String
getUserName()
The username used to connect to the database.com.google.protobuf.ByteString
getUserNameBytes()
The username used to connect to the database.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.
string name = 1;
- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
The human-readable name of the database that the user connected to.
string display_name = 2;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
The human-readable name of the database that the user connected to.
string display_name = 2;
- Returns:
- The bytes for displayName.
-
getUserName
String getUserName()
The username used to connect to the database. The username might not be an IAM principal and does not have a set format.
string user_name = 3;
- Returns:
- The userName.
-
getUserNameBytes
com.google.protobuf.ByteString getUserNameBytes()
The username used to connect to the database. The username might not be an IAM principal and does not have a set format.
string user_name = 3;
- Returns:
- The bytes for userName.
-
getQuery
String getQuery()
The SQL statement that is associated with the database access.
string query = 4;
- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()
The SQL statement that is associated with the database access.
string query = 4;
- Returns:
- The bytes for query.
-
getGranteesList
List<String> getGranteesList()
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
repeated string grantees = 5;
- Returns:
- A list containing the grantees.
-
getGranteesCount
int getGranteesCount()
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
repeated string grantees = 5;
- Returns:
- The count of grantees.
-
getGrantees
String getGrantees(int index)
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
repeated string grantees = 5;
- Parameters:
index
- The index of the element to return.- Returns:
- The grantees at the given index.
-
getGranteesBytes
com.google.protobuf.ByteString getGranteesBytes(int index)
The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
repeated string grantees = 5;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the grantees at the given index.
-
-