Class ForwardingRulesScopedList.Builder (1.51.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.ForwardingRule>
Returns
TypeDescription
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
NameDescription
valueForwardingRule
Returns
TypeDescription
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
NameDescription
builderForValueForwardingRule.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueForwardingRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueForwardingRule.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ForwardingRule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ForwardingRulesScopedList build()
Returns
TypeDescription
ForwardingRulesScopedList

buildPartial()

public ForwardingRulesScopedList buildPartial()
Returns
TypeDescription
ForwardingRulesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ForwardingRulesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ForwardingRulesScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ForwardingRulesScopedList getDefaultInstanceForType()
Returns
TypeDescription
ForwardingRulesScopedList

getDescriptorForType()

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

public ForwardingRulesScopedList.Builder mergeFrom(ForwardingRulesScopedList other)
Parameter
NameDescription
otherForwardingRulesScopedList
Returns
TypeDescription
ForwardingRulesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ForwardingRulesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ForwardingRulesScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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