Class SecurityPoliciesScopedList.Builder (1.61.0)

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
Type Description
Descriptor

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
Type Description
SecurityPoliciesScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityPoliciesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityPoliciesScopedList.Builder
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
Name Description
value SecurityPolicy
Returns
Type Description
SecurityPoliciesScopedList.Builder

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
Name Description
builderForValue SecurityPolicy.Builder
Returns
Type Description
SecurityPoliciesScopedList.Builder

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
Name Description
index int
value SecurityPolicy
Returns
Type Description
SecurityPoliciesScopedList.Builder

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
Name Description
index int
builderForValue SecurityPolicy.Builder
Returns
Type Description
SecurityPoliciesScopedList.Builder

addSecurityPoliciesBuilder()

public SecurityPolicy.Builder addSecurityPoliciesBuilder()

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Returns
Type Description
SecurityPolicy.Builder

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
Returns
Type Description
SecurityPolicy.Builder

build()

public SecurityPoliciesScopedList build()
Returns
Type Description
SecurityPoliciesScopedList

buildPartial()

public SecurityPoliciesScopedList buildPartial()
Returns
Type Description
SecurityPoliciesScopedList

clear()

public SecurityPoliciesScopedList.Builder clear()
Returns
Type Description
SecurityPoliciesScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SecurityPoliciesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SecurityPoliciesScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPoliciesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SecurityPoliciesScopedList.Builder
Overrides

clearSecurityPolicies()

public SecurityPoliciesScopedList.Builder clearSecurityPolicies()

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Returns
Type Description
SecurityPoliciesScopedList.Builder

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
Type Description
SecurityPoliciesScopedList.Builder

clone()

public SecurityPoliciesScopedList.Builder clone()
Returns
Type Description
SecurityPoliciesScopedList.Builder
Overrides

getDefaultInstanceForType()

public SecurityPoliciesScopedList getDefaultInstanceForType()
Returns
Type Description
SecurityPoliciesScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
SecurityPolicy

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
Returns
Type Description
SecurityPolicy.Builder

getSecurityPoliciesBuilderList()

public List<SecurityPolicy.Builder> getSecurityPoliciesBuilderList()

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<SecurityPolicy>

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
Returns
Type Description
SecurityPolicyOrBuilder

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;

Returns
Type Description
Warning.Builder

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
Type Description
WarningOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityPoliciesScopedList other)

public SecurityPoliciesScopedList.Builder mergeFrom(SecurityPoliciesScopedList other)
Parameter
Name Description
other SecurityPoliciesScopedList
Returns
Type Description
SecurityPoliciesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityPoliciesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPoliciesScopedList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SecurityPoliciesScopedList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SecurityPoliciesScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPoliciesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityPoliciesScopedList.Builder
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
Returns
Type Description
SecurityPoliciesScopedList.Builder

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
Returns
Type Description
SecurityPoliciesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPoliciesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityPoliciesScopedList.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SecurityPoliciesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SecurityPoliciesScopedList.Builder
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
Name Description
index int
value SecurityPolicy
Returns
Type Description
SecurityPoliciesScopedList.Builder

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
Name Description
index int
builderForValue SecurityPolicy.Builder
Returns
Type Description
SecurityPoliciesScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPoliciesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityPoliciesScopedList.Builder
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
Name Description
value Warning
Returns
Type Description
SecurityPoliciesScopedList.Builder

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
Name Description
builderForValue Warning.Builder
Returns
Type Description
SecurityPoliciesScopedList.Builder