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

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

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

        public SetLabelsSecurityPolicyRequest 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<SetLabelsSecurityPolicyRequest.Builder>
      • hasGlobalSetLabelsRequestResource

        public boolean hasGlobalSetLabelsRequestResource()
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetLabelsRequest global_set_labels_request_resource = 319917189 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasGlobalSetLabelsRequestResource in interface SetLabelsSecurityPolicyRequestOrBuilder
        Returns:
        Whether the globalSetLabelsRequestResource field is set.
      • setGlobalSetLabelsRequestResource

        public SetLabelsSecurityPolicyRequest.Builder setGlobalSetLabelsRequestResource​(GlobalSetLabelsRequest value)
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetLabelsRequest global_set_labels_request_resource = 319917189 [(.google.api.field_behavior) = REQUIRED];
      • setGlobalSetLabelsRequestResource

        public SetLabelsSecurityPolicyRequest.Builder setGlobalSetLabelsRequestResource​(GlobalSetLabelsRequest.Builder builderForValue)
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetLabelsRequest global_set_labels_request_resource = 319917189 [(.google.api.field_behavior) = REQUIRED];
      • mergeGlobalSetLabelsRequestResource

        public SetLabelsSecurityPolicyRequest.Builder mergeGlobalSetLabelsRequestResource​(GlobalSetLabelsRequest value)
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetLabelsRequest global_set_labels_request_resource = 319917189 [(.google.api.field_behavior) = REQUIRED];
      • clearGlobalSetLabelsRequestResource

        public SetLabelsSecurityPolicyRequest.Builder clearGlobalSetLabelsRequestResource()
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetLabelsRequest global_set_labels_request_resource = 319917189 [(.google.api.field_behavior) = REQUIRED];
      • getGlobalSetLabelsRequestResourceBuilder

        public GlobalSetLabelsRequest.Builder getGlobalSetLabelsRequestResourceBuilder()
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetLabelsRequest global_set_labels_request_resource = 319917189 [(.google.api.field_behavior) = REQUIRED];
      • getProject

        public String getProject()
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
        Specified by:
        getProject in interface SetLabelsSecurityPolicyRequestOrBuilder
        Returns:
        The project.
      • getProjectBytes

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

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

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

        public SetLabelsSecurityPolicyRequest.Builder setProjectBytes​(com.google.protobuf.ByteString value)
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
        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 SetLabelsSecurityPolicyRequestOrBuilder
        Returns:
        The bytes for resource.
      • setResource

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