Package com.google.cloud.compute.v1
Class InterconnectDiagnosticsLinkLACPStatus.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
- com.google.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatus.Builder
-
- All Implemented Interfaces:
InterconnectDiagnosticsLinkLACPStatusOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- InterconnectDiagnosticsLinkLACPStatus
public static final class InterconnectDiagnosticsLinkLACPStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder> implements InterconnectDiagnosticsLinkLACPStatusOrBuilder
google.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InterconnectDiagnosticsLinkLACPStatus.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InterconnectDiagnosticsLinkLACPStatus
build()
InterconnectDiagnosticsLinkLACPStatus
buildPartial()
InterconnectDiagnosticsLinkLACPStatus.Builder
clear()
InterconnectDiagnosticsLinkLACPStatus.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InterconnectDiagnosticsLinkLACPStatus.Builder
clearGoogleSystemId()
System ID of the port on Google's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.Builder
clearNeighborSystemId()
System ID of the port on the neighbor's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
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.InterconnectDiagnosticsLinkLACPStatus.Builder
clone()
InterconnectDiagnosticsLinkLACPStatus
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getGoogleSystemId()
System ID of the port on Google's side of the LACP exchange.com.google.protobuf.ByteString
getGoogleSystemIdBytes()
System ID of the port on Google's side of the LACP exchange.String
getNeighborSystemId()
System ID of the port on the neighbor's side of the LACP exchange.com.google.protobuf.ByteString
getNeighborSystemIdBytes()
System ID of the port on the neighbor's side of the LACP exchange.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.com.google.protobuf.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.boolean
hasGoogleSystemId()
System ID of the port on Google's side of the LACP exchange.boolean
hasNeighborSystemId()
System ID of the port on the neighbor's side of the LACP exchange.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InterconnectDiagnosticsLinkLACPStatus.Builder
mergeFrom(InterconnectDiagnosticsLinkLACPStatus other)
InterconnectDiagnosticsLinkLACPStatus.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InterconnectDiagnosticsLinkLACPStatus.Builder
mergeFrom(com.google.protobuf.Message other)
InterconnectDiagnosticsLinkLACPStatus.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InterconnectDiagnosticsLinkLACPStatus.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InterconnectDiagnosticsLinkLACPStatus.Builder
setGoogleSystemId(String value)
System ID of the port on Google's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.Builder
setGoogleSystemIdBytes(com.google.protobuf.ByteString value)
System ID of the port on Google's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.Builder
setNeighborSystemId(String value)
System ID of the port on the neighbor's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.Builder
setNeighborSystemIdBytes(com.google.protobuf.ByteString value)
System ID of the port on the neighbor's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.InterconnectDiagnosticsLinkLACPStatus.Builder
setStateBytes(com.google.protobuf.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.InterconnectDiagnosticsLinkLACPStatus.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
clear
public InterconnectDiagnosticsLinkLACPStatus.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
getDefaultInstanceForType
public InterconnectDiagnosticsLinkLACPStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InterconnectDiagnosticsLinkLACPStatus build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InterconnectDiagnosticsLinkLACPStatus buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InterconnectDiagnosticsLinkLACPStatus.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
setField
public InterconnectDiagnosticsLinkLACPStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
clearField
public InterconnectDiagnosticsLinkLACPStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
clearOneof
public InterconnectDiagnosticsLinkLACPStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
setRepeatedField
public InterconnectDiagnosticsLinkLACPStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
addRepeatedField
public InterconnectDiagnosticsLinkLACPStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
mergeFrom
public InterconnectDiagnosticsLinkLACPStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
mergeFrom
public InterconnectDiagnosticsLinkLACPStatus.Builder mergeFrom(InterconnectDiagnosticsLinkLACPStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
mergeFrom
public InterconnectDiagnosticsLinkLACPStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
- Throws:
IOException
-
hasGoogleSystemId
public boolean hasGoogleSystemId()
System ID of the port on Google's side of the LACP exchange.
optional string google_system_id = 91210405;
- Specified by:
hasGoogleSystemId
in interfaceInterconnectDiagnosticsLinkLACPStatusOrBuilder
- Returns:
- Whether the googleSystemId field is set.
-
getGoogleSystemId
public String getGoogleSystemId()
System ID of the port on Google's side of the LACP exchange.
optional string google_system_id = 91210405;
- Specified by:
getGoogleSystemId
in interfaceInterconnectDiagnosticsLinkLACPStatusOrBuilder
- Returns:
- The googleSystemId.
-
getGoogleSystemIdBytes
public com.google.protobuf.ByteString getGoogleSystemIdBytes()
System ID of the port on Google's side of the LACP exchange.
optional string google_system_id = 91210405;
- Specified by:
getGoogleSystemIdBytes
in interfaceInterconnectDiagnosticsLinkLACPStatusOrBuilder
- Returns:
- The bytes for googleSystemId.
-
setGoogleSystemId
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;
- Parameters:
value
- The googleSystemId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setGoogleSystemIdBytes
public InterconnectDiagnosticsLinkLACPStatus.Builder setGoogleSystemIdBytes(com.google.protobuf.ByteString value)
System ID of the port on Google's side of the LACP exchange.
optional string google_system_id = 91210405;
- Parameters:
value
- The bytes for googleSystemId to set.- Returns:
- This builder for chaining.
-
hasNeighborSystemId
public boolean hasNeighborSystemId()
System ID of the port on the neighbor's side of the LACP exchange.
optional string neighbor_system_id = 343821342;
- Specified by:
hasNeighborSystemId
in interfaceInterconnectDiagnosticsLinkLACPStatusOrBuilder
- Returns:
- Whether the neighborSystemId field is set.
-
getNeighborSystemId
public String getNeighborSystemId()
System ID of the port on the neighbor's side of the LACP exchange.
optional string neighbor_system_id = 343821342;
- Specified by:
getNeighborSystemId
in interfaceInterconnectDiagnosticsLinkLACPStatusOrBuilder
- Returns:
- The neighborSystemId.
-
getNeighborSystemIdBytes
public com.google.protobuf.ByteString getNeighborSystemIdBytes()
System ID of the port on the neighbor's side of the LACP exchange.
optional string neighbor_system_id = 343821342;
- Specified by:
getNeighborSystemIdBytes
in interfaceInterconnectDiagnosticsLinkLACPStatusOrBuilder
- Returns:
- The bytes for neighborSystemId.
-
setNeighborSystemId
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;
- Parameters:
value
- The neighborSystemId to set.- Returns:
- 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:
- This builder for chaining.
-
setNeighborSystemIdBytes
public InterconnectDiagnosticsLinkLACPStatus.Builder setNeighborSystemIdBytes(com.google.protobuf.ByteString value)
System ID of the port on the neighbor's side of the LACP exchange.
optional string neighbor_system_id = 343821342;
- Parameters:
value
- The bytes for neighborSystemId to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasState
in interfaceInterconnectDiagnosticsLinkLACPStatusOrBuilder
- Returns:
- Whether the state field is set.
-
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;
- Specified by:
getState
in interfaceInterconnectDiagnosticsLinkLACPStatusOrBuilder
- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.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;
- Specified by:
getStateBytes
in interfaceInterconnectDiagnosticsLinkLACPStatusOrBuilder
- Returns:
- The bytes for state.
-
setState
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;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setStateBytes
public InterconnectDiagnosticsLinkLACPStatus.Builder setStateBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for state to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final InterconnectDiagnosticsLinkLACPStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
mergeUnknownFields
public final InterconnectDiagnosticsLinkLACPStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
-