Class InterconnectDiagnostics.LinkLACPStatus.Builder (0.3.0)

public static final class InterconnectDiagnostics.LinkLACPStatus.Builder extends GeneratedMessageV3.Builder<InterconnectDiagnostics.LinkLACPStatus.Builder> implements InterconnectDiagnostics.LinkLACPStatusOrBuilder

Describing the status of a LACP link.

Protobuf type google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectDiagnostics.LinkLACPStatus build()
Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus

buildPartial()

public InterconnectDiagnostics.LinkLACPStatus buildPartial()
Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus

clear()

public InterconnectDiagnostics.LinkLACPStatus.Builder clear()
Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder
Overrides

clearAggregatable()

public InterconnectDiagnostics.LinkLACPStatus.Builder clearAggregatable()

A true value indicates that the participant will allow the link to be used as part of the aggregate. A false value indicates the link should be used as an individual link.

bool aggregatable = 4;

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

clearCollecting()

public InterconnectDiagnostics.LinkLACPStatus.Builder clearCollecting()

If true, the participant is collecting incoming frames on the link, otherwise false

bool collecting = 5;

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

clearDistributing()

public InterconnectDiagnostics.LinkLACPStatus.Builder clearDistributing()

When true, the participant is distributing outgoing frames; when false, distribution is disabled

bool distributing = 6;

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGoogleSystemId()

public InterconnectDiagnostics.LinkLACPStatus.Builder clearGoogleSystemId()

System ID of the port on Google's side of the LACP exchange.

string google_system_id = 2;

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

clearNeighborSystemId()

public InterconnectDiagnostics.LinkLACPStatus.Builder clearNeighborSystemId()

System ID of the port on the neighbor's side of the LACP exchange.

string neighbor_system_id = 3;

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectDiagnostics.LinkLACPStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder
Overrides

clearState()

public InterconnectDiagnostics.LinkLACPStatus.Builder clearState()

The state of a LACP link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1;

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

clone()

public InterconnectDiagnostics.LinkLACPStatus.Builder clone()
Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder
Overrides

getAggregatable()

public boolean getAggregatable()

A true value indicates that the participant will allow the link to be used as part of the aggregate. A false value indicates the link should be used as an individual link.

bool aggregatable = 4;

Returns
TypeDescription
boolean

The aggregatable.

getCollecting()

public boolean getCollecting()

If true, the participant is collecting incoming frames on the link, otherwise false

bool collecting = 5;

Returns
TypeDescription
boolean

The collecting.

getDefaultInstanceForType()

public InterconnectDiagnostics.LinkLACPStatus getDefaultInstanceForType()
Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDistributing()

public boolean getDistributing()

When true, the participant is distributing outgoing frames; when false, distribution is disabled

bool distributing = 6;

Returns
TypeDescription
boolean

The distributing.

getGoogleSystemId()

public String getGoogleSystemId()

System ID of the port on Google's side of the LACP exchange.

string google_system_id = 2;

Returns
TypeDescription
String

The googleSystemId.

getGoogleSystemIdBytes()

public ByteString getGoogleSystemIdBytes()

System ID of the port on Google's side of the LACP exchange.

string google_system_id = 2;

Returns
TypeDescription
ByteString

The bytes for googleSystemId.

getNeighborSystemId()

public String getNeighborSystemId()

System ID of the port on the neighbor's side of the LACP exchange.

string neighbor_system_id = 3;

Returns
TypeDescription
String

The neighborSystemId.

getNeighborSystemIdBytes()

public ByteString getNeighborSystemIdBytes()

System ID of the port on the neighbor's side of the LACP exchange.

string neighbor_system_id = 3;

Returns
TypeDescription
ByteString

The bytes for neighborSystemId.

getState()

public InterconnectDiagnostics.LinkLACPStatus.State getState()

The state of a LACP link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1;

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.State

The state.

getStateValue()

public int getStateValue()

The state of a LACP link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectDiagnostics.LinkLACPStatus other)

public InterconnectDiagnostics.LinkLACPStatus.Builder mergeFrom(InterconnectDiagnostics.LinkLACPStatus other)
Parameter
NameDescription
otherInterconnectDiagnostics.LinkLACPStatus
Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.LinkLACPStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder
Overrides

setAggregatable(boolean value)

public InterconnectDiagnostics.LinkLACPStatus.Builder setAggregatable(boolean value)

A true value indicates that the participant will allow the link to be used as part of the aggregate. A false value indicates the link should be used as an individual link.

bool aggregatable = 4;

Parameter
NameDescription
valueboolean

The aggregatable to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

setCollecting(boolean value)

public InterconnectDiagnostics.LinkLACPStatus.Builder setCollecting(boolean value)

If true, the participant is collecting incoming frames on the link, otherwise false

bool collecting = 5;

Parameter
NameDescription
valueboolean

The collecting to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

setDistributing(boolean value)

public InterconnectDiagnostics.LinkLACPStatus.Builder setDistributing(boolean value)

When true, the participant is distributing outgoing frames; when false, distribution is disabled

bool distributing = 6;

Parameter
NameDescription
valueboolean

The distributing to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.LinkLACPStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder
Overrides

setGoogleSystemId(String value)

public InterconnectDiagnostics.LinkLACPStatus.Builder setGoogleSystemId(String value)

System ID of the port on Google's side of the LACP exchange.

string google_system_id = 2;

Parameter
NameDescription
valueString

The googleSystemId to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

setGoogleSystemIdBytes(ByteString value)

public InterconnectDiagnostics.LinkLACPStatus.Builder setGoogleSystemIdBytes(ByteString value)

System ID of the port on Google's side of the LACP exchange.

string google_system_id = 2;

Parameter
NameDescription
valueByteString

The bytes for googleSystemId to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

setNeighborSystemId(String value)

public InterconnectDiagnostics.LinkLACPStatus.Builder setNeighborSystemId(String value)

System ID of the port on the neighbor's side of the LACP exchange.

string neighbor_system_id = 3;

Parameter
NameDescription
valueString

The neighborSystemId to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

setNeighborSystemIdBytes(ByteString value)

public InterconnectDiagnostics.LinkLACPStatus.Builder setNeighborSystemIdBytes(ByteString value)

System ID of the port on the neighbor's side of the LACP exchange.

string neighbor_system_id = 3;

Parameter
NameDescription
valueByteString

The bytes for neighborSystemId to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

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

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

setState(InterconnectDiagnostics.LinkLACPStatus.State value)

public InterconnectDiagnostics.LinkLACPStatus.Builder setState(InterconnectDiagnostics.LinkLACPStatus.State value)

The state of a LACP link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1;

Parameter
NameDescription
valueInterconnectDiagnostics.LinkLACPStatus.State

The state to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

setStateValue(int value)

public InterconnectDiagnostics.LinkLACPStatus.Builder setStateValue(int value)

The state of a LACP link.

.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.LinkLACPStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectDiagnostics.LinkLACPStatus.Builder
Overrides