Class WireGroup.Builder (1.92.0)

public static final class WireGroup.Builder extends GeneratedMessageV3.Builder<WireGroup.Builder> implements WireGroupOrBuilder

A resource that represents a group of redundant wires.

Protobuf type google.cloud.compute.v1.WireGroup

Implements

WireGroupOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllWires(Iterable<? extends Wire> values)

public WireGroup.Builder addAllWires(Iterable<? extends Wire> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.Wire>
Returns
Type Description
WireGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WireGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WireGroup.Builder
Overrides

addWires(Wire value)

public WireGroup.Builder addWires(Wire value)

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

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

Parameter
Name Description
value Wire
Returns
Type Description
WireGroup.Builder

addWires(Wire.Builder builderForValue)

public WireGroup.Builder addWires(Wire.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Wire.Builder
Returns
Type Description
WireGroup.Builder

addWires(int index, Wire value)

public WireGroup.Builder addWires(int index, Wire value)

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

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

Parameters
Name Description
index int
value Wire
Returns
Type Description
WireGroup.Builder

addWires(int index, Wire.Builder builderForValue)

public WireGroup.Builder addWires(int index, Wire.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue Wire.Builder
Returns
Type Description
WireGroup.Builder

addWiresBuilder()

public Wire.Builder addWiresBuilder()

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

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

Returns
Type Description
Wire.Builder

addWiresBuilder(int index)

public Wire.Builder addWiresBuilder(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.Builder

build()

public WireGroup build()
Returns
Type Description
WireGroup

buildPartial()

public WireGroup buildPartial()
Returns
Type Description
WireGroup

clear()

public WireGroup.Builder clear()
Returns
Type Description
WireGroup.Builder
Overrides

clearAdminEnabled()

public WireGroup.Builder clearAdminEnabled()

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
WireGroup.Builder

This builder for chaining.

clearCreationTimestamp()

public WireGroup.Builder clearCreationTimestamp()

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

optional string creation_timestamp = 30525366;

Returns
Type Description
WireGroup.Builder

This builder for chaining.

clearDescription()

public WireGroup.Builder clearDescription()

An optional description of the wire group.

optional string description = 422937596;

Returns
Type Description
WireGroup.Builder

This builder for chaining.

clearEndpoints()

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

clearField(Descriptors.FieldDescriptor field)

public WireGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WireGroup.Builder
Overrides

clearId()

public WireGroup.Builder clearId()

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

optional uint64 id = 3355;

Returns
Type Description
WireGroup.Builder

This builder for chaining.

clearKind()

public WireGroup.Builder clearKind()

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

optional string kind = 3292052;

Returns
Type Description
WireGroup.Builder

This builder for chaining.

clearName()

public WireGroup.Builder clearName()

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
WireGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public WireGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WireGroup.Builder
Overrides

clearReconciling()

public WireGroup.Builder clearReconciling()

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

optional bool reconciling = 432155787;

Returns
Type Description
WireGroup.Builder

This builder for chaining.

public WireGroup.Builder clearSelfLink()

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

optional string self_link = 456214797;

Returns
Type Description
WireGroup.Builder

This builder for chaining.

clearTopology()

public WireGroup.Builder clearTopology()

Output only. Topology details for the wire group configuration.

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

Returns
Type Description
WireGroup.Builder

clearWireProperties()

public WireGroup.Builder clearWireProperties()

Properties for all wires in the wire group.

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

Returns
Type Description
WireGroup.Builder

clearWires()

public WireGroup.Builder clearWires()

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

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

Returns
Type Description
WireGroup.Builder

clone()

public WireGroup.Builder clone()
Returns
Type Description
WireGroup.Builder
Overrides

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

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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getMutableEndpoints() (deprecated)

public Map<String,WireGroupEndpoint> getMutableEndpoints()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,WireGroupEndpoint>

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.

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.

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.

getTopologyBuilder()

public WireGroupTopology.Builder getTopologyBuilder()

Output only. Topology details for the wire group configuration.

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

Returns
Type Description
WireGroupTopology.Builder

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.

getWirePropertiesBuilder()

public WireProperties.Builder getWirePropertiesBuilder()

Properties for all wires in the wire group.

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

Returns
Type Description
WireProperties.Builder

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

getWiresBuilder(int index)

public Wire.Builder getWiresBuilder(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.Builder

getWiresBuilderList()

public List<Wire.Builder> getWiresBuilderList()

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

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

Returns
Type Description
List<Builder>

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.

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WireGroup other)

public WireGroup.Builder mergeFrom(WireGroup other)
Parameter
Name Description
other WireGroup
Returns
Type Description
WireGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WireGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WireGroup.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WireGroup.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WireGroup.Builder
Overrides

mergeTopology(WireGroupTopology value)

public WireGroup.Builder mergeTopology(WireGroupTopology value)

Output only. Topology details for the wire group configuration.

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

Parameter
Name Description
value WireGroupTopology
Returns
Type Description
WireGroup.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WireGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WireGroup.Builder
Overrides

mergeWireProperties(WireProperties value)

public WireGroup.Builder mergeWireProperties(WireProperties value)

Properties for all wires in the wire group.

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

Parameter
Name Description
value WireProperties
Returns
Type Description
WireGroup.Builder

putAllEndpoints(Map<String,WireGroupEndpoint> values)

public WireGroup.Builder putAllEndpoints(Map<String,WireGroupEndpoint> values)

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
values Map<String,WireGroupEndpoint>
Returns
Type Description
WireGroup.Builder

putEndpoints(String key, WireGroupEndpoint value)

public WireGroup.Builder putEndpoints(String key, WireGroupEndpoint value)

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
value WireGroupEndpoint
Returns
Type Description
WireGroup.Builder

putEndpointsBuilderIfAbsent(String key)

public WireGroupEndpoint.Builder putEndpointsBuilderIfAbsent(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.Builder

removeEndpoints(String key)

public WireGroup.Builder removeEndpoints(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
WireGroup.Builder

removeWires(int index)

public WireGroup.Builder removeWires(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
WireGroup.Builder

setAdminEnabled(boolean value)

public WireGroup.Builder setAdminEnabled(boolean value)

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;

Parameter
Name Description
value boolean

The adminEnabled to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setCreationTimestamp(String value)

public WireGroup.Builder setCreationTimestamp(String value)

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

optional string creation_timestamp = 30525366;

Parameter
Name Description
value String

The creationTimestamp to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setCreationTimestampBytes(ByteString value)

public WireGroup.Builder setCreationTimestampBytes(ByteString value)

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

optional string creation_timestamp = 30525366;

Parameter
Name Description
value ByteString

The bytes for creationTimestamp to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setDescription(String value)

public WireGroup.Builder setDescription(String value)

An optional description of the wire group.

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public WireGroup.Builder setDescriptionBytes(ByteString value)

An optional description of the wire group.

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public WireGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WireGroup.Builder
Overrides

setId(long value)

public WireGroup.Builder setId(long value)

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

optional uint64 id = 3355;

Parameter
Name Description
value long

The id to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setKind(String value)

public WireGroup.Builder setKind(String value)

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

optional string kind = 3292052;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setKindBytes(ByteString value)

public WireGroup.Builder setKindBytes(ByteString value)

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

optional string kind = 3292052;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setName(String value)

public WireGroup.Builder setName(String value)

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;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setNameBytes(ByteString value)

public WireGroup.Builder setNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setReconciling(boolean value)

public WireGroup.Builder setReconciling(boolean value)

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

optional bool reconciling = 432155787;

Parameter
Name Description
value boolean

The reconciling to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WireGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WireGroup.Builder
Overrides
public WireGroup.Builder setSelfLink(String value)

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

optional string self_link = 456214797;

Parameter
Name Description
value String

The selfLink to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setSelfLinkBytes(ByteString value)

public WireGroup.Builder setSelfLinkBytes(ByteString value)

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

optional string self_link = 456214797;

Parameter
Name Description
value ByteString

The bytes for selfLink to set.

Returns
Type Description
WireGroup.Builder

This builder for chaining.

setTopology(WireGroupTopology value)

public WireGroup.Builder setTopology(WireGroupTopology value)

Output only. Topology details for the wire group configuration.

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

Parameter
Name Description
value WireGroupTopology
Returns
Type Description
WireGroup.Builder

setTopology(WireGroupTopology.Builder builderForValue)

public WireGroup.Builder setTopology(WireGroupTopology.Builder builderForValue)

Output only. Topology details for the wire group configuration.

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

Parameter
Name Description
builderForValue WireGroupTopology.Builder
Returns
Type Description
WireGroup.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final WireGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WireGroup.Builder
Overrides

setWireProperties(WireProperties value)

public WireGroup.Builder setWireProperties(WireProperties value)

Properties for all wires in the wire group.

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

Parameter
Name Description
value WireProperties
Returns
Type Description
WireGroup.Builder

setWireProperties(WireProperties.Builder builderForValue)

public WireGroup.Builder setWireProperties(WireProperties.Builder builderForValue)

Properties for all wires in the wire group.

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

Parameter
Name Description
builderForValue WireProperties.Builder
Returns
Type Description
WireGroup.Builder

setWires(int index, Wire value)

public WireGroup.Builder setWires(int index, Wire value)

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

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

Parameters
Name Description
index int
value Wire
Returns
Type Description
WireGroup.Builder

setWires(int index, Wire.Builder builderForValue)

public WireGroup.Builder setWires(int index, Wire.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue Wire.Builder
Returns
Type Description
WireGroup.Builder