Class ForwardingRulesScopedList.Builder (1.52.0)

public static final class ForwardingRulesScopedList.Builder extends GeneratedMessageV3.Builder<ForwardingRulesScopedList.Builder> implements ForwardingRulesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.ForwardingRulesScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllForwardingRules(Iterable<? extends ForwardingRule> values)

public ForwardingRulesScopedList.Builder addAllForwardingRules(Iterable<? extends ForwardingRule> values)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.ForwardingRule>
Returns
Type Description
ForwardingRulesScopedList.Builder

addForwardingRules(ForwardingRule value)

public ForwardingRulesScopedList.Builder addForwardingRules(ForwardingRule value)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameter
Name Description
value ForwardingRule
Returns
Type Description
ForwardingRulesScopedList.Builder

addForwardingRules(ForwardingRule.Builder builderForValue)

public ForwardingRulesScopedList.Builder addForwardingRules(ForwardingRule.Builder builderForValue)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameter
Name Description
builderForValue ForwardingRule.Builder
Returns
Type Description
ForwardingRulesScopedList.Builder

addForwardingRules(int index, ForwardingRule value)

public ForwardingRulesScopedList.Builder addForwardingRules(int index, ForwardingRule value)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameters
Name Description
index int
value ForwardingRule
Returns
Type Description
ForwardingRulesScopedList.Builder

addForwardingRules(int index, ForwardingRule.Builder builderForValue)

public ForwardingRulesScopedList.Builder addForwardingRules(int index, ForwardingRule.Builder builderForValue)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameters
Name Description
index int
builderForValue ForwardingRule.Builder
Returns
Type Description
ForwardingRulesScopedList.Builder

addForwardingRulesBuilder()

public ForwardingRule.Builder addForwardingRulesBuilder()

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Returns
Type Description
ForwardingRule.Builder

addForwardingRulesBuilder(int index)

public ForwardingRule.Builder addForwardingRulesBuilder(int index)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameter
Name Description
index int
Returns
Type Description
ForwardingRule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ForwardingRulesScopedList build()
Returns
Type Description
ForwardingRulesScopedList

buildPartial()

public ForwardingRulesScopedList buildPartial()
Returns
Type Description
ForwardingRulesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearForwardingRules()

public ForwardingRulesScopedList.Builder clearForwardingRules()

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Returns
Type Description
ForwardingRulesScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public ForwardingRulesScopedList.Builder clearWarning()

Informational warning which replaces the list of forwarding rules when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
ForwardingRulesScopedList.Builder

clone()

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

getDefaultInstanceForType()

public ForwardingRulesScopedList getDefaultInstanceForType()
Returns
Type Description
ForwardingRulesScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getForwardingRules(int index)

public ForwardingRule getForwardingRules(int index)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameter
Name Description
index int
Returns
Type Description
ForwardingRule

getForwardingRulesBuilder(int index)

public ForwardingRule.Builder getForwardingRulesBuilder(int index)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameter
Name Description
index int
Returns
Type Description
ForwardingRule.Builder

getForwardingRulesBuilderList()

public List<ForwardingRule.Builder> getForwardingRulesBuilderList()

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Returns
Type Description
List<Builder>

getForwardingRulesCount()

public int getForwardingRulesCount()

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Returns
Type Description
int

getForwardingRulesList()

public List<ForwardingRule> getForwardingRulesList()

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Returns
Type Description
List<ForwardingRule>

getForwardingRulesOrBuilder(int index)

public ForwardingRuleOrBuilder getForwardingRulesOrBuilder(int index)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameter
Name Description
index int
Returns
Type Description
ForwardingRuleOrBuilder

getForwardingRulesOrBuilderList()

public List<? extends ForwardingRuleOrBuilder> getForwardingRulesOrBuilderList()

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.ForwardingRuleOrBuilder>

getWarning()

public Warning getWarning()

Informational warning which replaces the list of forwarding rules 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 forwarding rules 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 forwarding rules 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 forwarding rules 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(ForwardingRulesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ForwardingRulesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ForwardingRulesScopedList.Builder
Overrides

mergeWarning(Warning value)

public ForwardingRulesScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of forwarding rules when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
ForwardingRulesScopedList.Builder

removeForwardingRules(int index)

public ForwardingRulesScopedList.Builder removeForwardingRules(int index)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameter
Name Description
index int
Returns
Type Description
ForwardingRulesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setForwardingRules(int index, ForwardingRule value)

public ForwardingRulesScopedList.Builder setForwardingRules(int index, ForwardingRule value)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameters
Name Description
index int
value ForwardingRule
Returns
Type Description
ForwardingRulesScopedList.Builder

setForwardingRules(int index, ForwardingRule.Builder builderForValue)

public ForwardingRulesScopedList.Builder setForwardingRules(int index, ForwardingRule.Builder builderForValue)

A list of forwarding rules contained in this scope.

repeated .google.cloud.compute.v1.ForwardingRule forwarding_rules = 315821365;

Parameters
Name Description
index int
builderForValue ForwardingRule.Builder
Returns
Type Description
ForwardingRulesScopedList.Builder

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

public ForwardingRulesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ForwardingRulesScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ForwardingRulesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ForwardingRulesScopedList.Builder
Overrides

setWarning(Warning value)

public ForwardingRulesScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of forwarding rules when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
ForwardingRulesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public ForwardingRulesScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of forwarding rules when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
ForwardingRulesScopedList.Builder