Class SecurityPoliciesScopedList.Builder (1.20.0)

public static final class SecurityPoliciesScopedList.Builder extends GeneratedMessageV3.Builder<SecurityPoliciesScopedList.Builder> implements SecurityPoliciesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPoliciesScopedList

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

buildPartial()

public SecurityPoliciesScopedList buildPartial()
Returns

clear()

public SecurityPoliciesScopedList.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPoliciesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 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

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

setUnknownFields(UnknownFieldSet unknownFields)

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