Class RemoveVirtualMachineExadbVmClusterRequest.Builder

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

public static final class RemoveVirtualMachineExadbVmClusterRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<RemoveVirtualMachineExadbVmClusterRequest.Builder> implements RemoveVirtualMachineExadbVmClusterRequestOrBuilder
 The request for `ExadbVmCluster.RemoveVirtualMachine`.
 
Protobuf type google.cloud.oracledatabase.v1.RemoveVirtualMachineExadbVmClusterRequest
  • 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<RemoveVirtualMachineExadbVmClusterRequest.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<RemoveVirtualMachineExadbVmClusterRequest.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<RemoveVirtualMachineExadbVmClusterRequest.Builder>
    • getDefaultInstanceForType

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

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

      public String getName()
       Required. The name of the ExadbVmCluster in the following format:
       projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface RemoveVirtualMachineExadbVmClusterRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the ExadbVmCluster in the following format:
       projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface RemoveVirtualMachineExadbVmClusterRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The name of the ExadbVmCluster in the following format:
       projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The name of the ExadbVmCluster in the following format:
       projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public RemoveVirtualMachineExadbVmClusterRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the ExadbVmCluster in the following format:
       projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getRequestId

      public String getRequestId()
       Optional. An optional ID to identify the request. This value is used to
       identify duplicate requests. If you make a request with the same request ID
       and the original request is still in progress or completed, the server
       ignores the second request. This prevents clients from
       accidentally creating duplicate commitments.
      
       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, (.google.api.field_info) = { ... }
      Specified by:
      getRequestId in interface RemoveVirtualMachineExadbVmClusterRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. An optional ID to identify the request. This value is used to
       identify duplicate requests. If you make a request with the same request ID
       and the original request is still in progress or completed, the server
       ignores the second request. This prevents clients from
       accidentally creating duplicate commitments.
      
       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, (.google.api.field_info) = { ... }
      Specified by:
      getRequestIdBytes in interface RemoveVirtualMachineExadbVmClusterRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

       Optional. An optional ID to identify the request. This value is used to
       identify duplicate requests. If you make a request with the same request ID
       and the original request is still in progress or completed, the server
       ignores the second request. This prevents clients from
       accidentally creating duplicate commitments.
      
       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, (.google.api.field_info) = { ... }
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

       Optional. An optional ID to identify the request. This value is used to
       identify duplicate requests. If you make a request with the same request ID
       and the original request is still in progress or completed, the server
       ignores the second request. This prevents clients from
       accidentally creating duplicate commitments.
      
       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, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public RemoveVirtualMachineExadbVmClusterRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. An optional ID to identify the request. This value is used to
       identify duplicate requests. If you make a request with the same request ID
       and the original request is still in progress or completed, the server
       ignores the second request. This prevents clients from
       accidentally creating duplicate commitments.
      
       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, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • getHostnamesList

      public com.google.protobuf.ProtocolStringList getHostnamesList()
       Required. The list of host names of db nodes to be removed from the
       ExadbVmCluster.
       
      repeated string hostnames = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHostnamesList in interface RemoveVirtualMachineExadbVmClusterRequestOrBuilder
      Returns:
      A list containing the hostnames.
    • getHostnamesCount

      public int getHostnamesCount()
       Required. The list of host names of db nodes to be removed from the
       ExadbVmCluster.
       
      repeated string hostnames = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHostnamesCount in interface RemoveVirtualMachineExadbVmClusterRequestOrBuilder
      Returns:
      The count of hostnames.
    • getHostnames

      public String getHostnames(int index)
       Required. The list of host names of db nodes to be removed from the
       ExadbVmCluster.
       
      repeated string hostnames = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHostnames in interface RemoveVirtualMachineExadbVmClusterRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The hostnames at the given index.
    • getHostnamesBytes

      public com.google.protobuf.ByteString getHostnamesBytes(int index)
       Required. The list of host names of db nodes to be removed from the
       ExadbVmCluster.
       
      repeated string hostnames = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHostnamesBytes in interface RemoveVirtualMachineExadbVmClusterRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the hostnames at the given index.
    • setHostnames

      public RemoveVirtualMachineExadbVmClusterRequest.Builder setHostnames(int index, String value)
       Required. The list of host names of db nodes to be removed from the
       ExadbVmCluster.
       
      repeated string hostnames = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The hostnames to set.
      Returns:
      This builder for chaining.
    • addHostnames

       Required. The list of host names of db nodes to be removed from the
       ExadbVmCluster.
       
      repeated string hostnames = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The hostnames to add.
      Returns:
      This builder for chaining.
    • addAllHostnames

       Required. The list of host names of db nodes to be removed from the
       ExadbVmCluster.
       
      repeated string hostnames = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The hostnames to add.
      Returns:
      This builder for chaining.
    • clearHostnames

       Required. The list of host names of db nodes to be removed from the
       ExadbVmCluster.
       
      repeated string hostnames = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • addHostnamesBytes

      public RemoveVirtualMachineExadbVmClusterRequest.Builder addHostnamesBytes(com.google.protobuf.ByteString value)
       Required. The list of host names of db nodes to be removed from the
       ExadbVmCluster.
       
      repeated string hostnames = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes of the hostnames to add.
      Returns:
      This builder for chaining.