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

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

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

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

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

        public CancelOperationRequest.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<CancelOperationRequest.Builder>
      • clearField

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

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

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

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

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

        public CancelOperationRequest.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<CancelOperationRequest.Builder>
        Throws:
        IOException
      • getProjectId

        @Deprecated
        public String getProjectId()
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3400
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectId in interface CancelOperationRequestOrBuilder
        Returns:
        The projectId.
      • getProjectIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getProjectIdBytes()
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3400
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectIdBytes in interface CancelOperationRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        @Deprecated
        public CancelOperationRequest.Builder setProjectId​(String value)
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3400
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        @Deprecated
        public CancelOperationRequest.Builder clearProjectId()
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3400
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        @Deprecated
        public CancelOperationRequest.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3400
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getZone

        @Deprecated
        public String getZone()
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3407
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         operation resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getZone in interface CancelOperationRequestOrBuilder
        Returns:
        The zone.
      • getZoneBytes

        @Deprecated
        public com.google.protobuf.ByteString getZoneBytes()
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3407
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         operation resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getZoneBytes in interface CancelOperationRequestOrBuilder
        Returns:
        The bytes for zone.
      • setZone

        @Deprecated
        public CancelOperationRequest.Builder setZone​(String value)
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3407
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         operation resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The zone to set.
        Returns:
        This builder for chaining.
      • clearZone

        @Deprecated
        public CancelOperationRequest.Builder clearZone()
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3407
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         operation resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setZoneBytes

        @Deprecated
        public CancelOperationRequest.Builder setZoneBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3407
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         operation resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for zone to set.
        Returns:
        This builder for chaining.
      • getOperationId

        @Deprecated
        public String getOperationId()
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3411
         Required. Deprecated. The server-assigned `name` of the operation.
         This field has been deprecated and replaced by the name field.
         
        string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperationId in interface CancelOperationRequestOrBuilder
        Returns:
        The operationId.
      • getOperationIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getOperationIdBytes()
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3411
         Required. Deprecated. The server-assigned `name` of the operation.
         This field has been deprecated and replaced by the name field.
         
        string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperationIdBytes in interface CancelOperationRequestOrBuilder
        Returns:
        The bytes for operationId.
      • setOperationId

        @Deprecated
        public CancelOperationRequest.Builder setOperationId​(String value)
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3411
         Required. Deprecated. The server-assigned `name` of the operation.
         This field has been deprecated and replaced by the name field.
         
        string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The operationId to set.
        Returns:
        This builder for chaining.
      • clearOperationId

        @Deprecated
        public CancelOperationRequest.Builder clearOperationId()
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3411
         Required. Deprecated. The server-assigned `name` of the operation.
         This field has been deprecated and replaced by the name field.
         
        string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setOperationIdBytes

        @Deprecated
        public CancelOperationRequest.Builder setOperationIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3411
         Required. Deprecated. The server-assigned `name` of the operation.
         This field has been deprecated and replaced by the name field.
         
        string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for operationId to set.
        Returns:
        This builder for chaining.
      • getName

        public String getName()
         The name (project, location, operation id) of the operation to cancel.
         Specified in the format `projects/*/locations/*/operations/*`.
         
        string name = 4;
        Specified by:
        getName in interface CancelOperationRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name (project, location, operation id) of the operation to cancel.
         Specified in the format `projects/*/locations/*/operations/*`.
         
        string name = 4;
        Specified by:
        getNameBytes in interface CancelOperationRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public CancelOperationRequest.Builder setName​(String value)
         The name (project, location, operation id) of the operation to cancel.
         Specified in the format `projects/*/locations/*/operations/*`.
         
        string name = 4;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public CancelOperationRequest.Builder clearName()
         The name (project, location, operation id) of the operation to cancel.
         Specified in the format `projects/*/locations/*/operations/*`.
         
        string name = 4;
        Returns:
        This builder for chaining.
      • setNameBytes

        public CancelOperationRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name (project, location, operation id) of the operation to cancel.
         Specified in the format `projects/*/locations/*/operations/*`.
         
        string name = 4;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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