public static final class SecurityPoliciesScopedList.Builder extends GeneratedMessageV3.Builder<SecurityPoliciesScopedList.Builder> implements SecurityPoliciesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPoliciesScopedList
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityPoliciesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addSecurityPoliciesBuilder()
public SecurityPolicy.Builder addSecurityPoliciesBuilder()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
Returns
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
Returns
build()
public SecurityPoliciesScopedList build()
Returns
buildPartial()
public SecurityPoliciesScopedList buildPartial()
Returns
clear()
public SecurityPoliciesScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SecurityPoliciesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPoliciesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSecurityPolicies()
public SecurityPoliciesScopedList.Builder clearSecurityPolicies()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
Returns
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;
Returns
clone()
public SecurityPoliciesScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SecurityPoliciesScopedList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getSecurityPoliciesBuilderList()
public List<SecurityPolicy.Builder> getSecurityPoliciesBuilderList()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
Returns
getSecurityPoliciesCount()
public int getSecurityPoliciesCount()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
Returns
getSecurityPoliciesList()
public List<SecurityPolicy> getSecurityPoliciesList()
A list of SecurityPolicies contained in this scope.
repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;
Returns
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
Returns
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
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;
Returns
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;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SecurityPoliciesScopedList other)
public SecurityPoliciesScopedList.Builder mergeFrom(SecurityPoliciesScopedList other)
Parameter
Returns
public SecurityPoliciesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SecurityPoliciesScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPoliciesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPoliciesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPoliciesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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;
Parameters
Returns
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPoliciesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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;
Parameter
Returns