Package com.google.cloud.compute.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllSecurityPolicies(Iterable<? extends SecurityPolicy> values) A list of SecurityPolicies contained in this scope.addSecurityPolicies(int index, SecurityPolicy value) A list of SecurityPolicies contained in this scope.addSecurityPolicies(int index, SecurityPolicy.Builder builderForValue) A list of SecurityPolicies contained in this scope.A list of SecurityPolicies contained in this scope.addSecurityPolicies(SecurityPolicy.Builder builderForValue) A list of SecurityPolicies contained in this scope.A list of SecurityPolicies contained in this scope.addSecurityPoliciesBuilder(int index) A list of SecurityPolicies contained in this scope.build()clear()A list of SecurityPolicies contained in this scope.Informational warning which replaces the list of security policies when the list is empty.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetSecurityPolicies(int index) A list of SecurityPolicies contained in this scope.getSecurityPoliciesBuilder(int index) A list of SecurityPolicies contained in this scope.A list of SecurityPolicies contained in this scope.intA list of SecurityPolicies contained in this scope.A list of SecurityPolicies contained in this scope.getSecurityPoliciesOrBuilder(int index) A list of SecurityPolicies contained in this scope.List<? extends SecurityPolicyOrBuilder>A list of SecurityPolicies contained in this scope.Informational warning which replaces the list of security policies when the list is empty.Informational warning which replaces the list of security policies when the list is empty.Informational warning which replaces the list of security policies when the list is empty.booleanInformational warning which replaces the list of security policies when the list is empty.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeWarning(Warning value) Informational warning which replaces the list of security policies when the list is empty.removeSecurityPolicies(int index) A list of SecurityPolicies contained in this scope.setSecurityPolicies(int index, SecurityPolicy value) A list of SecurityPolicies contained in this scope.setSecurityPolicies(int index, SecurityPolicy.Builder builderForValue) A list of SecurityPolicies contained in this scope.setWarning(Warning value) Informational warning which replaces the list of security policies when the list is empty.setWarning(Warning.Builder builderForValue) Informational warning which replaces the list of security policies when the list is empty.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SecurityPoliciesScopedList.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SecurityPoliciesScopedList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SecurityPoliciesScopedList.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityPoliciesScopedList.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityPoliciesScopedList.Builder>- Throws:
IOException
-
getSecurityPoliciesList
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;- Specified by:
getSecurityPoliciesListin interfaceSecurityPoliciesScopedListOrBuilder
-
getSecurityPoliciesCount
public int getSecurityPoliciesCount()A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;- Specified by:
getSecurityPoliciesCountin interfaceSecurityPoliciesScopedListOrBuilder
-
getSecurityPolicies
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;- Specified by:
getSecurityPoliciesin interfaceSecurityPoliciesScopedListOrBuilder
-
setSecurityPolicies
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
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; -
addSecurityPolicies
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
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; -
removeSecurityPolicies
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; -
getSecurityPoliciesBuilder
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; -
getSecurityPoliciesOrBuilder
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;- Specified by:
getSecurityPoliciesOrBuilderin interfaceSecurityPoliciesScopedListOrBuilder
-
getSecurityPoliciesOrBuilderList
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;- Specified by:
getSecurityPoliciesOrBuilderListin interfaceSecurityPoliciesScopedListOrBuilder
-
addSecurityPoliciesBuilder
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; -
addSecurityPoliciesBuilder
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; -
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:
hasWarningin interfaceSecurityPoliciesScopedListOrBuilder- Returns:
- Whether the warning field is set.
-
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:
getWarningin interfaceSecurityPoliciesScopedListOrBuilder- Returns:
- The warning.
-
setWarning
Informational warning which replaces the list of security policies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284; -
setWarning
Informational warning which replaces the list of security policies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284; -
mergeWarning
Informational warning which replaces the list of security policies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284; -
clearWarning
Informational warning which replaces the list of security policies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284; -
getWarningBuilder
Informational warning which replaces the list of security policies when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284; -
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:
getWarningOrBuilderin interfaceSecurityPoliciesScopedListOrBuilder
-