Class PacketMirroringsScopedList.Builder (1.58.0)

public static final class PacketMirroringsScopedList.Builder extends GeneratedMessageV3.Builder<PacketMirroringsScopedList.Builder> implements PacketMirroringsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringsScopedList

Static Methods

getDescriptor()

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

Methods

addAllPacketMirrorings(Iterable<? extends PacketMirroring> values)

public PacketMirroringsScopedList.Builder addAllPacketMirrorings(Iterable<? extends PacketMirroring> values)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

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

addPacketMirrorings(PacketMirroring value)

public PacketMirroringsScopedList.Builder addPacketMirrorings(PacketMirroring value)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameter
Name Description
value PacketMirroring
Returns
Type Description
PacketMirroringsScopedList.Builder

addPacketMirrorings(PacketMirroring.Builder builderForValue)

public PacketMirroringsScopedList.Builder addPacketMirrorings(PacketMirroring.Builder builderForValue)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameter
Name Description
builderForValue PacketMirroring.Builder
Returns
Type Description
PacketMirroringsScopedList.Builder

addPacketMirrorings(int index, PacketMirroring value)

public PacketMirroringsScopedList.Builder addPacketMirrorings(int index, PacketMirroring value)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameters
Name Description
index int
value PacketMirroring
Returns
Type Description
PacketMirroringsScopedList.Builder

addPacketMirrorings(int index, PacketMirroring.Builder builderForValue)

public PacketMirroringsScopedList.Builder addPacketMirrorings(int index, PacketMirroring.Builder builderForValue)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameters
Name Description
index int
builderForValue PacketMirroring.Builder
Returns
Type Description
PacketMirroringsScopedList.Builder

addPacketMirroringsBuilder()

public PacketMirroring.Builder addPacketMirroringsBuilder()

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Returns
Type Description
PacketMirroring.Builder

addPacketMirroringsBuilder(int index)

public PacketMirroring.Builder addPacketMirroringsBuilder(int index)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroring.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PacketMirroringsScopedList build()
Returns
Type Description
PacketMirroringsScopedList

buildPartial()

public PacketMirroringsScopedList buildPartial()
Returns
Type Description
PacketMirroringsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPacketMirrorings()

public PacketMirroringsScopedList.Builder clearPacketMirrorings()

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Returns
Type Description
PacketMirroringsScopedList.Builder

clearWarning()

public PacketMirroringsScopedList.Builder clearWarning()

Informational warning which replaces the list of packetMirrorings when the list is empty.

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

Returns
Type Description
PacketMirroringsScopedList.Builder

clone()

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

getDefaultInstanceForType()

public PacketMirroringsScopedList getDefaultInstanceForType()
Returns
Type Description
PacketMirroringsScopedList

getDescriptorForType()

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

getPacketMirrorings(int index)

public PacketMirroring getPacketMirrorings(int index)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroring

getPacketMirroringsBuilder(int index)

public PacketMirroring.Builder getPacketMirroringsBuilder(int index)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroring.Builder

getPacketMirroringsBuilderList()

public List<PacketMirroring.Builder> getPacketMirroringsBuilderList()

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Returns
Type Description
List<Builder>

getPacketMirroringsCount()

public int getPacketMirroringsCount()

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Returns
Type Description
int

getPacketMirroringsList()

public List<PacketMirroring> getPacketMirroringsList()

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Returns
Type Description
List<PacketMirroring>

getPacketMirroringsOrBuilder(int index)

public PacketMirroringOrBuilder getPacketMirroringsOrBuilder(int index)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringOrBuilder

getPacketMirroringsOrBuilderList()

public List<? extends PacketMirroringOrBuilder> getPacketMirroringsOrBuilderList()

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

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

getWarning()

public Warning getWarning()

Informational warning which replaces the list of packetMirrorings 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 packetMirrorings 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 packetMirrorings 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 packetMirrorings 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(PacketMirroringsScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public PacketMirroringsScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of packetMirrorings when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
PacketMirroringsScopedList.Builder

removePacketMirrorings(int index)

public PacketMirroringsScopedList.Builder removePacketMirrorings(int index)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPacketMirrorings(int index, PacketMirroring value)

public PacketMirroringsScopedList.Builder setPacketMirrorings(int index, PacketMirroring value)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameters
Name Description
index int
value PacketMirroring
Returns
Type Description
PacketMirroringsScopedList.Builder

setPacketMirrorings(int index, PacketMirroring.Builder builderForValue)

public PacketMirroringsScopedList.Builder setPacketMirrorings(int index, PacketMirroring.Builder builderForValue)

A list of packetMirrorings contained in this scope.

repeated .google.cloud.compute.v1.PacketMirroring packet_mirrorings = 154615079;

Parameters
Name Description
index int
builderForValue PacketMirroring.Builder
Returns
Type Description
PacketMirroringsScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public PacketMirroringsScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of packetMirrorings when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
PacketMirroringsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public PacketMirroringsScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of packetMirrorings when the list is empty.

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

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