Class GetGlobalOrganizationOperationRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetGlobalOrganizationOperationRequest.Builder>
com.google.cloud.compute.v1.GetGlobalOrganizationOperationRequest.Builder
All Implemented Interfaces:
GetGlobalOrganizationOperationRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetGlobalOrganizationOperationRequest

public static final class GetGlobalOrganizationOperationRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetGlobalOrganizationOperationRequest.Builder> implements GetGlobalOrganizationOperationRequestOrBuilder
 A request message for GlobalOrganizationOperations.Get. See the method description for details.
 
Protobuf type google.cloud.compute.v1.GetGlobalOrganizationOperationRequest
  • 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<GetGlobalOrganizationOperationRequest.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<GetGlobalOrganizationOperationRequest.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<GetGlobalOrganizationOperationRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public GetGlobalOrganizationOperationRequest.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<GetGlobalOrganizationOperationRequest.Builder>
      Throws:
      IOException
    • getOperation

      public String getOperation()
       Name of the Operations resource to return. Parent is derived from this
       field.
       
      string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"];
      Specified by:
      getOperation in interface GetGlobalOrganizationOperationRequestOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       Name of the Operations resource to return. Parent is derived from this
       field.
       
      string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"];
      Specified by:
      getOperationBytes in interface GetGlobalOrganizationOperationRequestOrBuilder
      Returns:
      The bytes for operation.
    • setOperation

       Name of the Operations resource to return. Parent is derived from this
       field.
       
      string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"];
      Parameters:
      value - The operation to set.
      Returns:
      This builder for chaining.
    • clearOperation

       Name of the Operations resource to return. Parent is derived from this
       field.
       
      string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"];
      Returns:
      This builder for chaining.
    • setOperationBytes

      public GetGlobalOrganizationOperationRequest.Builder setOperationBytes(com.google.protobuf.ByteString value)
       Name of the Operations resource to return. Parent is derived from this
       field.
       
      string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"];
      Parameters:
      value - The bytes for operation to set.
      Returns:
      This builder for chaining.
    • hasParentId

      public boolean hasParentId()
       Parent ID for this request. Not used. Parent is derived from resource_id.
       
      optional string parent_id = 459714768;
      Specified by:
      hasParentId in interface GetGlobalOrganizationOperationRequestOrBuilder
      Returns:
      Whether the parentId field is set.
    • getParentId

      public String getParentId()
       Parent ID for this request. Not used. Parent is derived from resource_id.
       
      optional string parent_id = 459714768;
      Specified by:
      getParentId in interface GetGlobalOrganizationOperationRequestOrBuilder
      Returns:
      The parentId.
    • getParentIdBytes

      public com.google.protobuf.ByteString getParentIdBytes()
       Parent ID for this request. Not used. Parent is derived from resource_id.
       
      optional string parent_id = 459714768;
      Specified by:
      getParentIdBytes in interface GetGlobalOrganizationOperationRequestOrBuilder
      Returns:
      The bytes for parentId.
    • setParentId

       Parent ID for this request. Not used. Parent is derived from resource_id.
       
      optional string parent_id = 459714768;
      Parameters:
      value - The parentId to set.
      Returns:
      This builder for chaining.
    • clearParentId

       Parent ID for this request. Not used. Parent is derived from resource_id.
       
      optional string parent_id = 459714768;
      Returns:
      This builder for chaining.
    • setParentIdBytes

      public GetGlobalOrganizationOperationRequest.Builder setParentIdBytes(com.google.protobuf.ByteString value)
       Parent ID for this request. Not used. Parent is derived from resource_id.
       
      optional string parent_id = 459714768;
      Parameters:
      value - The bytes for parentId to set.
      Returns:
      This builder for chaining.