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.GeneratedMessage.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.GeneratedMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
implements InterconnectDiagnosticsLinkLACPStatusOrBuilder
Protobuf type
google.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()System ID of the port on Google's side of the LACP exchange.System ID of the port on the neighbor's side of the LACP exchange.The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundlestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSystem ID of the port on Google's side of the LACP exchange.com.google.protobuf.ByteStringSystem ID of the port on Google's side of the LACP exchange.System ID of the port on the neighbor's side of the LACP exchange.com.google.protobuf.ByteStringSystem ID of the port on the neighbor's side of the LACP exchange.getState()The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundlecom.google.protobuf.ByteStringThe state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundlebooleanSystem ID of the port on Google's side of the LACP exchange.booleanSystem 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 bundleprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setGoogleSystemId(String value) System ID of the port on Google's side of the LACP exchange.setGoogleSystemIdBytes(com.google.protobuf.ByteString value) System ID of the port on Google's side of the LACP exchange.setNeighborSystemId(String value) System ID of the port on the neighbor's side of the LACP exchange.setNeighborSystemIdBytes(com.google.protobuf.ByteString value) System ID of the port on the neighbor's side of the LACP exchange.The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundlesetStateBytes(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 bundleMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- 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.GeneratedMessage.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
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
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
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
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
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
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
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
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
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.
-