Class NetworkProfileProfileType.Builder

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

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

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

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

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

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

      public NetworkProfileProfileType.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<NetworkProfileProfileType.Builder>
      Throws:
      IOException
    • hasNetworkType

      public boolean hasNetworkType()
      
       Check the NetworkType enum for the list of possible values.
       
      optional string network_type = 517413547;
      Specified by:
      hasNetworkType in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      Whether the networkType field is set.
    • getNetworkType

      public String getNetworkType()
      
       Check the NetworkType enum for the list of possible values.
       
      optional string network_type = 517413547;
      Specified by:
      getNetworkType in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      The networkType.
    • getNetworkTypeBytes

      public com.google.protobuf.ByteString getNetworkTypeBytes()
      
       Check the NetworkType enum for the list of possible values.
       
      optional string network_type = 517413547;
      Specified by:
      getNetworkTypeBytes in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      The bytes for networkType.
    • setNetworkType

      public NetworkProfileProfileType.Builder setNetworkType(String value)
      
       Check the NetworkType enum for the list of possible values.
       
      optional string network_type = 517413547;
      Parameters:
      value - The networkType to set.
      Returns:
      This builder for chaining.
    • clearNetworkType

      public NetworkProfileProfileType.Builder clearNetworkType()
      
       Check the NetworkType enum for the list of possible values.
       
      optional string network_type = 517413547;
      Returns:
      This builder for chaining.
    • setNetworkTypeBytes

      public NetworkProfileProfileType.Builder setNetworkTypeBytes(com.google.protobuf.ByteString value)
      
       Check the NetworkType enum for the list of possible values.
       
      optional string network_type = 517413547;
      Parameters:
      value - The bytes for networkType to set.
      Returns:
      This builder for chaining.
    • hasRdmaSubtype

      public boolean hasRdmaSubtype()
      
       Check the RdmaSubtype enum for the list of possible values.
       
      optional string rdma_subtype = 82019713;
      Specified by:
      hasRdmaSubtype in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      Whether the rdmaSubtype field is set.
    • getRdmaSubtype

      public String getRdmaSubtype()
      
       Check the RdmaSubtype enum for the list of possible values.
       
      optional string rdma_subtype = 82019713;
      Specified by:
      getRdmaSubtype in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      The rdmaSubtype.
    • getRdmaSubtypeBytes

      public com.google.protobuf.ByteString getRdmaSubtypeBytes()
      
       Check the RdmaSubtype enum for the list of possible values.
       
      optional string rdma_subtype = 82019713;
      Specified by:
      getRdmaSubtypeBytes in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      The bytes for rdmaSubtype.
    • setRdmaSubtype

      public NetworkProfileProfileType.Builder setRdmaSubtype(String value)
      
       Check the RdmaSubtype enum for the list of possible values.
       
      optional string rdma_subtype = 82019713;
      Parameters:
      value - The rdmaSubtype to set.
      Returns:
      This builder for chaining.
    • clearRdmaSubtype

      public NetworkProfileProfileType.Builder clearRdmaSubtype()
      
       Check the RdmaSubtype enum for the list of possible values.
       
      optional string rdma_subtype = 82019713;
      Returns:
      This builder for chaining.
    • setRdmaSubtypeBytes

      public NetworkProfileProfileType.Builder setRdmaSubtypeBytes(com.google.protobuf.ByteString value)
      
       Check the RdmaSubtype enum for the list of possible values.
       
      optional string rdma_subtype = 82019713;
      Parameters:
      value - The bytes for rdmaSubtype to set.
      Returns:
      This builder for chaining.
    • hasUllSubtype

      public boolean hasUllSubtype()
      
       Check the UllSubtype enum for the list of possible values.
       
      optional string ull_subtype = 94311408;
      Specified by:
      hasUllSubtype in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      Whether the ullSubtype field is set.
    • getUllSubtype

      public String getUllSubtype()
      
       Check the UllSubtype enum for the list of possible values.
       
      optional string ull_subtype = 94311408;
      Specified by:
      getUllSubtype in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      The ullSubtype.
    • getUllSubtypeBytes

      public com.google.protobuf.ByteString getUllSubtypeBytes()
      
       Check the UllSubtype enum for the list of possible values.
       
      optional string ull_subtype = 94311408;
      Specified by:
      getUllSubtypeBytes in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      The bytes for ullSubtype.
    • setUllSubtype

      public NetworkProfileProfileType.Builder setUllSubtype(String value)
      
       Check the UllSubtype enum for the list of possible values.
       
      optional string ull_subtype = 94311408;
      Parameters:
      value - The ullSubtype to set.
      Returns:
      This builder for chaining.
    • clearUllSubtype

      public NetworkProfileProfileType.Builder clearUllSubtype()
      
       Check the UllSubtype enum for the list of possible values.
       
      optional string ull_subtype = 94311408;
      Returns:
      This builder for chaining.
    • setUllSubtypeBytes

      public NetworkProfileProfileType.Builder setUllSubtypeBytes(com.google.protobuf.ByteString value)
      
       Check the UllSubtype enum for the list of possible values.
       
      optional string ull_subtype = 94311408;
      Parameters:
      value - The bytes for ullSubtype to set.
      Returns:
      This builder for chaining.
    • hasVpcSubtype

      public boolean hasVpcSubtype()
      
       Check the VpcSubtype enum for the list of possible values.
       
      optional string vpc_subtype = 356623396;
      Specified by:
      hasVpcSubtype in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      Whether the vpcSubtype field is set.
    • getVpcSubtype

      public String getVpcSubtype()
      
       Check the VpcSubtype enum for the list of possible values.
       
      optional string vpc_subtype = 356623396;
      Specified by:
      getVpcSubtype in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      The vpcSubtype.
    • getVpcSubtypeBytes

      public com.google.protobuf.ByteString getVpcSubtypeBytes()
      
       Check the VpcSubtype enum for the list of possible values.
       
      optional string vpc_subtype = 356623396;
      Specified by:
      getVpcSubtypeBytes in interface NetworkProfileProfileTypeOrBuilder
      Returns:
      The bytes for vpcSubtype.
    • setVpcSubtype

      public NetworkProfileProfileType.Builder setVpcSubtype(String value)
      
       Check the VpcSubtype enum for the list of possible values.
       
      optional string vpc_subtype = 356623396;
      Parameters:
      value - The vpcSubtype to set.
      Returns:
      This builder for chaining.
    • clearVpcSubtype

      public NetworkProfileProfileType.Builder clearVpcSubtype()
      
       Check the VpcSubtype enum for the list of possible values.
       
      optional string vpc_subtype = 356623396;
      Returns:
      This builder for chaining.
    • setVpcSubtypeBytes

      public NetworkProfileProfileType.Builder setVpcSubtypeBytes(com.google.protobuf.ByteString value)
      
       Check the VpcSubtype enum for the list of possible values.
       
      optional string vpc_subtype = 356623396;
      Parameters:
      value - The bytes for vpcSubtype to set.
      Returns:
      This builder for chaining.