Class SecurityPoliciesScopedList.Builder (1.41.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.SecurityPolicy>
Returns
TypeDescription
SecurityPoliciesScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityPoliciesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSecurityPolicy
Returns
TypeDescription
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
NameDescription
builderForValueSecurityPolicy.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSecurityPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSecurityPolicy.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SecurityPolicy.Builder

build()

public SecurityPoliciesScopedList build()
Returns
TypeDescription
SecurityPoliciesScopedList

buildPartial()

public SecurityPoliciesScopedList buildPartial()
Returns
TypeDescription
SecurityPoliciesScopedList

clear()

public SecurityPoliciesScopedList.Builder clear()
Returns
TypeDescription
SecurityPoliciesScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SecurityPoliciesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SecurityPoliciesScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPoliciesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SecurityPoliciesScopedList.Builder

clone()

public SecurityPoliciesScopedList.Builder clone()
Returns
TypeDescription
SecurityPoliciesScopedList.Builder
Overrides

getDefaultInstanceForType()

public SecurityPoliciesScopedList getDefaultInstanceForType()
Returns
TypeDescription
SecurityPoliciesScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getSecurityPoliciesCount()

public int getSecurityPoliciesCount()

A list of SecurityPolicies contained in this scope.

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

Returns
TypeDescription
int

getSecurityPoliciesList()

public List<SecurityPolicy> getSecurityPoliciesList()

A list of SecurityPolicies contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityPoliciesScopedList other)

public SecurityPoliciesScopedList.Builder mergeFrom(SecurityPoliciesScopedList other)
Parameter
NameDescription
otherSecurityPoliciesScopedList
Returns
TypeDescription
SecurityPoliciesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityPoliciesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPoliciesScopedList.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SecurityPoliciesScopedList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SecurityPoliciesScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPoliciesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SecurityPoliciesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPoliciesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SecurityPoliciesScopedList.Builder
Overrides

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

public SecurityPoliciesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSecurityPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSecurityPolicy.Builder
Returns
TypeDescription
SecurityPoliciesScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPoliciesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
SecurityPoliciesScopedList.Builder