Class TestIamPermissionsDiskRequest.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<TestIamPermissionsDiskRequest.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<TestIamPermissionsDiskRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public TestIamPermissionsDiskRequest.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<TestIamPermissionsDiskRequest.Builder>
        Throws:
        IOException
      • getProjectBytes

        public com.google.protobuf.ByteString getProjectBytes()
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectBytes in interface TestIamPermissionsDiskRequestOrBuilder
        Returns:
        The bytes for project.
      • setProject

        public TestIamPermissionsDiskRequest.Builder setProject​(String value)
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The project to set.
        Returns:
        This builder for chaining.
      • clearProject

        public TestIamPermissionsDiskRequest.Builder clearProject()
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectBytes

        public TestIamPermissionsDiskRequest.Builder setProjectBytes​(com.google.protobuf.ByteString value)
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for project to set.
        Returns:
        This builder for chaining.
      • getResourceBytes

        public com.google.protobuf.ByteString getResourceBytes()
         Name or id of the resource for this request.
         
        string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getResourceBytes in interface TestIamPermissionsDiskRequestOrBuilder
        Returns:
        The bytes for resource.
      • setResource

        public TestIamPermissionsDiskRequest.Builder setResource​(String value)
         Name or id of the resource for this request.
         
        string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The resource to set.
        Returns:
        This builder for chaining.
      • clearResource

        public TestIamPermissionsDiskRequest.Builder clearResource()
         Name or id of the resource for this request.
         
        string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setResourceBytes

        public TestIamPermissionsDiskRequest.Builder setResourceBytes​(com.google.protobuf.ByteString value)
         Name or id of the resource for this request.
         
        string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for resource to set.
        Returns:
        This builder for chaining.
      • hasTestPermissionsRequestResource

        public boolean hasTestPermissionsRequestResource()
         The body resource for this request
         
        .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasTestPermissionsRequestResource in interface TestIamPermissionsDiskRequestOrBuilder
        Returns:
        Whether the testPermissionsRequestResource field is set.
      • setTestPermissionsRequestResource

        public TestIamPermissionsDiskRequest.Builder setTestPermissionsRequestResource​(TestPermissionsRequest value)
         The body resource for this request
         
        .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED];
      • setTestPermissionsRequestResource

        public TestIamPermissionsDiskRequest.Builder setTestPermissionsRequestResource​(TestPermissionsRequest.Builder builderForValue)
         The body resource for this request
         
        .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED];
      • mergeTestPermissionsRequestResource

        public TestIamPermissionsDiskRequest.Builder mergeTestPermissionsRequestResource​(TestPermissionsRequest value)
         The body resource for this request
         
        .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED];
      • clearTestPermissionsRequestResource

        public TestIamPermissionsDiskRequest.Builder clearTestPermissionsRequestResource()
         The body resource for this request
         
        .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED];
      • getTestPermissionsRequestResourceBuilder

        public TestPermissionsRequest.Builder getTestPermissionsRequestResourceBuilder()
         The body resource for this request
         
        .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED];
      • getZoneBytes

        public com.google.protobuf.ByteString getZoneBytes()
         The name of the zone for this request.
         
        string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getZoneBytes in interface TestIamPermissionsDiskRequestOrBuilder
        Returns:
        The bytes for zone.
      • setZone

        public TestIamPermissionsDiskRequest.Builder setZone​(String value)
         The name of the zone for this request.
         
        string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The zone to set.
        Returns:
        This builder for chaining.
      • clearZone

        public TestIamPermissionsDiskRequest.Builder clearZone()
         The name of the zone for this request.
         
        string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setZoneBytes

        public TestIamPermissionsDiskRequest.Builder setZoneBytes​(com.google.protobuf.ByteString value)
         The name of the zone for this request.
         
        string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for zone to set.
        Returns:
        This builder for chaining.