Class NetworkProfileLocation.Builder

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

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

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

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

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

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

      public NetworkProfileLocation.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<NetworkProfileLocation.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
      optional string name = 3373707;
      Specified by:
      hasName in interface NetworkProfileLocationOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
      optional string name = 3373707;
      Specified by:
      getName in interface NetworkProfileLocationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface NetworkProfileLocationOrBuilder
      Returns:
      The bytes for name.
    • setName

      public NetworkProfileLocation.Builder setName(String value)
      optional string name = 3373707;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public NetworkProfileLocation.Builder clearName()
      optional string name = 3373707;
      Returns:
      This builder for chaining.
    • setNameBytes

      public NetworkProfileLocation.Builder setNameBytes(com.google.protobuf.ByteString value)
      optional string name = 3373707;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasScope

      public boolean hasScope()
      
       Check the Scope enum for the list of possible values.
       
      optional string scope = 109264468;
      Specified by:
      hasScope in interface NetworkProfileLocationOrBuilder
      Returns:
      Whether the scope field is set.
    • getScope

      public String getScope()
      
       Check the Scope enum for the list of possible values.
       
      optional string scope = 109264468;
      Specified by:
      getScope in interface NetworkProfileLocationOrBuilder
      Returns:
      The scope.
    • getScopeBytes

      public com.google.protobuf.ByteString getScopeBytes()
      
       Check the Scope enum for the list of possible values.
       
      optional string scope = 109264468;
      Specified by:
      getScopeBytes in interface NetworkProfileLocationOrBuilder
      Returns:
      The bytes for scope.
    • setScope

      public NetworkProfileLocation.Builder setScope(String value)
      
       Check the Scope enum for the list of possible values.
       
      optional string scope = 109264468;
      Parameters:
      value - The scope to set.
      Returns:
      This builder for chaining.
    • clearScope

      public NetworkProfileLocation.Builder clearScope()
      
       Check the Scope enum for the list of possible values.
       
      optional string scope = 109264468;
      Returns:
      This builder for chaining.
    • setScopeBytes

      public NetworkProfileLocation.Builder setScopeBytes(com.google.protobuf.ByteString value)
      
       Check the Scope enum for the list of possible values.
       
      optional string scope = 109264468;
      Parameters:
      value - The bytes for scope to set.
      Returns:
      This builder for chaining.