Class ListDatabaseRolesResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
      • getDefaultInstanceForType

        public ListDatabaseRolesResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListDatabaseRolesResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListDatabaseRolesResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public ListDatabaseRolesResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListDatabaseRolesResponse.Builder>
        Throws:
        IOException
      • 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;
      • 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;
      • 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;
      • 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 interface ListDatabaseRolesResponseOrBuilder
        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 interface ListDatabaseRolesResponseOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>
      • mergeUnknownFields

        public final ListDatabaseRolesResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseRolesResponse.Builder>