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

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

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

        public GetIamPolicyNodeTemplateRequest 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<GetIamPolicyNodeTemplateRequest.Builder>
      • setOptionsRequestedPolicyVersion

        public GetIamPolicyNodeTemplateRequest.Builder setOptionsRequestedPolicyVersion​(int value)
         Requested IAM Policy version.
         
        optional int32 options_requested_policy_version = 499220029;
        Parameters:
        value - The optionsRequestedPolicyVersion to set.
        Returns:
        This builder for chaining.
      • clearOptionsRequestedPolicyVersion

        public GetIamPolicyNodeTemplateRequest.Builder clearOptionsRequestedPolicyVersion()
         Requested IAM Policy version.
         
        optional int32 options_requested_policy_version = 499220029;
        Returns:
        This builder for chaining.
      • 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 GetIamPolicyNodeTemplateRequestOrBuilder
        Returns:
        The bytes for project.
      • setProject

        public GetIamPolicyNodeTemplateRequest.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 GetIamPolicyNodeTemplateRequest.Builder clearProject()
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectBytes

        public GetIamPolicyNodeTemplateRequest.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.
      • getRegionBytes

        public com.google.protobuf.ByteString getRegionBytes()
         The name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRegionBytes in interface GetIamPolicyNodeTemplateRequestOrBuilder
        Returns:
        The bytes for region.
      • setRegion

        public GetIamPolicyNodeTemplateRequest.Builder setRegion​(String value)
         The name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The region to set.
        Returns:
        This builder for chaining.
      • clearRegion

        public GetIamPolicyNodeTemplateRequest.Builder clearRegion()
         The name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setRegionBytes

        public GetIamPolicyNodeTemplateRequest.Builder setRegionBytes​(com.google.protobuf.ByteString value)
         The name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for region 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 GetIamPolicyNodeTemplateRequestOrBuilder
        Returns:
        The bytes for resource.
      • setResource

        public GetIamPolicyNodeTemplateRequest.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 GetIamPolicyNodeTemplateRequest.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 GetIamPolicyNodeTemplateRequest.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.