Package com.google.cloud.compute.v1
Class InterconnectDiagnosticsLinkOpticalPower.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
- com.google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPower.Builder
-
- All Implemented Interfaces:
InterconnectDiagnosticsLinkOpticalPowerOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- InterconnectDiagnosticsLinkOpticalPower
public static final class InterconnectDiagnosticsLinkOpticalPower.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkOpticalPower.Builder> implements InterconnectDiagnosticsLinkOpticalPowerOrBuilder
google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPower
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InterconnectDiagnosticsLinkOpticalPower.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InterconnectDiagnosticsLinkOpticalPower
build()
InterconnectDiagnosticsLinkOpticalPower
buildPartial()
InterconnectDiagnosticsLinkOpticalPower.Builder
clear()
InterconnectDiagnosticsLinkOpticalPower.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InterconnectDiagnosticsLinkOpticalPower.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InterconnectDiagnosticsLinkOpticalPower.Builder
clearState()
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver.InterconnectDiagnosticsLinkOpticalPower.Builder
clearValue()
Value of the current receiving or transmitting optical power, read in dBm.InterconnectDiagnosticsLinkOpticalPower.Builder
clone()
InterconnectDiagnosticsLinkOpticalPower
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getState()
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver.com.google.protobuf.ByteString
getStateBytes()
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver.float
getValue()
Value of the current receiving or transmitting optical power, read in dBm.boolean
hasState()
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver.boolean
hasValue()
Value of the current receiving or transmitting optical power, read in dBm.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InterconnectDiagnosticsLinkOpticalPower.Builder
mergeFrom(InterconnectDiagnosticsLinkOpticalPower other)
InterconnectDiagnosticsLinkOpticalPower.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InterconnectDiagnosticsLinkOpticalPower.Builder
mergeFrom(com.google.protobuf.Message other)
InterconnectDiagnosticsLinkOpticalPower.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InterconnectDiagnosticsLinkOpticalPower.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InterconnectDiagnosticsLinkOpticalPower.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InterconnectDiagnosticsLinkOpticalPower.Builder
setState(String value)
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver.InterconnectDiagnosticsLinkOpticalPower.Builder
setStateBytes(com.google.protobuf.ByteString value)
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver.InterconnectDiagnosticsLinkOpticalPower.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InterconnectDiagnosticsLinkOpticalPower.Builder
setValue(float value)
Value of the current receiving or transmitting optical power, read in dBm.-
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<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
clear
public InterconnectDiagnosticsLinkOpticalPower.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<InterconnectDiagnosticsLinkOpticalPower.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<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
getDefaultInstanceForType
public InterconnectDiagnosticsLinkOpticalPower getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InterconnectDiagnosticsLinkOpticalPower build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InterconnectDiagnosticsLinkOpticalPower buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InterconnectDiagnosticsLinkOpticalPower.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<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
setField
public InterconnectDiagnosticsLinkOpticalPower.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<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
clearField
public InterconnectDiagnosticsLinkOpticalPower.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<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
clearOneof
public InterconnectDiagnosticsLinkOpticalPower.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<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
setRepeatedField
public InterconnectDiagnosticsLinkOpticalPower.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<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
addRepeatedField
public InterconnectDiagnosticsLinkOpticalPower.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<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
mergeFrom
public InterconnectDiagnosticsLinkOpticalPower.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
mergeFrom
public InterconnectDiagnosticsLinkOpticalPower.Builder mergeFrom(InterconnectDiagnosticsLinkOpticalPower other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
mergeFrom
public InterconnectDiagnosticsLinkOpticalPower.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<InterconnectDiagnosticsLinkOpticalPower.Builder>
- Throws:
IOException
-
hasState
public boolean hasState()
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. Check the State enum for the list of possible values.
optional string state = 109757585;
- Specified by:
hasState
in interfaceInterconnectDiagnosticsLinkOpticalPowerOrBuilder
- Returns:
- Whether the state field is set.
-
getState
public String getState()
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. Check the State enum for the list of possible values.
optional string state = 109757585;
- Specified by:
getState
in interfaceInterconnectDiagnosticsLinkOpticalPowerOrBuilder
- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. Check the State enum for the list of possible values.
optional string state = 109757585;
- Specified by:
getStateBytes
in interfaceInterconnectDiagnosticsLinkOpticalPowerOrBuilder
- Returns:
- The bytes for state.
-
setState
public InterconnectDiagnosticsLinkOpticalPower.Builder setState(String value)
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. 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 InterconnectDiagnosticsLinkOpticalPower.Builder clearState()
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. Check the State enum for the list of possible values.
optional string state = 109757585;
- Returns:
- This builder for chaining.
-
setStateBytes
public InterconnectDiagnosticsLinkOpticalPower.Builder setStateBytes(com.google.protobuf.ByteString value)
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. 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.
-
hasValue
public boolean hasValue()
Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.
optional float value = 111972721;
- Specified by:
hasValue
in interfaceInterconnectDiagnosticsLinkOpticalPowerOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
public float getValue()
Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.
optional float value = 111972721;
- Specified by:
getValue
in interfaceInterconnectDiagnosticsLinkOpticalPowerOrBuilder
- Returns:
- The value.
-
setValue
public InterconnectDiagnosticsLinkOpticalPower.Builder setValue(float value)
Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.
optional float value = 111972721;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public InterconnectDiagnosticsLinkOpticalPower.Builder clearValue()
Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.
optional float value = 111972721;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final InterconnectDiagnosticsLinkOpticalPower.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
mergeUnknownFields
public final InterconnectDiagnosticsLinkOpticalPower.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnosticsLinkOpticalPower.Builder>
-
-