Class UpdatePrivateCloudRequest.Builder

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

public static final class UpdatePrivateCloudRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdatePrivateCloudRequest.Builder> implements UpdatePrivateCloudRequestOrBuilder
 Request message for
 [VmwareEngine.UpdatePrivateCloud][google.cloud.vmwareengine.v1.VmwareEngine.UpdatePrivateCloud]
 
Protobuf type google.cloud.vmwareengine.v1.UpdatePrivateCloudRequest
  • 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<UpdatePrivateCloudRequest.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<UpdatePrivateCloudRequest.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<UpdatePrivateCloudRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdatePrivateCloudRequest.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<UpdatePrivateCloudRequest.Builder>
      Throws:
      IOException
    • hasPrivateCloud

      public boolean hasPrivateCloud()
       Required. Private cloud description.
       
      .google.cloud.vmwareengine.v1.PrivateCloud private_cloud = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasPrivateCloud in interface UpdatePrivateCloudRequestOrBuilder
      Returns:
      Whether the privateCloud field is set.
    • getPrivateCloud

      public PrivateCloud getPrivateCloud()
       Required. Private cloud description.
       
      .google.cloud.vmwareengine.v1.PrivateCloud private_cloud = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPrivateCloud in interface UpdatePrivateCloudRequestOrBuilder
      Returns:
      The privateCloud.
    • setPrivateCloud

      public UpdatePrivateCloudRequest.Builder setPrivateCloud(PrivateCloud value)
       Required. Private cloud description.
       
      .google.cloud.vmwareengine.v1.PrivateCloud private_cloud = 1 [(.google.api.field_behavior) = REQUIRED];
    • setPrivateCloud

      public UpdatePrivateCloudRequest.Builder setPrivateCloud(PrivateCloud.Builder builderForValue)
       Required. Private cloud description.
       
      .google.cloud.vmwareengine.v1.PrivateCloud private_cloud = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergePrivateCloud

      public UpdatePrivateCloudRequest.Builder mergePrivateCloud(PrivateCloud value)
       Required. Private cloud description.
       
      .google.cloud.vmwareengine.v1.PrivateCloud private_cloud = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearPrivateCloud

      public UpdatePrivateCloudRequest.Builder clearPrivateCloud()
       Required. Private cloud description.
       
      .google.cloud.vmwareengine.v1.PrivateCloud private_cloud = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPrivateCloudBuilder

      public PrivateCloud.Builder getPrivateCloudBuilder()
       Required. Private cloud description.
       
      .google.cloud.vmwareengine.v1.PrivateCloud private_cloud = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPrivateCloudOrBuilder

      public PrivateCloudOrBuilder getPrivateCloudOrBuilder()
       Required. Private cloud description.
       
      .google.cloud.vmwareengine.v1.PrivateCloud private_cloud = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPrivateCloudOrBuilder in interface UpdatePrivateCloudRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       `PrivateCloud` resource by the update. The fields specified in `updateMask`
       are relative to the resource, not the full request. A field will be
       overwritten if it is in the mask. If the user does not provide a mask then
       all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdatePrivateCloudRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       `PrivateCloud` resource by the update. The fields specified in `updateMask`
       are relative to the resource, not the full request. A field will be
       overwritten if it is in the mask. If the user does not provide a mask then
       all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdatePrivateCloudRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdatePrivateCloudRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. Field mask is used to specify the fields to be overwritten in the
       `PrivateCloud` resource by the update. The fields specified in `updateMask`
       are relative to the resource, not the full request. A field will be
       overwritten if it is in the mask. If the user does not provide a mask then
       all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdatePrivateCloudRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. Field mask is used to specify the fields to be overwritten in the
       `PrivateCloud` resource by the update. The fields specified in `updateMask`
       are relative to the resource, not the full request. A field will be
       overwritten if it is in the mask. If the user does not provide a mask then
       all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdatePrivateCloudRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. Field mask is used to specify the fields to be overwritten in the
       `PrivateCloud` resource by the update. The fields specified in `updateMask`
       are relative to the resource, not the full request. A field will be
       overwritten if it is in the mask. If the user does not provide a mask then
       all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdatePrivateCloudRequest.Builder clearUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       `PrivateCloud` resource by the update. The fields specified in `updateMask`
       are relative to the resource, not the full request. A field will be
       overwritten if it is in the mask. If the user does not provide a mask then
       all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. Field mask is used to specify the fields to be overwritten in the
       `PrivateCloud` resource by the update. The fields specified in `updateMask`
       are relative to the resource, not the full request. A field will be
       overwritten if it is in the mask. If the user does not provide a mask then
       all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. Field mask is used to specify the fields to be overwritten in the
       `PrivateCloud` resource by the update. The fields specified in `updateMask`
       are relative to the resource, not the full request. A field will be
       overwritten if it is in the mask. If the user does not provide a mask then
       all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdatePrivateCloudRequestOrBuilder
    • getRequestId

      public String getRequestId()
       Optional. The request ID must be a valid UUID with the exception that zero
       UUID is not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestId in interface UpdatePrivateCloudRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. The request ID must be a valid UUID with the exception that zero
       UUID is not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestIdBytes in interface UpdatePrivateCloudRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public UpdatePrivateCloudRequest.Builder setRequestId(String value)
       Optional. The request ID must be a valid UUID with the exception that zero
       UUID is not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public UpdatePrivateCloudRequest.Builder clearRequestId()
       Optional. The request ID must be a valid UUID with the exception that zero
       UUID is not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public UpdatePrivateCloudRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. The request ID must be a valid UUID with the exception that zero
       UUID is not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.