Class SecurityPoliciesScopedList.Builder

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

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

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

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

      public SecurityPoliciesScopedList.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<SecurityPoliciesScopedList.Builder>
      Throws:
      IOException
    • getSecurityPoliciesList

      public List<SecurityPolicy> getSecurityPoliciesList()
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
      Specified by:
      getSecurityPoliciesList in interface SecurityPoliciesScopedListOrBuilder
    • getSecurityPoliciesCount

      public int getSecurityPoliciesCount()
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
      Specified by:
      getSecurityPoliciesCount in interface SecurityPoliciesScopedListOrBuilder
    • getSecurityPolicies

      public SecurityPolicy getSecurityPolicies(int index)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
      Specified by:
      getSecurityPolicies in interface SecurityPoliciesScopedListOrBuilder
    • setSecurityPolicies

      public SecurityPoliciesScopedList.Builder setSecurityPolicies(int index, SecurityPolicy value)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • setSecurityPolicies

      public SecurityPoliciesScopedList.Builder setSecurityPolicies(int index, SecurityPolicy.Builder builderForValue)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • addSecurityPolicies

      public SecurityPoliciesScopedList.Builder addSecurityPolicies(SecurityPolicy value)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • addSecurityPolicies

      public SecurityPoliciesScopedList.Builder addSecurityPolicies(int index, SecurityPolicy value)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • addSecurityPolicies

      public SecurityPoliciesScopedList.Builder addSecurityPolicies(SecurityPolicy.Builder builderForValue)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • addSecurityPolicies

      public SecurityPoliciesScopedList.Builder addSecurityPolicies(int index, SecurityPolicy.Builder builderForValue)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • addAllSecurityPolicies

      public SecurityPoliciesScopedList.Builder addAllSecurityPolicies(Iterable<? extends SecurityPolicy> values)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • clearSecurityPolicies

      public SecurityPoliciesScopedList.Builder clearSecurityPolicies()
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • removeSecurityPolicies

      public SecurityPoliciesScopedList.Builder removeSecurityPolicies(int index)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • getSecurityPoliciesBuilder

      public SecurityPolicy.Builder getSecurityPoliciesBuilder(int index)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • getSecurityPoliciesOrBuilder

      public SecurityPolicyOrBuilder getSecurityPoliciesOrBuilder(int index)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
      Specified by:
      getSecurityPoliciesOrBuilder in interface SecurityPoliciesScopedListOrBuilder
    • getSecurityPoliciesOrBuilderList

      public List<? extends SecurityPolicyOrBuilder> getSecurityPoliciesOrBuilderList()
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
      Specified by:
      getSecurityPoliciesOrBuilderList in interface SecurityPoliciesScopedListOrBuilder
    • addSecurityPoliciesBuilder

      public SecurityPolicy.Builder addSecurityPoliciesBuilder()
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • addSecurityPoliciesBuilder

      public SecurityPolicy.Builder addSecurityPoliciesBuilder(int index)
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • getSecurityPoliciesBuilderList

      public List<SecurityPolicy.Builder> getSecurityPoliciesBuilderList()
       A list of SecurityPolicies contained in this scope.
       
      repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
    • hasWarning

      public boolean hasWarning()
       Informational warning which replaces the list of
       security policies when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface SecurityPoliciesScopedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       Informational warning which replaces the list of
       security policies when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface SecurityPoliciesScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

      public SecurityPoliciesScopedList.Builder setWarning(Warning value)
       Informational warning which replaces the list of
       security policies when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public SecurityPoliciesScopedList.Builder setWarning(Warning.Builder builderForValue)
       Informational warning which replaces the list of
       security policies when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public SecurityPoliciesScopedList.Builder mergeWarning(Warning value)
       Informational warning which replaces the list of
       security policies when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public SecurityPoliciesScopedList.Builder clearWarning()
       Informational warning which replaces the list of
       security policies when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       Informational warning which replaces the list of
       security policies when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       Informational warning which replaces the list of
       security policies when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface SecurityPoliciesScopedListOrBuilder