Class TestPermissionsRequest.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<TestPermissionsRequest.Builder>
      • clear

        public TestPermissionsRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<TestPermissionsRequest.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<TestPermissionsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public TestPermissionsRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<TestPermissionsRequest.Builder>
      • clearField

        public TestPermissionsRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TestPermissionsRequest.Builder>
      • clearOneof

        public TestPermissionsRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TestPermissionsRequest.Builder>
      • setRepeatedField

        public TestPermissionsRequest.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<TestPermissionsRequest.Builder>
      • addRepeatedField

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TestPermissionsRequest.Builder>
      • mergeFrom

        public TestPermissionsRequest.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<TestPermissionsRequest.Builder>
        Throws:
        IOException
      • getPermissionsList

        public com.google.protobuf.ProtocolStringList getPermissionsList()
         The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
         
        repeated string permissions = 59962500;
        Specified by:
        getPermissionsList in interface TestPermissionsRequestOrBuilder
        Returns:
        A list containing the permissions.
      • getPermissionsCount

        public int getPermissionsCount()
         The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
         
        repeated string permissions = 59962500;
        Specified by:
        getPermissionsCount in interface TestPermissionsRequestOrBuilder
        Returns:
        The count of permissions.
      • getPermissions

        public String getPermissions​(int index)
         The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
         
        repeated string permissions = 59962500;
        Specified by:
        getPermissions in interface TestPermissionsRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The permissions at the given index.
      • getPermissionsBytes

        public com.google.protobuf.ByteString getPermissionsBytes​(int index)
         The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
         
        repeated string permissions = 59962500;
        Specified by:
        getPermissionsBytes in interface TestPermissionsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the permissions at the given index.
      • setPermissions

        public TestPermissionsRequest.Builder setPermissions​(int index,
                                                             String value)
         The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
         
        repeated string permissions = 59962500;
        Parameters:
        index - The index to set the value at.
        value - The permissions to set.
        Returns:
        This builder for chaining.
      • addPermissions

        public TestPermissionsRequest.Builder addPermissions​(String value)
         The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
         
        repeated string permissions = 59962500;
        Parameters:
        value - The permissions to add.
        Returns:
        This builder for chaining.
      • addAllPermissions

        public TestPermissionsRequest.Builder addAllPermissions​(Iterable<String> values)
         The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
         
        repeated string permissions = 59962500;
        Parameters:
        values - The permissions to add.
        Returns:
        This builder for chaining.
      • clearPermissions

        public TestPermissionsRequest.Builder clearPermissions()
         The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
         
        repeated string permissions = 59962500;
        Returns:
        This builder for chaining.
      • addPermissionsBytes

        public TestPermissionsRequest.Builder addPermissionsBytes​(com.google.protobuf.ByteString value)
         The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
         
        repeated string permissions = 59962500;
        Parameters:
        value - The bytes of the permissions to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final TestPermissionsRequest.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<TestPermissionsRequest.Builder>
      • mergeUnknownFields

        public final TestPermissionsRequest.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<TestPermissionsRequest.Builder>