Class ListDatabaseRolesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
- com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ListDatabaseRolesResponseOrBuilder
,Cloneable
- Enclosing class:
- ListDatabaseRolesResponse
public static final class ListDatabaseRolesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder> implements ListDatabaseRolesResponseOrBuilder
The response for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
Protobuf typegoogle.spanner.admin.database.v1.ListDatabaseRolesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDatabaseRolesResponse.Builder
addAllDatabaseRoles(Iterable<? extends DatabaseRole> values)
Database roles that matched the request.ListDatabaseRolesResponse.Builder
addDatabaseRoles(int index, DatabaseRole value)
Database roles that matched the request.ListDatabaseRolesResponse.Builder
addDatabaseRoles(int index, DatabaseRole.Builder builderForValue)
Database roles that matched the request.ListDatabaseRolesResponse.Builder
addDatabaseRoles(DatabaseRole value)
Database roles that matched the request.ListDatabaseRolesResponse.Builder
addDatabaseRoles(DatabaseRole.Builder builderForValue)
Database roles that matched the request.DatabaseRole.Builder
addDatabaseRolesBuilder()
Database roles that matched the request.DatabaseRole.Builder
addDatabaseRolesBuilder(int index)
Database roles that matched the request.ListDatabaseRolesResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListDatabaseRolesResponse
build()
ListDatabaseRolesResponse
buildPartial()
ListDatabaseRolesResponse.Builder
clear()
ListDatabaseRolesResponse.Builder
clearDatabaseRoles()
Database roles that matched the request.ListDatabaseRolesResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListDatabaseRolesResponse.Builder
clearNextPageToken()
`next_page_token` can be sent in a subsequent [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] call to fetch more of the matching roles.ListDatabaseRolesResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListDatabaseRolesResponse.Builder
clone()
DatabaseRole
getDatabaseRoles(int index)
Database roles that matched the request.DatabaseRole.Builder
getDatabaseRolesBuilder(int index)
Database roles that matched the request.List<DatabaseRole.Builder>
getDatabaseRolesBuilderList()
Database roles that matched the request.int
getDatabaseRolesCount()
Database roles that matched the request.List<DatabaseRole>
getDatabaseRolesList()
Database roles that matched the request.DatabaseRoleOrBuilder
getDatabaseRolesOrBuilder(int index)
Database roles that matched the request.List<? extends DatabaseRoleOrBuilder>
getDatabaseRolesOrBuilderList()
Database roles that matched the request.ListDatabaseRolesResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
`next_page_token` can be sent in a subsequent [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] call to fetch more of the matching roles.com.google.protobuf.ByteString
getNextPageTokenBytes()
`next_page_token` can be sent in a subsequent [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] call to fetch more of the matching roles.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListDatabaseRolesResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListDatabaseRolesResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListDatabaseRolesResponse.Builder
mergeFrom(ListDatabaseRolesResponse other)
ListDatabaseRolesResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListDatabaseRolesResponse.Builder
removeDatabaseRoles(int index)
Database roles that matched the request.ListDatabaseRolesResponse.Builder
setDatabaseRoles(int index, DatabaseRole value)
Database roles that matched the request.ListDatabaseRolesResponse.Builder
setDatabaseRoles(int index, DatabaseRole.Builder builderForValue)
Database roles that matched the request.ListDatabaseRolesResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListDatabaseRolesResponse.Builder
setNextPageToken(String value)
`next_page_token` can be sent in a subsequent [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] call to fetch more of the matching roles.ListDatabaseRolesResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
`next_page_token` can be sent in a subsequent [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] call to fetch more of the matching roles.ListDatabaseRolesResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListDatabaseRolesResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
clear
public ListDatabaseRolesResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
getDefaultInstanceForType
public ListDatabaseRolesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListDatabaseRolesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListDatabaseRolesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListDatabaseRolesResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
setField
public ListDatabaseRolesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
clearField
public ListDatabaseRolesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
clearOneof
public ListDatabaseRolesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
setRepeatedField
public ListDatabaseRolesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
addRepeatedField
public ListDatabaseRolesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
mergeFrom
public ListDatabaseRolesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListDatabaseRolesResponse.Builder>
-
mergeFrom
public ListDatabaseRolesResponse.Builder mergeFrom(ListDatabaseRolesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
mergeFrom
public ListDatabaseRolesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListDatabaseRolesResponse.Builder>
- Throws:
IOException
-
getDatabaseRolesList
public List<DatabaseRole> getDatabaseRolesList()
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
- Specified by:
getDatabaseRolesList
in interfaceListDatabaseRolesResponseOrBuilder
-
getDatabaseRolesCount
public int getDatabaseRolesCount()
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
- Specified by:
getDatabaseRolesCount
in interfaceListDatabaseRolesResponseOrBuilder
-
getDatabaseRoles
public DatabaseRole getDatabaseRoles(int index)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
- Specified by:
getDatabaseRoles
in interfaceListDatabaseRolesResponseOrBuilder
-
setDatabaseRoles
public ListDatabaseRolesResponse.Builder setDatabaseRoles(int index, DatabaseRole value)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
setDatabaseRoles
public ListDatabaseRolesResponse.Builder setDatabaseRoles(int index, DatabaseRole.Builder builderForValue)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
addDatabaseRoles
public ListDatabaseRolesResponse.Builder addDatabaseRoles(DatabaseRole value)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
addDatabaseRoles
public ListDatabaseRolesResponse.Builder addDatabaseRoles(int index, DatabaseRole value)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
addDatabaseRoles
public ListDatabaseRolesResponse.Builder addDatabaseRoles(DatabaseRole.Builder builderForValue)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
addDatabaseRoles
public ListDatabaseRolesResponse.Builder addDatabaseRoles(int index, DatabaseRole.Builder builderForValue)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
addAllDatabaseRoles
public ListDatabaseRolesResponse.Builder addAllDatabaseRoles(Iterable<? extends DatabaseRole> values)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
clearDatabaseRoles
public ListDatabaseRolesResponse.Builder clearDatabaseRoles()
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
removeDatabaseRoles
public ListDatabaseRolesResponse.Builder removeDatabaseRoles(int index)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
getDatabaseRolesBuilder
public DatabaseRole.Builder getDatabaseRolesBuilder(int index)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
getDatabaseRolesOrBuilder
public DatabaseRoleOrBuilder getDatabaseRolesOrBuilder(int index)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
- Specified by:
getDatabaseRolesOrBuilder
in interfaceListDatabaseRolesResponseOrBuilder
-
getDatabaseRolesOrBuilderList
public List<? extends DatabaseRoleOrBuilder> getDatabaseRolesOrBuilderList()
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
- Specified by:
getDatabaseRolesOrBuilderList
in interfaceListDatabaseRolesResponseOrBuilder
-
addDatabaseRolesBuilder
public DatabaseRole.Builder addDatabaseRolesBuilder()
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
addDatabaseRolesBuilder
public DatabaseRole.Builder addDatabaseRolesBuilder(int index)
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
getDatabaseRolesBuilderList
public List<DatabaseRole.Builder> getDatabaseRolesBuilderList()
Database roles that matched the request.
repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;
-
getNextPageToken
public String getNextPageToken()
`next_page_token` can be sent in a subsequent [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] call to fetch more of the matching roles.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListDatabaseRolesResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
`next_page_token` can be sent in a subsequent [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] call to fetch more of the matching roles.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListDatabaseRolesResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListDatabaseRolesResponse.Builder setNextPageToken(String value)
`next_page_token` can be sent in a subsequent [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] call to fetch more of the matching roles.
string next_page_token = 2;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListDatabaseRolesResponse.Builder clearNextPageToken()
`next_page_token` can be sent in a subsequent [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] call to fetch more of the matching roles.
string next_page_token = 2;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListDatabaseRolesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
`next_page_token` can be sent in a subsequent [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles] call to fetch more of the matching roles.
string next_page_token = 2;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListDatabaseRolesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
mergeUnknownFields
public final ListDatabaseRolesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
-
-