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

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

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

        public SetIamPolicyLicenseRequest 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<SetIamPolicyLicenseRequest.Builder>
      • mergeFrom

        public SetIamPolicyLicenseRequest.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<SetIamPolicyLicenseRequest.Builder>
        Throws:
        IOException
      • hasGlobalSetPolicyRequestResource

        public boolean hasGlobalSetPolicyRequestResource()
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasGlobalSetPolicyRequestResource in interface SetIamPolicyLicenseRequestOrBuilder
        Returns:
        Whether the globalSetPolicyRequestResource field is set.
      • setGlobalSetPolicyRequestResource

        public SetIamPolicyLicenseRequest.Builder setGlobalSetPolicyRequestResource​(GlobalSetPolicyRequest value)
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED];
      • setGlobalSetPolicyRequestResource

        public SetIamPolicyLicenseRequest.Builder setGlobalSetPolicyRequestResource​(GlobalSetPolicyRequest.Builder builderForValue)
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED];
      • mergeGlobalSetPolicyRequestResource

        public SetIamPolicyLicenseRequest.Builder mergeGlobalSetPolicyRequestResource​(GlobalSetPolicyRequest value)
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED];
      • clearGlobalSetPolicyRequestResource

        public SetIamPolicyLicenseRequest.Builder clearGlobalSetPolicyRequestResource()
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED];
      • getGlobalSetPolicyRequestResourceBuilder

        public GlobalSetPolicyRequest.Builder getGlobalSetPolicyRequestResourceBuilder()
         The body resource for this request
         
        .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED];
      • 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 SetIamPolicyLicenseRequestOrBuilder
        Returns:
        The bytes for project.
      • setProject

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

        public SetIamPolicyLicenseRequest.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 SetIamPolicyLicenseRequestOrBuilder
        Returns:
        The bytes for resource.
      • setResource

        public SetIamPolicyLicenseRequest.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 SetIamPolicyLicenseRequest.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 SetIamPolicyLicenseRequest.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.
      • setUnknownFields

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

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