Class GetOperationRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetOperationRequest.Builder>
com.google.container.v1.GetOperationRequest.Builder
All Implemented Interfaces:
GetOperationRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetOperationRequest

public static final class GetOperationRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetOperationRequest.Builder> implements GetOperationRequestOrBuilder
 GetOperationRequest gets a single operation.
 
Protobuf type google.container.v1.GetOperationRequest
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The name (project, location, operation id) of the operation to get.
    Deprecated.
    google.container.v1.GetOperationRequest.operation_id is deprecated.
    Deprecated.
    google.container.v1.GetOperationRequest.project_id is deprecated.
    Deprecated.
    google.container.v1.GetOperationRequest.zone is deprecated.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The name (project, location, operation id) of the operation to get.
    com.google.protobuf.ByteString
    The name (project, location, operation id) of the operation to get.
    Deprecated.
    google.container.v1.GetOperationRequest.operation_id is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.container.v1.GetOperationRequest.operation_id is deprecated.
    Deprecated.
    google.container.v1.GetOperationRequest.project_id is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.container.v1.GetOperationRequest.project_id is deprecated.
    Deprecated.
    google.container.v1.GetOperationRequest.zone is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.container.v1.GetOperationRequest.zone is deprecated.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setName(String value)
    The name (project, location, operation id) of the operation to get.
    setNameBytes(com.google.protobuf.ByteString value)
    The name (project, location, operation id) of the operation to get.
    Deprecated.
    google.container.v1.GetOperationRequest.operation_id is deprecated.
    setOperationIdBytes(com.google.protobuf.ByteString value)
    Deprecated.
    google.container.v1.GetOperationRequest.operation_id is deprecated.
    Deprecated.
    google.container.v1.GetOperationRequest.project_id is deprecated.
    setProjectIdBytes(com.google.protobuf.ByteString value)
    Deprecated.
    google.container.v1.GetOperationRequest.project_id is deprecated.
    setZone(String value)
    Deprecated.
    google.container.v1.GetOperationRequest.zone is deprecated.
    setZoneBytes(com.google.protobuf.ByteString value)
    Deprecated.
    google.container.v1.GetOperationRequest.zone is deprecated.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GetOperationRequest.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.GeneratedMessage.Builder<GetOperationRequest.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.GeneratedMessage.Builder<GetOperationRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

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

      @Deprecated public String getProjectId()
      Deprecated.
      google.container.v1.GetOperationRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4814
       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];
      Specified by:
      getProjectId in interface GetOperationRequestOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      @Deprecated public com.google.protobuf.ByteString getProjectIdBytes()
      Deprecated.
      google.container.v1.GetOperationRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4814
       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];
      Specified by:
      getProjectIdBytes in interface GetOperationRequestOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      @Deprecated public GetOperationRequest.Builder setProjectId(String value)
      Deprecated.
      google.container.v1.GetOperationRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4814
       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];
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      @Deprecated public GetOperationRequest.Builder clearProjectId()
      Deprecated.
      google.container.v1.GetOperationRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4814
       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];
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      @Deprecated public GetOperationRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.container.v1.GetOperationRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4814
       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];
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • getZone

      @Deprecated public String getZone()
      Deprecated.
      google.container.v1.GetOperationRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4820
       Deprecated. The name of the Google Compute Engine
       [zone](https://cloud.google.com/compute/docs/zones#available)
       in which the cluster resides. This field has been deprecated and replaced
       by the name field.
       
      string zone = 2 [deprecated = true];
      Specified by:
      getZone in interface GetOperationRequestOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      @Deprecated public com.google.protobuf.ByteString getZoneBytes()
      Deprecated.
      google.container.v1.GetOperationRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4820
       Deprecated. The name of the Google Compute Engine
       [zone](https://cloud.google.com/compute/docs/zones#available)
       in which the cluster resides. This field has been deprecated and replaced
       by the name field.
       
      string zone = 2 [deprecated = true];
      Specified by:
      getZoneBytes in interface GetOperationRequestOrBuilder
      Returns:
      The bytes for zone.
    • setZone

      Deprecated.
      google.container.v1.GetOperationRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4820
       Deprecated. The name of the Google Compute Engine
       [zone](https://cloud.google.com/compute/docs/zones#available)
       in which the cluster resides. This field has been deprecated and replaced
       by the name field.
       
      string zone = 2 [deprecated = true];
      Parameters:
      value - The zone to set.
      Returns:
      This builder for chaining.
    • clearZone

      Deprecated.
      google.container.v1.GetOperationRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4820
       Deprecated. The name of the Google Compute Engine
       [zone](https://cloud.google.com/compute/docs/zones#available)
       in which the cluster resides. This field has been deprecated and replaced
       by the name field.
       
      string zone = 2 [deprecated = true];
      Returns:
      This builder for chaining.
    • setZoneBytes

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

      @Deprecated public String getOperationId()
      Deprecated.
      google.container.v1.GetOperationRequest.operation_id is deprecated. See google/container/v1/cluster_service.proto;l=4824
       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];
      Specified by:
      getOperationId in interface GetOperationRequestOrBuilder
      Returns:
      The operationId.
    • getOperationIdBytes

      @Deprecated public com.google.protobuf.ByteString getOperationIdBytes()
      Deprecated.
      google.container.v1.GetOperationRequest.operation_id is deprecated. See google/container/v1/cluster_service.proto;l=4824
       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];
      Specified by:
      getOperationIdBytes in interface GetOperationRequestOrBuilder
      Returns:
      The bytes for operationId.
    • setOperationId

      @Deprecated public GetOperationRequest.Builder setOperationId(String value)
      Deprecated.
      google.container.v1.GetOperationRequest.operation_id is deprecated. See google/container/v1/cluster_service.proto;l=4824
       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];
      Parameters:
      value - The operationId to set.
      Returns:
      This builder for chaining.
    • clearOperationId

      @Deprecated public GetOperationRequest.Builder clearOperationId()
      Deprecated.
      google.container.v1.GetOperationRequest.operation_id is deprecated. See google/container/v1/cluster_service.proto;l=4824
       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];
      Returns:
      This builder for chaining.
    • setOperationIdBytes

      @Deprecated public GetOperationRequest.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.container.v1.GetOperationRequest.operation_id is deprecated. See google/container/v1/cluster_service.proto;l=4824
       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];
      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 get.
       Specified in the format `projects/*/locations/*/operations/*`.
       
      string name = 5;
      Specified by:
      getName in interface GetOperationRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

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

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