Class InstancesSetMachineResourcesRequest.Builder

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

public static final class InstancesSetMachineResourcesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstancesSetMachineResourcesRequest.Builder> implements InstancesSetMachineResourcesRequestOrBuilder
 
Protobuf type google.cloud.compute.v1.InstancesSetMachineResourcesRequest
  • 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<InstancesSetMachineResourcesRequest.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<InstancesSetMachineResourcesRequest.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<InstancesSetMachineResourcesRequest.Builder>
    • getDefaultInstanceForType

      public InstancesSetMachineResourcesRequest 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

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

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

      public InstancesSetMachineResourcesRequest.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<InstancesSetMachineResourcesRequest.Builder>
      Throws:
      IOException
    • getGuestAcceleratorsList

      public List<AcceleratorConfig> getGuestAcceleratorsList()
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
      Specified by:
      getGuestAcceleratorsList in interface InstancesSetMachineResourcesRequestOrBuilder
    • getGuestAcceleratorsCount

      public int getGuestAcceleratorsCount()
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
      Specified by:
      getGuestAcceleratorsCount in interface InstancesSetMachineResourcesRequestOrBuilder
    • getGuestAccelerators

      public AcceleratorConfig getGuestAccelerators(int index)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
      Specified by:
      getGuestAccelerators in interface InstancesSetMachineResourcesRequestOrBuilder
    • setGuestAccelerators

      public InstancesSetMachineResourcesRequest.Builder setGuestAccelerators(int index, AcceleratorConfig value)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • setGuestAccelerators

      public InstancesSetMachineResourcesRequest.Builder setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • addGuestAccelerators

       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • addGuestAccelerators

      public InstancesSetMachineResourcesRequest.Builder addGuestAccelerators(int index, AcceleratorConfig value)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • addGuestAccelerators

      public InstancesSetMachineResourcesRequest.Builder addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • addGuestAccelerators

      public InstancesSetMachineResourcesRequest.Builder addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • addAllGuestAccelerators

      public InstancesSetMachineResourcesRequest.Builder addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • clearGuestAccelerators

      public InstancesSetMachineResourcesRequest.Builder clearGuestAccelerators()
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • removeGuestAccelerators

      public InstancesSetMachineResourcesRequest.Builder removeGuestAccelerators(int index)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • getGuestAcceleratorsBuilder

      public AcceleratorConfig.Builder getGuestAcceleratorsBuilder(int index)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • getGuestAcceleratorsOrBuilder

      public AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
      Specified by:
      getGuestAcceleratorsOrBuilder in interface InstancesSetMachineResourcesRequestOrBuilder
    • getGuestAcceleratorsOrBuilderList

      public List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
      Specified by:
      getGuestAcceleratorsOrBuilderList in interface InstancesSetMachineResourcesRequestOrBuilder
    • addGuestAcceleratorsBuilder

      public AcceleratorConfig.Builder addGuestAcceleratorsBuilder()
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • addGuestAcceleratorsBuilder

      public AcceleratorConfig.Builder addGuestAcceleratorsBuilder(int index)
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
    • getGuestAcceleratorsBuilderList

      public List<AcceleratorConfig.Builder> getGuestAcceleratorsBuilderList()
       A list of the type and count of accelerator cards attached to the instance.
       
      repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;