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
Protobuf typegoogle.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InterconnectDiagnosticsLinkLACPStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InterconnectDiagnosticsLinkLACPStatusbuild()InterconnectDiagnosticsLinkLACPStatusbuildPartial()InterconnectDiagnosticsLinkLACPStatus.Builderclear()InterconnectDiagnosticsLinkLACPStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InterconnectDiagnosticsLinkLACPStatus.BuilderclearGoogleSystemId()System ID of the port on Google's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.BuilderclearNeighborSystemId()System ID of the port on the neighbor's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InterconnectDiagnosticsLinkLACPStatus.BuilderclearState()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.Builderclone()InterconnectDiagnosticsLinkLACPStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetGoogleSystemId()System ID of the port on Google's side of the LACP exchange.com.google.protobuf.ByteStringgetGoogleSystemIdBytes()System ID of the port on Google's side of the LACP exchange.StringgetNeighborSystemId()System ID of the port on the neighbor's side of the LACP exchange.com.google.protobuf.ByteStringgetNeighborSystemIdBytes()System ID of the port on the neighbor's side of the LACP exchange.StringgetState()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.ByteStringgetStateBytes()The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle.booleanhasGoogleSystemId()System ID of the port on Google's side of the LACP exchange.booleanhasNeighborSystemId()System ID of the port on the neighbor's side of the LACP exchange.booleanhasState()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InterconnectDiagnosticsLinkLACPStatus.BuildermergeFrom(InterconnectDiagnosticsLinkLACPStatus other)InterconnectDiagnosticsLinkLACPStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InterconnectDiagnosticsLinkLACPStatus.BuildermergeFrom(com.google.protobuf.Message other)InterconnectDiagnosticsLinkLACPStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InterconnectDiagnosticsLinkLACPStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InterconnectDiagnosticsLinkLACPStatus.BuildersetGoogleSystemId(String value)System ID of the port on Google's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.BuildersetGoogleSystemIdBytes(com.google.protobuf.ByteString value)System ID of the port on Google's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.BuildersetNeighborSystemId(String value)System ID of the port on the neighbor's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.BuildersetNeighborSystemIdBytes(com.google.protobuf.ByteString value)System ID of the port on the neighbor's side of the LACP exchange.InterconnectDiagnosticsLinkLACPStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InterconnectDiagnosticsLinkLACPStatus.BuildersetState(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.BuildersetStateBytes(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.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
clear
public InterconnectDiagnosticsLinkLACPStatus.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
getDefaultInstanceForType
public InterconnectDiagnosticsLinkLACPStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InterconnectDiagnosticsLinkLACPStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InterconnectDiagnosticsLinkLACPStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InterconnectDiagnosticsLinkLACPStatus.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
setField
public InterconnectDiagnosticsLinkLACPStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
clearField
public InterconnectDiagnosticsLinkLACPStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
clearOneof
public InterconnectDiagnosticsLinkLACPStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
setRepeatedField
public InterconnectDiagnosticsLinkLACPStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
addRepeatedField
public InterconnectDiagnosticsLinkLACPStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
mergeFrom
public InterconnectDiagnosticsLinkLACPStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
mergeFrom
public InterconnectDiagnosticsLinkLACPStatus.Builder mergeFrom(InterconnectDiagnosticsLinkLACPStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasGoogleSystemIdin 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:
getGoogleSystemIdin 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:
getGoogleSystemIdBytesin 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:
hasNeighborSystemIdin 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:
getNeighborSystemIdin 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:
getNeighborSystemIdBytesin 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:
hasStatein 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:
getStatein 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:
getStateBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
mergeUnknownFields
public final InterconnectDiagnosticsLinkLACPStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
-