Class WireGroup (1.92.0)

public final class WireGroup extends GeneratedMessageV3 implements WireGroupOrBuilder

A resource that represents a group of redundant wires.

Protobuf type google.cloud.compute.v1.WireGroup

Implements

WireGroupOrBuilder

Static Fields

ADMIN_ENABLED_FIELD_NUMBER

public static final int ADMIN_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

CREATION_TIMESTAMP_FIELD_NUMBER

public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINTS_FIELD_NUMBER

public static final int ENDPOINTS_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RECONCILING_FIELD_NUMBER

public static final int RECONCILING_FIELD_NUMBER
Field Value
Type Description
int
public static final int SELF_LINK_FIELD_NUMBER
Field Value
Type Description
int

TOPOLOGY_FIELD_NUMBER

public static final int TOPOLOGY_FIELD_NUMBER
Field Value
Type Description
int

WIRES_FIELD_NUMBER

public static final int WIRES_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 WireGroup getDefaultInstance()
Returns
Type Description
WireGroup

getDescriptor()

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

newBuilder()

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

newBuilder(WireGroup prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsEndpoints(String key)

public boolean containsEndpoints(String key)

A map that contains the logical endpoints of the wire group. Specify key-value pairs for the map as follows:

- Key: an RFC1035 user-specified label.
- Value: an Endpoint object.

map<string, .google.cloud.compute.v1.WireGroupEndpoint> endpoints = 287085950;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdminEnabled()

public boolean getAdminEnabled()

Indicates whether the wires in the wire group are enabled. When false, the wires in the wire group are disabled. When true and when there is simultaneously no wire-specific override of adminEnabled to false, a given wire is enabled. Defaults to true.

optional bool admin_enabled = 445675089;

Returns
Type Description
boolean

The adminEnabled.

getCreationTimestamp()

public String getCreationTimestamp()

Output only. [Output Only] Creation timestamp inRFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

Output only. [Output Only] Creation timestamp inRFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDefaultInstanceForType()

public WireGroup getDefaultInstanceForType()
Returns
Type Description
WireGroup

getDescription()

public String getDescription()

An optional description of the wire group.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

An optional description of the wire group.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getEndpoints() (deprecated)

public Map<String,WireGroupEndpoint> getEndpoints()

Use #getEndpointsMap() instead.

Returns
Type Description
Map<String,WireGroupEndpoint>

getEndpointsCount()

public int getEndpointsCount()

A map that contains the logical endpoints of the wire group. Specify key-value pairs for the map as follows:

- Key: an RFC1035 user-specified label.
- Value: an Endpoint object.

map<string, .google.cloud.compute.v1.WireGroupEndpoint> endpoints = 287085950;

Returns
Type Description
int

getEndpointsMap()

public Map<String,WireGroupEndpoint> getEndpointsMap()

A map that contains the logical endpoints of the wire group. Specify key-value pairs for the map as follows:

- Key: an RFC1035 user-specified label.
- Value: an Endpoint object.

map<string, .google.cloud.compute.v1.WireGroupEndpoint> endpoints = 287085950;

Returns
Type Description
Map<String,WireGroupEndpoint>

getEndpointsOrDefault(String key, WireGroupEndpoint defaultValue)

public WireGroupEndpoint getEndpointsOrDefault(String key, WireGroupEndpoint defaultValue)

A map that contains the logical endpoints of the wire group. Specify key-value pairs for the map as follows:

- Key: an RFC1035 user-specified label.
- Value: an Endpoint object.

map<string, .google.cloud.compute.v1.WireGroupEndpoint> endpoints = 287085950;

Parameters
Name Description
key String
defaultValue WireGroupEndpoint
Returns
Type Description
WireGroupEndpoint

getEndpointsOrThrow(String key)

public WireGroupEndpoint getEndpointsOrThrow(String key)

A map that contains the logical endpoints of the wire group. Specify key-value pairs for the map as follows:

- Key: an RFC1035 user-specified label.
- Value: an Endpoint object.

map<string, .google.cloud.compute.v1.WireGroupEndpoint> endpoints = 287085950;

Parameter
Name Description
key String
Returns
Type Description
WireGroupEndpoint

getId()

public long getId()

Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getKind()

public String getKind()

Output only. [Output Only] Type of the resource. Alwayscompute#wireGroups for wire groups.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Output only. [Output Only] Type of the resource. Alwayscompute#wireGroups for wire groups.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getName()

public String getName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<WireGroup> getParserForType()
Returns
Type Description
Parser<WireGroup>
Overrides

getReconciling()

public boolean getReconciling()

Output only. [Output Only] Indicates whether there are wire changes yet to be processed.

optional bool reconciling = 432155787;

Returns
Type Description
boolean

The reconciling.

public String getSelfLink()

Output only. [Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

Output only. [Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTopology()

public WireGroupTopology getTopology()

Output only. Topology details for the wire group configuration.

optional .google.cloud.compute.v1.WireGroupTopology topology = 122274415;

Returns
Type Description
WireGroupTopology

The topology.

getTopologyOrBuilder()

public WireGroupTopologyOrBuilder getTopologyOrBuilder()

Output only. Topology details for the wire group configuration.

optional .google.cloud.compute.v1.WireGroupTopology topology = 122274415;

Returns
Type Description
WireGroupTopologyOrBuilder

getWireProperties()

public WireProperties getWireProperties()

Properties for all wires in the wire group.

optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;

Returns
Type Description
WireProperties

The wireProperties.

getWirePropertiesOrBuilder()

public WirePropertiesOrBuilder getWirePropertiesOrBuilder()

Properties for all wires in the wire group.

optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;

Returns
Type Description
WirePropertiesOrBuilder

getWires(int index)

public Wire getWires(int index)

Output only. The single/redundant wire(s) managed by the wire group.

repeated .google.cloud.compute.v1.Wire wires = 113139854;

Parameter
Name Description
index int
Returns
Type Description
Wire

getWiresCount()

public int getWiresCount()

Output only. The single/redundant wire(s) managed by the wire group.

repeated .google.cloud.compute.v1.Wire wires = 113139854;

Returns
Type Description
int

getWiresList()

public List<Wire> getWiresList()

Output only. The single/redundant wire(s) managed by the wire group.

repeated .google.cloud.compute.v1.Wire wires = 113139854;

Returns
Type Description
List<Wire>

getWiresOrBuilder(int index)

public WireOrBuilder getWiresOrBuilder(int index)

Output only. The single/redundant wire(s) managed by the wire group.

repeated .google.cloud.compute.v1.Wire wires = 113139854;

Parameter
Name Description
index int
Returns
Type Description
WireOrBuilder

getWiresOrBuilderList()

public List<? extends WireOrBuilder> getWiresOrBuilderList()

Output only. The single/redundant wire(s) managed by the wire group.

repeated .google.cloud.compute.v1.Wire wires = 113139854;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.WireOrBuilder>

hasAdminEnabled()

public boolean hasAdminEnabled()

Indicates whether the wires in the wire group are enabled. When false, the wires in the wire group are disabled. When true and when there is simultaneously no wire-specific override of adminEnabled to false, a given wire is enabled. Defaults to true.

optional bool admin_enabled = 445675089;

Returns
Type Description
boolean

Whether the adminEnabled field is set.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

Output only. [Output Only] Creation timestamp inRFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasDescription()

public boolean hasDescription()

An optional description of the wire group.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasId()

public boolean hasId()

Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasKind()

public boolean hasKind()

Output only. [Output Only] Type of the resource. Alwayscompute#wireGroups for wire groups.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasName()

public boolean hasName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasReconciling()

public boolean hasReconciling()

Output only. [Output Only] Indicates whether there are wire changes yet to be processed.

optional bool reconciling = 432155787;

Returns
Type Description
boolean

Whether the reconciling field is set.

public boolean hasSelfLink()

Output only. [Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

hasTopology()

public boolean hasTopology()

Output only. Topology details for the wire group configuration.

optional .google.cloud.compute.v1.WireGroupTopology topology = 122274415;

Returns
Type Description
boolean

Whether the topology field is set.

hasWireProperties()

public boolean hasWireProperties()

Properties for all wires in the wire group.

optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;

Returns
Type Description
boolean

Whether the wireProperties field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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