Class PreservedStatePreservedNetworkIp.Builder

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

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

      public PreservedStatePreservedNetworkIp 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 PreservedStatePreservedNetworkIp buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public PreservedStatePreservedNetworkIp.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<PreservedStatePreservedNetworkIp.Builder>
      Throws:
      IOException
    • hasAutoDelete

      public boolean hasAutoDelete()
       These stateful IPs will never be released during autohealing,
       update or VM instance recreate operations.
       This flag is used to configure if the IP reservation should be deleted
       after it is no longer used by the group, e.g. when the given instance
       or the whole group is deleted.
       Check the AutoDelete enum for the list of possible values.
       
      optional string auto_delete = 464761403;
      Specified by:
      hasAutoDelete in interface PreservedStatePreservedNetworkIpOrBuilder
      Returns:
      Whether the autoDelete field is set.
    • getAutoDelete

      public String getAutoDelete()
       These stateful IPs will never be released during autohealing,
       update or VM instance recreate operations.
       This flag is used to configure if the IP reservation should be deleted
       after it is no longer used by the group, e.g. when the given instance
       or the whole group is deleted.
       Check the AutoDelete enum for the list of possible values.
       
      optional string auto_delete = 464761403;
      Specified by:
      getAutoDelete in interface PreservedStatePreservedNetworkIpOrBuilder
      Returns:
      The autoDelete.
    • getAutoDeleteBytes

      public com.google.protobuf.ByteString getAutoDeleteBytes()
       These stateful IPs will never be released during autohealing,
       update or VM instance recreate operations.
       This flag is used to configure if the IP reservation should be deleted
       after it is no longer used by the group, e.g. when the given instance
       or the whole group is deleted.
       Check the AutoDelete enum for the list of possible values.
       
      optional string auto_delete = 464761403;
      Specified by:
      getAutoDeleteBytes in interface PreservedStatePreservedNetworkIpOrBuilder
      Returns:
      The bytes for autoDelete.
    • setAutoDelete

      public PreservedStatePreservedNetworkIp.Builder setAutoDelete(String value)
       These stateful IPs will never be released during autohealing,
       update or VM instance recreate operations.
       This flag is used to configure if the IP reservation should be deleted
       after it is no longer used by the group, e.g. when the given instance
       or the whole group is deleted.
       Check the AutoDelete enum for the list of possible values.
       
      optional string auto_delete = 464761403;
      Parameters:
      value - The autoDelete to set.
      Returns:
      This builder for chaining.
    • clearAutoDelete

      public PreservedStatePreservedNetworkIp.Builder clearAutoDelete()
       These stateful IPs will never be released during autohealing,
       update or VM instance recreate operations.
       This flag is used to configure if the IP reservation should be deleted
       after it is no longer used by the group, e.g. when the given instance
       or the whole group is deleted.
       Check the AutoDelete enum for the list of possible values.
       
      optional string auto_delete = 464761403;
      Returns:
      This builder for chaining.
    • setAutoDeleteBytes

      public PreservedStatePreservedNetworkIp.Builder setAutoDeleteBytes(com.google.protobuf.ByteString value)
       These stateful IPs will never be released during autohealing,
       update or VM instance recreate operations.
       This flag is used to configure if the IP reservation should be deleted
       after it is no longer used by the group, e.g. when the given instance
       or the whole group is deleted.
       Check the AutoDelete enum for the list of possible values.
       
      optional string auto_delete = 464761403;
      Parameters:
      value - The bytes for autoDelete to set.
      Returns:
      This builder for chaining.
    • hasIpAddress

      public boolean hasIpAddress()
       Ip address representation
       
      optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;
      Specified by:
      hasIpAddress in interface PreservedStatePreservedNetworkIpOrBuilder
      Returns:
      Whether the ipAddress field is set.
    • getIpAddress

       Ip address representation
       
      optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;
      Specified by:
      getIpAddress in interface PreservedStatePreservedNetworkIpOrBuilder
      Returns:
      The ipAddress.
    • setIpAddress

       Ip address representation
       
      optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;
    • setIpAddress

       Ip address representation
       
      optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;
    • mergeIpAddress

       Ip address representation
       
      optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;
    • clearIpAddress

       Ip address representation
       
      optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;
    • getIpAddressBuilder

       Ip address representation
       
      optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;
    • getIpAddressOrBuilder

       Ip address representation
       
      optional .google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220;
      Specified by:
      getIpAddressOrBuilder in interface PreservedStatePreservedNetworkIpOrBuilder