public final class Wire extends GeneratedMessage implements WireOrBuilder
A pseudowire that connects two Interconnect connections.
Protobuf type google.cloud.compute.v1.Wire
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
ADMIN_ENABLED_FIELD_NUMBER
public static final int ADMIN_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENDPOINTS_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
WIRE_PROPERTIES_FIELD_NUMBER
public static final int WIRE_PROPERTIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Wire getDefaultInstance()
| Returns |
| Type |
Description |
Wire |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Wire.Builder newBuilder()
newBuilder(Wire prototype)
public static Wire.Builder newBuilder(Wire prototype)
| Parameter |
| Name |
Description |
prototype |
Wire
|
public static Wire parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Wire |
|
public static Wire parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Wire |
|
parseFrom(byte[] data)
public static Wire parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Wire |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Wire parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Wire |
|
parseFrom(ByteString data)
public static Wire parseFrom(ByteString data)
| Returns |
| Type |
Description |
Wire |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Wire parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Wire |
|
public static Wire parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Wire |
|
public static Wire parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Wire |
|
public static Wire parseFrom(InputStream input)
| Returns |
| Type |
Description |
Wire |
|
public static Wire parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Wire |
|
parseFrom(ByteBuffer data)
public static Wire parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Wire |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Wire parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Wire |
|
parser()
public static Parser<Wire> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAdminEnabled()
public boolean getAdminEnabled()
Output only. [Output Only] Indicates whether the wire is enabled.
When false, the wire is disabled. When true and when the wire group of
the wire is also enabled, the wire is enabled. Defaults to true.
optional bool admin_enabled = 445675089;
| Returns |
| Type |
Description |
boolean |
The adminEnabled.
|
getDefaultInstanceForType()
public Wire getDefaultInstanceForType()
| Returns |
| Type |
Description |
Wire |
|
getEndpoints(int index)
public WireEndpoint getEndpoints(int index)
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;
| Parameter |
| Name |
Description |
index |
int
|
getEndpointsCount()
public int getEndpointsCount()
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;
| Returns |
| Type |
Description |
int |
|
getEndpointsList()
public List<WireEndpoint> getEndpointsList()
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;
getEndpointsOrBuilder(int index)
public WireEndpointOrBuilder getEndpointsOrBuilder(int index)
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;
| Parameter |
| Name |
Description |
index |
int
|
getEndpointsOrBuilderList()
public List<? extends WireEndpointOrBuilder> getEndpointsOrBuilderList()
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.WireEndpointOrBuilder> |
|
getLabel()
Output only. [Output Only] A label that identifies the wire. The format of this label
combines the existing labels of the wire group endpoints and Interconnect
connections used by this wire in alphabetical order as follows:
ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1, where:
- ENDPOINT_A and ENDPOINT_B: are the labels
that you entered as map keys when you specified the wire group endpoint
objects.
- CONNECTION_A1 and CONNECTION_B1: are the
labels that you entered as map keys when you specified the wire group
Interconnect objects.
optional string label = 102727412;
| Returns |
| Type |
Description |
String |
The label.
|
getLabelBytes()
public ByteString getLabelBytes()
Output only. [Output Only] A label that identifies the wire. The format of this label
combines the existing labels of the wire group endpoints and Interconnect
connections used by this wire in alphabetical order as follows:
ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1, where:
- ENDPOINT_A and ENDPOINT_B: are the labels
that you entered as map keys when you specified the wire group endpoint
objects.
- CONNECTION_A1 and CONNECTION_B1: are the
labels that you entered as map keys when you specified the wire group
Interconnect objects.
optional string label = 102727412;
| Returns |
| Type |
Description |
ByteString |
The bytes for label.
|
getParserForType()
public Parser<Wire> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getWireProperties()
public WireProperties getWireProperties()
Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
getWirePropertiesOrBuilder()
public WirePropertiesOrBuilder getWirePropertiesOrBuilder()
Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
hasAdminEnabled()
public boolean hasAdminEnabled()
Output only. [Output Only] Indicates whether the wire is enabled.
When false, the wire is disabled. When true and when the wire group of
the wire is also enabled, the wire is enabled. Defaults to true.
optional bool admin_enabled = 445675089;
| Returns |
| Type |
Description |
boolean |
Whether the adminEnabled field is set.
|
hasLabel()
public boolean hasLabel()
Output only. [Output Only] A label that identifies the wire. The format of this label
combines the existing labels of the wire group endpoints and Interconnect
connections used by this wire in alphabetical order as follows:
ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1, where:
- ENDPOINT_A and ENDPOINT_B: are the labels
that you entered as map keys when you specified the wire group endpoint
objects.
- CONNECTION_A1 and CONNECTION_B1: are the
labels that you entered as map keys when you specified the wire group
Interconnect objects.
optional string label = 102727412;
| Returns |
| Type |
Description |
boolean |
Whether the label field is set.
|
hasWireProperties()
public boolean hasWireProperties()
Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
| Returns |
| Type |
Description |
boolean |
Whether the wireProperties field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Wire.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Wire.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Wire.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides