public final class WireProperties extends GeneratedMessage implements WirePropertiesOrBuilder
The properties of a wire.
Protobuf type google.cloud.compute.v1.WireProperties
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
BANDWIDTH_ALLOCATION_FIELD_NUMBER
public static final int BANDWIDTH_ALLOCATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
BANDWIDTH_UNMETERED_FIELD_NUMBER
public static final int BANDWIDTH_UNMETERED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FAULT_RESPONSE_FIELD_NUMBER
public static final int FAULT_RESPONSE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static WireProperties getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WireProperties.Builder newBuilder()
newBuilder(WireProperties prototype)
public static WireProperties.Builder newBuilder(WireProperties prototype)
public static WireProperties parseDelimitedFrom(InputStream input)
public static WireProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WireProperties parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WireProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WireProperties parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WireProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WireProperties parseFrom(CodedInputStream input)
public static WireProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WireProperties parseFrom(InputStream input)
public static WireProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WireProperties parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WireProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WireProperties> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBandwidthAllocation()
public String getBandwidthAllocation()
The configuration of the bandwidth allocation, one of the following:
- ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation
(and associated charges) for each wire in the group.
- SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures
one unmetered bandwidth allocation for the wire group. The unmetered
bandwidth is divided equally across each wire in the group, but dynamic
throttling reallocates unused unmetered bandwidth from unused or underused
wires to other wires in the group.
Check the BandwidthAllocation enum for the list of possible values.
optional string bandwidth_allocation = 90651950;
| Returns |
| Type |
Description |
String |
The bandwidthAllocation.
|
getBandwidthAllocationBytes()
public ByteString getBandwidthAllocationBytes()
The configuration of the bandwidth allocation, one of the following:
- ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation
(and associated charges) for each wire in the group.
- SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures
one unmetered bandwidth allocation for the wire group. The unmetered
bandwidth is divided equally across each wire in the group, but dynamic
throttling reallocates unused unmetered bandwidth from unused or underused
wires to other wires in the group.
Check the BandwidthAllocation enum for the list of possible values.
optional string bandwidth_allocation = 90651950;
| Returns |
| Type |
Description |
ByteString |
The bytes for bandwidthAllocation.
|
getBandwidthUnmetered()
public long getBandwidthUnmetered()
The unmetered bandwidth in Gigabits per second, using decimal units. 10
is 10 Gbps, 100 is 100 Gbps. The bandwidth must be greater than 0.
optional int64 bandwidth_unmetered = 272650017;
| Returns |
| Type |
Description |
long |
The bandwidthUnmetered.
|
getDefaultInstanceForType()
public WireProperties getDefaultInstanceForType()
getFaultResponse()
public String getFaultResponse()
Response when a fault is detected in a pseudowire:
- NONE: default.
- DISABLE_PORT: set the port line protocol down when inline probes
detect a fault. This setting is only permitted on port mode
pseudowires.
Check the FaultResponse enum for the list of possible values.
optional string fault_response = 353587646;
| Returns |
| Type |
Description |
String |
The faultResponse.
|
getFaultResponseBytes()
public ByteString getFaultResponseBytes()
Response when a fault is detected in a pseudowire:
- NONE: default.
- DISABLE_PORT: set the port line protocol down when inline probes
detect a fault. This setting is only permitted on port mode
pseudowires.
Check the FaultResponse enum for the list of possible values.
optional string fault_response = 353587646;
| Returns |
| Type |
Description |
ByteString |
The bytes for faultResponse.
|
getParserForType()
public Parser<WireProperties> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasBandwidthAllocation()
public boolean hasBandwidthAllocation()
The configuration of the bandwidth allocation, one of the following:
- ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation
(and associated charges) for each wire in the group.
- SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures
one unmetered bandwidth allocation for the wire group. The unmetered
bandwidth is divided equally across each wire in the group, but dynamic
throttling reallocates unused unmetered bandwidth from unused or underused
wires to other wires in the group.
Check the BandwidthAllocation enum for the list of possible values.
optional string bandwidth_allocation = 90651950;
| Returns |
| Type |
Description |
boolean |
Whether the bandwidthAllocation field is set.
|
hasBandwidthUnmetered()
public boolean hasBandwidthUnmetered()
The unmetered bandwidth in Gigabits per second, using decimal units. 10
is 10 Gbps, 100 is 100 Gbps. The bandwidth must be greater than 0.
optional int64 bandwidth_unmetered = 272650017;
| Returns |
| Type |
Description |
boolean |
Whether the bandwidthUnmetered field is set.
|
hasFaultResponse()
public boolean hasFaultResponse()
Response when a fault is detected in a pseudowire:
- NONE: default.
- DISABLE_PORT: set the port line protocol down when inline probes
detect a fault. This setting is only permitted on port mode
pseudowires.
Check the FaultResponse enum for the list of possible values.
optional string fault_response = 353587646;
| Returns |
| Type |
Description |
boolean |
Whether the faultResponse field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WireProperties.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected WireProperties.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public WireProperties.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides