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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InterconnectDiagnostics.LinkLACPStatus.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InterconnectDiagnostics.LinkLACPStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
build()
public InterconnectDiagnostics.LinkLACPStatus build()
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus |
buildPartial()
public InterconnectDiagnostics.LinkLACPStatus buildPartial()
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus |
clear()
public InterconnectDiagnostics.LinkLACPStatus.Builder clear()
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InterconnectDiagnostics.LinkLACPStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InterconnectDiagnostics.LinkLACPStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
clearState()
public InterconnectDiagnostics.LinkLACPStatus.Builder clearState()
The state of a LACP link.
.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1;
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
This builder for chaining. |
clone()
public InterconnectDiagnostics.LinkLACPStatus.Builder clone()
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
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 | |
---|---|
Type | Description |
boolean |
The aggregatable. |
getCollecting()
public boolean getCollecting()
If true, the participant is collecting incoming frames on the link, otherwise false
bool collecting = 5;
Returns | |
---|---|
Type | Description |
boolean |
The collecting. |
getDefaultInstanceForType()
public InterconnectDiagnostics.LinkLACPStatus getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDistributing()
public boolean getDistributing()
When true, the participant is distributing outgoing frames; when false, distribution is disabled
bool distributing = 6;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(InterconnectDiagnostics.LinkLACPStatus other)
public InterconnectDiagnostics.LinkLACPStatus.Builder mergeFrom(InterconnectDiagnostics.LinkLACPStatus other)
Parameter | |
---|---|
Name | Description |
other |
InterconnectDiagnostics.LinkLACPStatus |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InterconnectDiagnostics.LinkLACPStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InterconnectDiagnostics.LinkLACPStatus.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectDiagnostics.LinkLACPStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
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 | |
---|---|
Name | Description |
value |
boolean The aggregatable to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
boolean The collecting to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
boolean The distributing to set. |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InterconnectDiagnostics.LinkLACPStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
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 | |
---|---|
Name | Description |
value |
String The googleSystemId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for googleSystemId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The neighborSystemId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for neighborSystemId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
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 | |
---|---|
Name | Description |
value |
InterconnectDiagnostics.LinkLACPStatus.State The state to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectDiagnostics.LinkLACPStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InterconnectDiagnostics.LinkLACPStatus.Builder |