Class GuestOsFeature.Builder

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

public static final class GuestOsFeature.Builder extends com.google.protobuf.GeneratedMessage.Builder<GuestOsFeature.Builder> implements GuestOsFeatureOrBuilder
 Guest OS features.
 
Protobuf type google.cloud.compute.v1.GuestOsFeature
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The ID of a supported feature.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The ID of a supported feature.
    com.google.protobuf.ByteString
    The ID of a supported feature.
    boolean
    The ID of a supported feature.
    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)
     
    setType(String value)
    The ID of a supported feature.
    setTypeBytes(com.google.protobuf.ByteString value)
    The ID of a supported feature.

    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<GuestOsFeature.Builder>
    • clear

      public GuestOsFeature.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<GuestOsFeature.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<GuestOsFeature.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GuestOsFeature.Builder mergeFrom(GuestOsFeature other)
    • isInitialized

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

      public GuestOsFeature.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<GuestOsFeature.Builder>
      Throws:
      IOException
    • hasType

      public boolean hasType()
       The ID of a supported feature. To add multiple values, use commas to
       separate values. Set to one or more of the following values:
      
       - VIRTIO_SCSI_MULTIQUEUE
       - WINDOWS
       - MULTI_IP_SUBNET
       - UEFI_COMPATIBLE
       - GVNIC
       - SEV_CAPABLE
       - SUSPEND_RESUME_COMPATIBLE
       - SEV_LIVE_MIGRATABLE_V2
       - SEV_SNP_CAPABLE
       - TDX_CAPABLE
       - IDPF
       - SNP_SVSM_CAPABLE
       - CCA_CAPABLE
      
      
       For more information, see
       Enabling guest operating system features.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      hasType in interface GuestOsFeatureOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       The ID of a supported feature. To add multiple values, use commas to
       separate values. Set to one or more of the following values:
      
       - VIRTIO_SCSI_MULTIQUEUE
       - WINDOWS
       - MULTI_IP_SUBNET
       - UEFI_COMPATIBLE
       - GVNIC
       - SEV_CAPABLE
       - SUSPEND_RESUME_COMPATIBLE
       - SEV_LIVE_MIGRATABLE_V2
       - SEV_SNP_CAPABLE
       - TDX_CAPABLE
       - IDPF
       - SNP_SVSM_CAPABLE
       - CCA_CAPABLE
      
      
       For more information, see
       Enabling guest operating system features.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      getType in interface GuestOsFeatureOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The ID of a supported feature. To add multiple values, use commas to
       separate values. Set to one or more of the following values:
      
       - VIRTIO_SCSI_MULTIQUEUE
       - WINDOWS
       - MULTI_IP_SUBNET
       - UEFI_COMPATIBLE
       - GVNIC
       - SEV_CAPABLE
       - SUSPEND_RESUME_COMPATIBLE
       - SEV_LIVE_MIGRATABLE_V2
       - SEV_SNP_CAPABLE
       - TDX_CAPABLE
       - IDPF
       - SNP_SVSM_CAPABLE
       - CCA_CAPABLE
      
      
       For more information, see
       Enabling guest operating system features.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      getTypeBytes in interface GuestOsFeatureOrBuilder
      Returns:
      The bytes for type.
    • setType

      public GuestOsFeature.Builder setType(String value)
       The ID of a supported feature. To add multiple values, use commas to
       separate values. Set to one or more of the following values:
      
       - VIRTIO_SCSI_MULTIQUEUE
       - WINDOWS
       - MULTI_IP_SUBNET
       - UEFI_COMPATIBLE
       - GVNIC
       - SEV_CAPABLE
       - SUSPEND_RESUME_COMPATIBLE
       - SEV_LIVE_MIGRATABLE_V2
       - SEV_SNP_CAPABLE
       - TDX_CAPABLE
       - IDPF
       - SNP_SVSM_CAPABLE
       - CCA_CAPABLE
      
      
       For more information, see
       Enabling guest operating system features.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public GuestOsFeature.Builder clearType()
       The ID of a supported feature. To add multiple values, use commas to
       separate values. Set to one or more of the following values:
      
       - VIRTIO_SCSI_MULTIQUEUE
       - WINDOWS
       - MULTI_IP_SUBNET
       - UEFI_COMPATIBLE
       - GVNIC
       - SEV_CAPABLE
       - SUSPEND_RESUME_COMPATIBLE
       - SEV_LIVE_MIGRATABLE_V2
       - SEV_SNP_CAPABLE
       - TDX_CAPABLE
       - IDPF
       - SNP_SVSM_CAPABLE
       - CCA_CAPABLE
      
      
       For more information, see
       Enabling guest operating system features.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public GuestOsFeature.Builder setTypeBytes(com.google.protobuf.ByteString value)
       The ID of a supported feature. To add multiple values, use commas to
       separate values. Set to one or more of the following values:
      
       - VIRTIO_SCSI_MULTIQUEUE
       - WINDOWS
       - MULTI_IP_SUBNET
       - UEFI_COMPATIBLE
       - GVNIC
       - SEV_CAPABLE
       - SUSPEND_RESUME_COMPATIBLE
       - SEV_LIVE_MIGRATABLE_V2
       - SEV_SNP_CAPABLE
       - TDX_CAPABLE
       - IDPF
       - SNP_SVSM_CAPABLE
       - CCA_CAPABLE
      
      
       For more information, see
       Enabling guest operating system features.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.