Class SubnetworksScopedWarning.Builder

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

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

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

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

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

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

      public SubnetworksScopedWarning.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<SubnetworksScopedWarning.Builder>
      Throws:
      IOException
    • hasScopeName

      public boolean hasScopeName()
       Name of the scope containing this set of Subnetworks.
       
      optional string scope_name = 345557398;
      Specified by:
      hasScopeName in interface SubnetworksScopedWarningOrBuilder
      Returns:
      Whether the scopeName field is set.
    • getScopeName

      public String getScopeName()
       Name of the scope containing this set of Subnetworks.
       
      optional string scope_name = 345557398;
      Specified by:
      getScopeName in interface SubnetworksScopedWarningOrBuilder
      Returns:
      The scopeName.
    • getScopeNameBytes

      public com.google.protobuf.ByteString getScopeNameBytes()
       Name of the scope containing this set of Subnetworks.
       
      optional string scope_name = 345557398;
      Specified by:
      getScopeNameBytes in interface SubnetworksScopedWarningOrBuilder
      Returns:
      The bytes for scopeName.
    • setScopeName

      public SubnetworksScopedWarning.Builder setScopeName(String value)
       Name of the scope containing this set of Subnetworks.
       
      optional string scope_name = 345557398;
      Parameters:
      value - The scopeName to set.
      Returns:
      This builder for chaining.
    • clearScopeName

      public SubnetworksScopedWarning.Builder clearScopeName()
       Name of the scope containing this set of Subnetworks.
       
      optional string scope_name = 345557398;
      Returns:
      This builder for chaining.
    • setScopeNameBytes

      public SubnetworksScopedWarning.Builder setScopeNameBytes(com.google.protobuf.ByteString value)
       Name of the scope containing this set of Subnetworks.
       
      optional string scope_name = 345557398;
      Parameters:
      value - The bytes for scopeName to set.
      Returns:
      This builder for chaining.
    • hasWarning

      public boolean hasWarning()
       An informational warning about unreachable scope
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface SubnetworksScopedWarningOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       An informational warning about unreachable scope
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface SubnetworksScopedWarningOrBuilder
      Returns:
      The warning.
    • setWarning

      public SubnetworksScopedWarning.Builder setWarning(Warning value)
       An informational warning about unreachable scope
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public SubnetworksScopedWarning.Builder setWarning(Warning.Builder builderForValue)
       An informational warning about unreachable scope
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public SubnetworksScopedWarning.Builder mergeWarning(Warning value)
       An informational warning about unreachable scope
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public SubnetworksScopedWarning.Builder clearWarning()
       An informational warning about unreachable scope
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       An informational warning about unreachable scope
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       An informational warning about unreachable scope
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface SubnetworksScopedWarningOrBuilder