Class InterconnectDiagnosticsLinkLACPStatus.Builder (1.12.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectDiagnosticsLinkLACPStatus build()
Returns
TypeDescription
InterconnectDiagnosticsLinkLACPStatus

buildPartial()

public InterconnectDiagnosticsLinkLACPStatus buildPartial()
Returns
TypeDescription
InterconnectDiagnosticsLinkLACPStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

public InterconnectDiagnosticsLinkLACPStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public InterconnectDiagnosticsLinkLACPStatus getDefaultInstanceForType()
Returns
TypeDescription
InterconnectDiagnosticsLinkLACPStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectDiagnosticsLinkLACPStatus other)

public InterconnectDiagnosticsLinkLACPStatus.Builder mergeFrom(InterconnectDiagnosticsLinkLACPStatus other)
Parameter
NameDescription
otherInterconnectDiagnosticsLinkLACPStatus
Returns
TypeDescription
InterconnectDiagnosticsLinkLACPStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The googleSystemId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for googleSystemId to set.

Returns
TypeDescription
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
NameDescription
valueString

The neighborSystemId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for neighborSystemId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The state to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for state to set.

Returns
TypeDescription
InterconnectDiagnosticsLinkLACPStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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