Class PacketMirroringsScopedList.Builder (1.21.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.PacketMirroring>
Returns
TypeDescription
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
NameDescription
valuePacketMirroring
Returns
TypeDescription
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
NameDescription
builderForValuePacketMirroring.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePacketMirroring
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePacketMirroring.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PacketMirroring.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PacketMirroringsScopedList build()
Returns
TypeDescription
PacketMirroringsScopedList

buildPartial()

public PacketMirroringsScopedList buildPartial()
Returns
TypeDescription
PacketMirroringsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PacketMirroringsScopedList getDefaultInstanceForType()
Returns
TypeDescription
PacketMirroringsScopedList

getDescriptorForType()

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

getPacketMirroringsCount()

public int getPacketMirroringsCount()

A list of packetMirrorings contained in this scope.

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

Returns
TypeDescription
int

getPacketMirroringsList()

public List<PacketMirroring> getPacketMirroringsList()

A list of packetMirrorings contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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(PacketMirroringsScopedList other)

public PacketMirroringsScopedList.Builder mergeFrom(PacketMirroringsScopedList other)
Parameter
NameDescription
otherPacketMirroringsScopedList
Returns
TypeDescription
PacketMirroringsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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