Class InterconnectDiagnosticsLinkLACPStatus.Builder (1.62.0)

public static final class InterconnectDiagnosticsLinkLACPStatus.Builder extends GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder> implements InterconnectDiagnosticsLinkLACPStatusOrBuilder

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectDiagnosticsLinkLACPStatus build()
Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus

buildPartial()

public InterconnectDiagnosticsLinkLACPStatus buildPartial()
Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGoogleSystemId()

public InterconnectDiagnosticsLinkLACPStatus.Builder clearGoogleSystemId()

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

optional string google_system_id = 91210405;

Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

clearNeighborSystemId()

public InterconnectDiagnosticsLinkLACPStatus.Builder clearNeighborSystemId()

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

optional string neighbor_system_id = 343821342;

Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public InterconnectDiagnosticsLinkLACPStatus.Builder clearState()

The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public InterconnectDiagnosticsLinkLACPStatus getDefaultInstanceForType()
Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus

getDescriptorForType()

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

getGoogleSystemId()

public String getGoogleSystemId()

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

optional string google_system_id = 91210405;

Returns
Type Description
String

The googleSystemId.

getGoogleSystemIdBytes()

public ByteString getGoogleSystemIdBytes()

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

optional string google_system_id = 91210405;

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.

optional string neighbor_system_id = 343821342;

Returns
Type Description
String

The neighborSystemId.

getNeighborSystemIdBytes()

public ByteString getNeighborSystemIdBytes()

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

optional string neighbor_system_id = 343821342;

Returns
Type Description
ByteString

The bytes for neighborSystemId.

getState()

public String getState()

The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
String

The state.

getStateBytes()

public ByteString getStateBytes()

The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
ByteString

The bytes for state.

hasGoogleSystemId()

public boolean hasGoogleSystemId()

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

optional string google_system_id = 91210405;

Returns
Type Description
boolean

Whether the googleSystemId field is set.

hasNeighborSystemId()

public boolean hasNeighborSystemId()

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

optional string neighbor_system_id = 343821342;

Returns
Type Description
boolean

Whether the neighborSystemId field is set.

hasState()

public boolean hasState()

The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectDiagnosticsLinkLACPStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGoogleSystemId(String value)

public InterconnectDiagnosticsLinkLACPStatus.Builder setGoogleSystemId(String value)

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

optional string google_system_id = 91210405;

Parameter
Name Description
value String

The googleSystemId to set.

Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

setGoogleSystemIdBytes(ByteString value)

public InterconnectDiagnosticsLinkLACPStatus.Builder setGoogleSystemIdBytes(ByteString value)

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

optional string google_system_id = 91210405;

Parameter
Name Description
value ByteString

The bytes for googleSystemId to set.

Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

setNeighborSystemId(String value)

public InterconnectDiagnosticsLinkLACPStatus.Builder setNeighborSystemId(String value)

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

optional string neighbor_system_id = 343821342;

Parameter
Name Description
value String

The neighborSystemId to set.

Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

setNeighborSystemIdBytes(ByteString value)

public InterconnectDiagnosticsLinkLACPStatus.Builder setNeighborSystemIdBytes(ByteString value)

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

optional string neighbor_system_id = 343821342;

Parameter
Name Description
value ByteString

The bytes for neighborSystemId to set.

Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

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

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

setState(String value)

public InterconnectDiagnosticsLinkLACPStatus.Builder setState(String value)

The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. Check the State enum for the list of possible values.

optional string state = 109757585;

Parameter
Name Description
value String

The state to set.

Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

setStateBytes(ByteString value)

public InterconnectDiagnosticsLinkLACPStatus.Builder setStateBytes(ByteString value)

The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. Check the State enum for the list of possible values.

optional string state = 109757585;

Parameter
Name Description
value ByteString

The bytes for state to set.

Returns
Type Description
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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