Class Operation.Builder

  • All Implemented Interfaces:
    OperationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Operation

    public static final class Operation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
    implements OperationOrBuilder
     This operation resource represents operations that may have happened or are
     happening on the cluster. All fields are output only.
     
    Protobuf type google.container.v1.Operation
    • 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<Operation.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

        public Operation.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Operation.Builder>
      • isInitialized

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

        public Operation.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<Operation.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The server-assigned ID for the operation.
         
        string name = 1;
        Specified by:
        getName in interface OperationOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The server-assigned ID for the operation.
         
        string name = 1;
        Specified by:
        getNameBytes in interface OperationOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Operation.Builder setName​(String value)
         The server-assigned ID for the operation.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Operation.Builder clearName()
         The server-assigned ID for the operation.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Operation.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The server-assigned ID for the operation.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getZone

        @Deprecated
        public String getZone()
        Deprecated.
        google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2425
         The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         operation is taking place. This field is deprecated, use location instead.
         
        string zone = 2 [deprecated = true];
        Specified by:
        getZone in interface OperationOrBuilder
        Returns:
        The zone.
      • getZoneBytes

        @Deprecated
        public com.google.protobuf.ByteString getZoneBytes()
        Deprecated.
        google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2425
         The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         operation is taking place. This field is deprecated, use location instead.
         
        string zone = 2 [deprecated = true];
        Specified by:
        getZoneBytes in interface OperationOrBuilder
        Returns:
        The bytes for zone.
      • setZone

        @Deprecated
        public Operation.Builder setZone​(String value)
        Deprecated.
        google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2425
         The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         operation is taking place. This field is deprecated, use location instead.
         
        string zone = 2 [deprecated = true];
        Parameters:
        value - The zone to set.
        Returns:
        This builder for chaining.
      • clearZone

        @Deprecated
        public Operation.Builder clearZone()
        Deprecated.
        google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2425
         The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         operation is taking place. This field is deprecated, use location instead.
         
        string zone = 2 [deprecated = true];
        Returns:
        This builder for chaining.
      • setZoneBytes

        @Deprecated
        public Operation.Builder setZoneBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2425
         The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         operation is taking place. This field is deprecated, use location instead.
         
        string zone = 2 [deprecated = true];
        Parameters:
        value - The bytes for zone to set.
        Returns:
        This builder for chaining.
      • getOperationTypeValue

        public int getOperationTypeValue()
         The operation type.
         
        .google.container.v1.Operation.Type operation_type = 3;
        Specified by:
        getOperationTypeValue in interface OperationOrBuilder
        Returns:
        The enum numeric value on the wire for operationType.
      • setOperationTypeValue

        public Operation.Builder setOperationTypeValue​(int value)
         The operation type.
         
        .google.container.v1.Operation.Type operation_type = 3;
        Parameters:
        value - The enum numeric value on the wire for operationType to set.
        Returns:
        This builder for chaining.
      • setOperationType

        public Operation.Builder setOperationType​(Operation.Type value)
         The operation type.
         
        .google.container.v1.Operation.Type operation_type = 3;
        Parameters:
        value - The operationType to set.
        Returns:
        This builder for chaining.
      • clearOperationType

        public Operation.Builder clearOperationType()
         The operation type.
         
        .google.container.v1.Operation.Type operation_type = 3;
        Returns:
        This builder for chaining.
      • getStatusValue

        public int getStatusValue()
         The current status of the operation.
         
        .google.container.v1.Operation.Status status = 4;
        Specified by:
        getStatusValue in interface OperationOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • setStatusValue

        public Operation.Builder setStatusValue​(int value)
         The current status of the operation.
         
        .google.container.v1.Operation.Status status = 4;
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • getStatus

        public Operation.Status getStatus()
         The current status of the operation.
         
        .google.container.v1.Operation.Status status = 4;
        Specified by:
        getStatus in interface OperationOrBuilder
        Returns:
        The status.
      • setStatus

        public Operation.Builder setStatus​(Operation.Status value)
         The current status of the operation.
         
        .google.container.v1.Operation.Status status = 4;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public Operation.Builder clearStatus()
         The current status of the operation.
         
        .google.container.v1.Operation.Status status = 4;
        Returns:
        This builder for chaining.
      • getDetail

        public String getDetail()
         Detailed operation progress, if available.
         
        string detail = 8;
        Specified by:
        getDetail in interface OperationOrBuilder
        Returns:
        The detail.
      • getDetailBytes

        public com.google.protobuf.ByteString getDetailBytes()
         Detailed operation progress, if available.
         
        string detail = 8;
        Specified by:
        getDetailBytes in interface OperationOrBuilder
        Returns:
        The bytes for detail.
      • setDetail

        public Operation.Builder setDetail​(String value)
         Detailed operation progress, if available.
         
        string detail = 8;
        Parameters:
        value - The detail to set.
        Returns:
        This builder for chaining.
      • clearDetail

        public Operation.Builder clearDetail()
         Detailed operation progress, if available.
         
        string detail = 8;
        Returns:
        This builder for chaining.
      • setDetailBytes

        public Operation.Builder setDetailBytes​(com.google.protobuf.ByteString value)
         Detailed operation progress, if available.
         
        string detail = 8;
        Parameters:
        value - The bytes for detail to set.
        Returns:
        This builder for chaining.
      • getStatusMessage

        @Deprecated
        public String getStatusMessage()
        Deprecated.
        google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2438
         Output only. If an error has occurred, a textual description of the error.
         Deprecated. Use the field error instead.
         
        string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatusMessage in interface OperationOrBuilder
        Returns:
        The statusMessage.
      • getStatusMessageBytes

        @Deprecated
        public com.google.protobuf.ByteString getStatusMessageBytes()
        Deprecated.
        google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2438
         Output only. If an error has occurred, a textual description of the error.
         Deprecated. Use the field error instead.
         
        string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatusMessageBytes in interface OperationOrBuilder
        Returns:
        The bytes for statusMessage.
      • setStatusMessage

        @Deprecated
        public Operation.Builder setStatusMessage​(String value)
        Deprecated.
        google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2438
         Output only. If an error has occurred, a textual description of the error.
         Deprecated. Use the field error instead.
         
        string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The statusMessage to set.
        Returns:
        This builder for chaining.
      • clearStatusMessage

        @Deprecated
        public Operation.Builder clearStatusMessage()
        Deprecated.
        google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2438
         Output only. If an error has occurred, a textual description of the error.
         Deprecated. Use the field error instead.
         
        string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setStatusMessageBytes

        @Deprecated
        public Operation.Builder setStatusMessageBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2438
         Output only. If an error has occurred, a textual description of the error.
         Deprecated. Use the field error instead.
         
        string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for statusMessage to set.
        Returns:
        This builder for chaining.
      • getSelfLink

        public String getSelfLink()
         Server-defined URI for the operation. Example:
         `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
         
        string self_link = 6;
        Specified by:
        getSelfLink in interface OperationOrBuilder
        Returns:
        The selfLink.
      • getSelfLinkBytes

        public com.google.protobuf.ByteString getSelfLinkBytes()
         Server-defined URI for the operation. Example:
         `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
         
        string self_link = 6;
        Specified by:
        getSelfLinkBytes in interface OperationOrBuilder
        Returns:
        The bytes for selfLink.
      • setSelfLink

        public Operation.Builder setSelfLink​(String value)
         Server-defined URI for the operation. Example:
         `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
         
        string self_link = 6;
        Parameters:
        value - The selfLink to set.
        Returns:
        This builder for chaining.
      • clearSelfLink

        public Operation.Builder clearSelfLink()
         Server-defined URI for the operation. Example:
         `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
         
        string self_link = 6;
        Returns:
        This builder for chaining.
      • setSelfLinkBytes

        public Operation.Builder setSelfLinkBytes​(com.google.protobuf.ByteString value)
         Server-defined URI for the operation. Example:
         `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
         
        string self_link = 6;
        Parameters:
        value - The bytes for selfLink to set.
        Returns:
        This builder for chaining.
      • getTargetLink

        public String getTargetLink()
         Server-defined URI for the target of the operation. The format of this is a
         URI to the resource being modified (such as a cluster, node pool, or node).
         For node pool repairs, there may be multiple nodes being repaired, but only
         one will be the target.
        
         Examples:
        
         -
         ##
         `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
        
         ##
         `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
        
         `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
         
        string target_link = 7;
        Specified by:
        getTargetLink in interface OperationOrBuilder
        Returns:
        The targetLink.
      • getTargetLinkBytes

        public com.google.protobuf.ByteString getTargetLinkBytes()
         Server-defined URI for the target of the operation. The format of this is a
         URI to the resource being modified (such as a cluster, node pool, or node).
         For node pool repairs, there may be multiple nodes being repaired, but only
         one will be the target.
        
         Examples:
        
         -
         ##
         `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
        
         ##
         `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
        
         `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
         
        string target_link = 7;
        Specified by:
        getTargetLinkBytes in interface OperationOrBuilder
        Returns:
        The bytes for targetLink.
      • setTargetLink

        public Operation.Builder setTargetLink​(String value)
         Server-defined URI for the target of the operation. The format of this is a
         URI to the resource being modified (such as a cluster, node pool, or node).
         For node pool repairs, there may be multiple nodes being repaired, but only
         one will be the target.
        
         Examples:
        
         -
         ##
         `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
        
         ##
         `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
        
         `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
         
        string target_link = 7;
        Parameters:
        value - The targetLink to set.
        Returns:
        This builder for chaining.
      • clearTargetLink

        public Operation.Builder clearTargetLink()
         Server-defined URI for the target of the operation. The format of this is a
         URI to the resource being modified (such as a cluster, node pool, or node).
         For node pool repairs, there may be multiple nodes being repaired, but only
         one will be the target.
        
         Examples:
        
         -
         ##
         `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
        
         ##
         `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
        
         `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
         
        string target_link = 7;
        Returns:
        This builder for chaining.
      • setTargetLinkBytes

        public Operation.Builder setTargetLinkBytes​(com.google.protobuf.ByteString value)
         Server-defined URI for the target of the operation. The format of this is a
         URI to the resource being modified (such as a cluster, node pool, or node).
         For node pool repairs, there may be multiple nodes being repaired, but only
         one will be the target.
        
         Examples:
        
         -
         ##
         `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
        
         ##
         `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
        
         `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
         
        string target_link = 7;
        Parameters:
        value - The bytes for targetLink to set.
        Returns:
        This builder for chaining.
      • getLocation

        public String getLocation()
         [Output only] The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         or
         [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         in which the cluster resides.
         
        string location = 9;
        Specified by:
        getLocation in interface OperationOrBuilder
        Returns:
        The location.
      • getLocationBytes

        public com.google.protobuf.ByteString getLocationBytes()
         [Output only] The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         or
         [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         in which the cluster resides.
         
        string location = 9;
        Specified by:
        getLocationBytes in interface OperationOrBuilder
        Returns:
        The bytes for location.
      • setLocation

        public Operation.Builder setLocation​(String value)
         [Output only] The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         or
         [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         in which the cluster resides.
         
        string location = 9;
        Parameters:
        value - The location to set.
        Returns:
        This builder for chaining.
      • clearLocation

        public Operation.Builder clearLocation()
         [Output only] The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         or
         [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         in which the cluster resides.
         
        string location = 9;
        Returns:
        This builder for chaining.
      • setLocationBytes

        public Operation.Builder setLocationBytes​(com.google.protobuf.ByteString value)
         [Output only] The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         or
         [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
         in which the cluster resides.
         
        string location = 9;
        Parameters:
        value - The bytes for location to set.
        Returns:
        This builder for chaining.
      • getStartTime

        public String getStartTime()
         [Output only] The time the operation started, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string start_time = 10;
        Specified by:
        getStartTime in interface OperationOrBuilder
        Returns:
        The startTime.
      • getStartTimeBytes

        public com.google.protobuf.ByteString getStartTimeBytes()
         [Output only] The time the operation started, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string start_time = 10;
        Specified by:
        getStartTimeBytes in interface OperationOrBuilder
        Returns:
        The bytes for startTime.
      • setStartTime

        public Operation.Builder setStartTime​(String value)
         [Output only] The time the operation started, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string start_time = 10;
        Parameters:
        value - The startTime to set.
        Returns:
        This builder for chaining.
      • clearStartTime

        public Operation.Builder clearStartTime()
         [Output only] The time the operation started, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string start_time = 10;
        Returns:
        This builder for chaining.
      • setStartTimeBytes

        public Operation.Builder setStartTimeBytes​(com.google.protobuf.ByteString value)
         [Output only] The time the operation started, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string start_time = 10;
        Parameters:
        value - The bytes for startTime to set.
        Returns:
        This builder for chaining.
      • getEndTime

        public String getEndTime()
         [Output only] The time the operation completed, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string end_time = 11;
        Specified by:
        getEndTime in interface OperationOrBuilder
        Returns:
        The endTime.
      • getEndTimeBytes

        public com.google.protobuf.ByteString getEndTimeBytes()
         [Output only] The time the operation completed, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string end_time = 11;
        Specified by:
        getEndTimeBytes in interface OperationOrBuilder
        Returns:
        The bytes for endTime.
      • setEndTime

        public Operation.Builder setEndTime​(String value)
         [Output only] The time the operation completed, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string end_time = 11;
        Parameters:
        value - The endTime to set.
        Returns:
        This builder for chaining.
      • clearEndTime

        public Operation.Builder clearEndTime()
         [Output only] The time the operation completed, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string end_time = 11;
        Returns:
        This builder for chaining.
      • setEndTimeBytes

        public Operation.Builder setEndTimeBytes​(com.google.protobuf.ByteString value)
         [Output only] The time the operation completed, in
         [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
        string end_time = 11;
        Parameters:
        value - The bytes for endTime to set.
        Returns:
        This builder for chaining.
      • hasProgress

        public boolean hasProgress()
         Output only. [Output only] Progress information for an operation.
         
        .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasProgress in interface OperationOrBuilder
        Returns:
        Whether the progress field is set.
      • getProgress

        public OperationProgress getProgress()
         Output only. [Output only] Progress information for an operation.
         
        .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getProgress in interface OperationOrBuilder
        Returns:
        The progress.
      • setProgress

        public Operation.Builder setProgress​(OperationProgress value)
         Output only. [Output only] Progress information for an operation.
         
        .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setProgress

        public Operation.Builder setProgress​(OperationProgress.Builder builderForValue)
         Output only. [Output only] Progress information for an operation.
         
        .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeProgress

        public Operation.Builder mergeProgress​(OperationProgress value)
         Output only. [Output only] Progress information for an operation.
         
        .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearProgress

        public Operation.Builder clearProgress()
         Output only. [Output only] Progress information for an operation.
         
        .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getProgressBuilder

        public OperationProgress.Builder getProgressBuilder()
         Output only. [Output only] Progress information for an operation.
         
        .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getClusterConditionsList

        @Deprecated
        public List<StatusCondition> getClusterConditionsList()
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
        Specified by:
        getClusterConditionsList in interface OperationOrBuilder
      • getClusterConditionsCount

        @Deprecated
        public int getClusterConditionsCount()
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
        Specified by:
        getClusterConditionsCount in interface OperationOrBuilder
      • getClusterConditions

        @Deprecated
        public StatusCondition getClusterConditions​(int index)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
        Specified by:
        getClusterConditions in interface OperationOrBuilder
      • setClusterConditions

        @Deprecated
        public Operation.Builder setClusterConditions​(int index,
                                                      StatusCondition value)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • setClusterConditions

        @Deprecated
        public Operation.Builder setClusterConditions​(int index,
                                                      StatusCondition.Builder builderForValue)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • addClusterConditions

        @Deprecated
        public Operation.Builder addClusterConditions​(StatusCondition value)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • addClusterConditions

        @Deprecated
        public Operation.Builder addClusterConditions​(int index,
                                                      StatusCondition value)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • addClusterConditions

        @Deprecated
        public Operation.Builder addClusterConditions​(StatusCondition.Builder builderForValue)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • addClusterConditions

        @Deprecated
        public Operation.Builder addClusterConditions​(int index,
                                                      StatusCondition.Builder builderForValue)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • addAllClusterConditions

        @Deprecated
        public Operation.Builder addAllClusterConditions​(Iterable<? extends StatusCondition> values)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • clearClusterConditions

        @Deprecated
        public Operation.Builder clearClusterConditions()
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • removeClusterConditions

        @Deprecated
        public Operation.Builder removeClusterConditions​(int index)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • getClusterConditionsBuilder

        @Deprecated
        public StatusCondition.Builder getClusterConditionsBuilder​(int index)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • addClusterConditionsBuilder

        @Deprecated
        public StatusCondition.Builder addClusterConditionsBuilder()
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • addClusterConditionsBuilder

        @Deprecated
        public StatusCondition.Builder addClusterConditionsBuilder​(int index)
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • getClusterConditionsBuilderList

        @Deprecated
        public List<StatusCondition.Builder> getClusterConditionsBuilderList()
        Deprecated.
         Which conditions caused the current cluster state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
      • getNodepoolConditionsList

        @Deprecated
        public List<StatusCondition> getNodepoolConditionsList()
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
        Specified by:
        getNodepoolConditionsList in interface OperationOrBuilder
      • getNodepoolConditionsCount

        @Deprecated
        public int getNodepoolConditionsCount()
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
        Specified by:
        getNodepoolConditionsCount in interface OperationOrBuilder
      • getNodepoolConditions

        @Deprecated
        public StatusCondition getNodepoolConditions​(int index)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
        Specified by:
        getNodepoolConditions in interface OperationOrBuilder
      • setNodepoolConditions

        @Deprecated
        public Operation.Builder setNodepoolConditions​(int index,
                                                       StatusCondition value)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • setNodepoolConditions

        @Deprecated
        public Operation.Builder setNodepoolConditions​(int index,
                                                       StatusCondition.Builder builderForValue)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • addNodepoolConditions

        @Deprecated
        public Operation.Builder addNodepoolConditions​(StatusCondition value)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • addNodepoolConditions

        @Deprecated
        public Operation.Builder addNodepoolConditions​(int index,
                                                       StatusCondition value)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • addNodepoolConditions

        @Deprecated
        public Operation.Builder addNodepoolConditions​(StatusCondition.Builder builderForValue)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • addNodepoolConditions

        @Deprecated
        public Operation.Builder addNodepoolConditions​(int index,
                                                       StatusCondition.Builder builderForValue)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • addAllNodepoolConditions

        @Deprecated
        public Operation.Builder addAllNodepoolConditions​(Iterable<? extends StatusCondition> values)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • clearNodepoolConditions

        @Deprecated
        public Operation.Builder clearNodepoolConditions()
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • removeNodepoolConditions

        @Deprecated
        public Operation.Builder removeNodepoolConditions​(int index)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • getNodepoolConditionsBuilder

        @Deprecated
        public StatusCondition.Builder getNodepoolConditionsBuilder​(int index)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • addNodepoolConditionsBuilder

        @Deprecated
        public StatusCondition.Builder addNodepoolConditionsBuilder()
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • addNodepoolConditionsBuilder

        @Deprecated
        public StatusCondition.Builder addNodepoolConditionsBuilder​(int index)
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • getNodepoolConditionsBuilderList

        @Deprecated
        public List<StatusCondition.Builder> getNodepoolConditionsBuilderList()
        Deprecated.
         Which conditions caused the current node pool state.
         Deprecated. Use field error instead.
         
        repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
      • hasError

        public boolean hasError()
         The error result of the operation in case of failure.
         
        .google.rpc.Status error = 15;
        Specified by:
        hasError in interface OperationOrBuilder
        Returns:
        Whether the error field is set.
      • getError

        public com.google.rpc.Status getError()
         The error result of the operation in case of failure.
         
        .google.rpc.Status error = 15;
        Specified by:
        getError in interface OperationOrBuilder
        Returns:
        The error.
      • setError

        public Operation.Builder setError​(com.google.rpc.Status value)
         The error result of the operation in case of failure.
         
        .google.rpc.Status error = 15;
      • setError

        public Operation.Builder setError​(com.google.rpc.Status.Builder builderForValue)
         The error result of the operation in case of failure.
         
        .google.rpc.Status error = 15;
      • mergeError

        public Operation.Builder mergeError​(com.google.rpc.Status value)
         The error result of the operation in case of failure.
         
        .google.rpc.Status error = 15;
      • clearError

        public Operation.Builder clearError()
         The error result of the operation in case of failure.
         
        .google.rpc.Status error = 15;
      • getErrorBuilder

        public com.google.rpc.Status.Builder getErrorBuilder()
         The error result of the operation in case of failure.
         
        .google.rpc.Status error = 15;
      • getErrorOrBuilder

        public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         The error result of the operation in case of failure.
         
        .google.rpc.Status error = 15;
        Specified by:
        getErrorOrBuilder in interface OperationOrBuilder
      • setUnknownFields

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

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