public final class WireGroup extends GeneratedMessageV3 implements WireGroupOrBuilder
A resource that represents a group of redundant wires.
Protobuf type google.cloud.compute.v1.WireGroup
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 |
|
SELF_LINK_FIELD_NUMBER
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WireGroup.Builder newBuilder()
newBuilder(WireGroup prototype)
public static WireGroup.Builder newBuilder(WireGroup prototype)
| Parameter |
| Name |
Description |
prototype |
WireGroup
|
public static WireGroup parseDelimitedFrom(InputStream input)
public static WireGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WireGroup parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WireGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WireGroup parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WireGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WireGroup parseFrom(CodedInputStream input)
public static WireGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WireGroup parseFrom(InputStream input)
public static WireGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WireGroup parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WireGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WireGroup> parser()
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
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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()
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()
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;
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;
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
|
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()
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()
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()
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.
|
getSelfLink()
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;
getTopologyOrBuilder()
public WireGroupTopologyOrBuilder getTopologyOrBuilder()
Output only. Topology details for the wire group configuration.
optional .google.cloud.compute.v1.WireGroupTopology topology = 122274415;
getWireProperties()
public WireProperties getWireProperties()
Properties for all wires in the wire group.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
getWirePropertiesOrBuilder()
public WirePropertiesOrBuilder getWirePropertiesOrBuilder()
Properties for all wires in the wire group.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
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;
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
|
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()
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()
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()
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.
|
hasSelfLink()
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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()
Overrides
newBuilderForType()
public WireGroup.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WireGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public WireGroup.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides