public static final class SecurityPoliciesScopedList.Builder extends GeneratedMessage.Builder<SecurityPoliciesScopedList.Builder> implements SecurityPoliciesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPoliciesScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSecurityPolicies(Iterable<? extends SecurityPolicy> values)
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;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.SecurityPolicy>
|
addSecurityPolicies(SecurityPolicy value)
public SecurityPoliciesScopedList.Builder addSecurityPolicies(SecurityPolicy value)
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
addSecurityPolicies(SecurityPolicy.Builder builderForValue)
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(int index, SecurityPolicy value)
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(int index, SecurityPolicy.Builder builderForValue)
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;
addSecurityPoliciesBuilder()
public SecurityPolicy.Builder addSecurityPoliciesBuilder()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
addSecurityPoliciesBuilder(int index)
public SecurityPolicy.Builder addSecurityPoliciesBuilder(int index)
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
| Parameter |
| Name |
Description |
index |
int
|
build()
public SecurityPoliciesScopedList build()
buildPartial()
public SecurityPoliciesScopedList buildPartial()
clear()
public SecurityPoliciesScopedList.Builder clear()
Overrides
clearSecurityPolicies()
public SecurityPoliciesScopedList.Builder clearSecurityPolicies()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
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;
getDefaultInstanceForType()
public SecurityPoliciesScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSecurityPolicies(int index)
public SecurityPolicy getSecurityPolicies(int index)
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
| Parameter |
| Name |
Description |
index |
int
|
getSecurityPoliciesBuilder(int index)
public SecurityPolicy.Builder getSecurityPoliciesBuilder(int index)
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
| Parameter |
| Name |
Description |
index |
int
|
getSecurityPoliciesBuilderList()
public List<SecurityPolicy.Builder> getSecurityPoliciesBuilderList()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
getSecurityPoliciesCount()
public int getSecurityPoliciesCount()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
| Returns |
| Type |
Description |
int |
|
getSecurityPoliciesList()
public List<SecurityPolicy> getSecurityPoliciesList()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
getSecurityPoliciesOrBuilder(int index)
public SecurityPolicyOrBuilder getSecurityPoliciesOrBuilder(int index)
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
| Parameter |
| Name |
Description |
index |
int
|
getSecurityPoliciesOrBuilderList()
public List<? extends SecurityPolicyOrBuilder> getSecurityPoliciesOrBuilderList()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.SecurityPolicyOrBuilder> |
|
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;
| Returns |
| Type |
Description |
Warning |
The warning.
|
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;
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;
| Returns |
| Type |
Description |
boolean |
Whether the warning field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecurityPoliciesScopedList other)
public SecurityPoliciesScopedList.Builder mergeFrom(SecurityPoliciesScopedList other)
public SecurityPoliciesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecurityPoliciesScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeWarning(Warning value)
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;
| Parameter |
| Name |
Description |
value |
Warning
|
removeSecurityPolicies(int index)
public SecurityPoliciesScopedList.Builder removeSecurityPolicies(int index)
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
| Parameter |
| Name |
Description |
index |
int
|
setSecurityPolicies(int index, SecurityPolicy value)
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(int index, SecurityPolicy.Builder builderForValue)
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;
setWarning(Warning value)
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;
| Parameter |
| Name |
Description |
value |
Warning
|
setWarning(Warning.Builder builderForValue)
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;