Class WireProperties (1.92.0)

public final class WireProperties extends GeneratedMessageV3 implements WirePropertiesOrBuilder

The properties of a wire.

Protobuf type google.cloud.compute.v1.WireProperties

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()
Returns
Type Description
WireProperties

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WireProperties.Builder newBuilder()
Returns
Type Description
WireProperties.Builder

newBuilder(WireProperties prototype)

public static WireProperties.Builder newBuilder(WireProperties prototype)
Parameter
Name Description
prototype WireProperties
Returns
Type Description
WireProperties.Builder

parseDelimitedFrom(InputStream input)

public static WireProperties parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WireProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WireProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WireProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WireProperties parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WireProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WireProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WireProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WireProperties parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WireProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WireProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WireProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WireProperties parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WireProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WireProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WireProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WireProperties parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WireProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WireProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WireProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WireProperties parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WireProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WireProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WireProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WireProperties> parser()
Returns
Type Description
Parser<WireProperties>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
WireProperties

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()
Returns
Type Description
Parser<WireProperties>
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WireProperties.Builder newBuilderForType()
Returns
Type Description
WireProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WireProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WireProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WireProperties.Builder toBuilder()
Returns
Type Description
WireProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException