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

        public UpdateServiceRequest.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<UpdateServiceRequest.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<UpdateServiceRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpdateServiceRequest.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<UpdateServiceRequest.Builder>
      • setField

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

        public UpdateServiceRequest.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<UpdateServiceRequest.Builder>
      • clearOneof

        public UpdateServiceRequest.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<UpdateServiceRequest.Builder>
      • setRepeatedField

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

        public UpdateServiceRequest.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<UpdateServiceRequest.Builder>
      • isInitialized

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

        public UpdateServiceRequest.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<UpdateServiceRequest.Builder>
        Throws:
        IOException
      • hasService

        public boolean hasService()
         Required. The Service to be updated.
         
        .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasService in interface UpdateServiceRequestOrBuilder
        Returns:
        Whether the service field is set.
      • getService

        public Service getService()
         Required. The Service to be updated.
         
        .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getService in interface UpdateServiceRequestOrBuilder
        Returns:
        The service.
      • setService

        public UpdateServiceRequest.Builder setService​(Service value)
         Required. The Service to be updated.
         
        .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
      • setService

        public UpdateServiceRequest.Builder setService​(Service.Builder builderForValue)
         Required. The Service to be updated.
         
        .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeService

        public UpdateServiceRequest.Builder mergeService​(Service value)
         Required. The Service to be updated.
         
        .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearService

        public UpdateServiceRequest.Builder clearService()
         Required. The Service to be updated.
         
        .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
      • getServiceBuilder

        public Service.Builder getServiceBuilder()
         Required. The Service to be updated.
         
        .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
      • getValidateOnly

        public boolean getValidateOnly()
         Indicates that the request should be validated and default values
         populated, without persisting the request or updating any resources.
         
        bool validate_only = 3;
        Specified by:
        getValidateOnly in interface UpdateServiceRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public UpdateServiceRequest.Builder setValidateOnly​(boolean value)
         Indicates that the request should be validated and default values
         populated, without persisting the request or updating any resources.
         
        bool validate_only = 3;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public UpdateServiceRequest.Builder clearValidateOnly()
         Indicates that the request should be validated and default values
         populated, without persisting the request or updating any resources.
         
        bool validate_only = 3;
        Returns:
        This builder for chaining.
      • getAllowMissing

        public boolean getAllowMissing()
         If set to true, and if the Service does not exist, it will create a new
         one. The caller must have 'run.services.create' permissions if this is set
         to true and the Service does not exist.
         
        bool allow_missing = 4;
        Specified by:
        getAllowMissing in interface UpdateServiceRequestOrBuilder
        Returns:
        The allowMissing.
      • setAllowMissing

        public UpdateServiceRequest.Builder setAllowMissing​(boolean value)
         If set to true, and if the Service does not exist, it will create a new
         one. The caller must have 'run.services.create' permissions if this is set
         to true and the Service does not exist.
         
        bool allow_missing = 4;
        Parameters:
        value - The allowMissing to set.
        Returns:
        This builder for chaining.
      • clearAllowMissing

        public UpdateServiceRequest.Builder clearAllowMissing()
         If set to true, and if the Service does not exist, it will create a new
         one. The caller must have 'run.services.create' permissions if this is set
         to true and the Service does not exist.
         
        bool allow_missing = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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