Class InterconnectGroup.Builder (1.74.0)

public static final class InterconnectGroup.Builder extends GeneratedMessageV3.Builder<InterconnectGroup.Builder> implements InterconnectGroupOrBuilder

An interconnect group resource allows customers to create, analyze, and expand their redundant connections.

Protobuf type google.cloud.compute.v1.InterconnectGroup

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectGroup build()
Returns
Type Description
InterconnectGroup

buildPartial()

public InterconnectGroup buildPartial()
Returns
Type Description
InterconnectGroup

clear()

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

clearConfigured()

public InterconnectGroup.Builder clearConfigured()

optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;

Returns
Type Description
InterconnectGroup.Builder

clearCreationTimestamp()

public InterconnectGroup.Builder clearCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

clearDescription()

public InterconnectGroup.Builder clearDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

clearEtag()

public InterconnectGroup.Builder clearEtag()

Opaque system-generated token that uniquely identifies the configuration. If provided when patching a configuration in update mode, the provided token must match the current token or the update is rejected. This provides a reliable means of doing read-modify-write (optimistic locking) as described by API 154.

optional string etag = 3123477;

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public InterconnectGroup.Builder clearId()

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

optional uint64 id = 3355;

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

clearIntent()

public InterconnectGroup.Builder clearIntent()

optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;

Returns
Type Description
InterconnectGroup.Builder

clearInterconnects()

public InterconnectGroup.Builder clearInterconnects()
Returns
Type Description
InterconnectGroup.Builder

clearKind()

public InterconnectGroup.Builder clearKind()

[Output Only] Type of the resource. Always compute#InterconnectGroup

optional string kind = 3292052;

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

clearName()

public InterconnectGroup.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 with RFC1035. 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
InterconnectGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPhysicalStructure()

public InterconnectGroup.Builder clearPhysicalStructure()

optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;

Returns
Type Description
InterconnectGroup.Builder
public InterconnectGroup.Builder clearSelfLink()

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

optional string self_link = 456214797;

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

clone()

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

containsInterconnects(String key)

public boolean containsInterconnects(String key)

Interconnects in the InterconnectGroup. Keys are arbitrary user-specified strings. Users are encouraged, but not required, to use their preferred format for resource links as keys. Note that there are add-members and remove-members methods in gcloud. The size of this map is limited by an "Interconnects per group" quota.

map<string, .google.cloud.compute.v1.InterconnectGroupInterconnect> interconnects = 520187301;

Parameter
Name Description
key String
Returns
Type Description
boolean

getConfigured()

public InterconnectGroupConfigured getConfigured()

optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;

Returns
Type Description
InterconnectGroupConfigured

The configured.

getConfiguredBuilder()

public InterconnectGroupConfigured.Builder getConfiguredBuilder()

optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;

Returns
Type Description
InterconnectGroupConfigured.Builder

getConfiguredOrBuilder()

public InterconnectGroupConfiguredOrBuilder getConfiguredOrBuilder()

optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;

Returns
Type Description
InterconnectGroupConfiguredOrBuilder

getCreationTimestamp()

public String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDefaultInstanceForType()

public InterconnectGroup getDefaultInstanceForType()
Returns
Type Description
InterconnectGroup

getDescription()

public String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getEtag()

public String getEtag()

Opaque system-generated token that uniquely identifies the configuration. If provided when patching a configuration in update mode, the provided token must match the current token or the update is rejected. This provides a reliable means of doing read-modify-write (optimistic locking) as described by API 154.

optional string etag = 3123477;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Opaque system-generated token that uniquely identifies the configuration. If provided when patching a configuration in update mode, the provided token must match the current token or the update is rejected. This provides a reliable means of doing read-modify-write (optimistic locking) as described by API 154.

optional string etag = 3123477;

Returns
Type Description
ByteString

The bytes for etag.

getId()

public long getId()

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

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getIntent()

public InterconnectGroupIntent getIntent()

optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;

Returns
Type Description
InterconnectGroupIntent

The intent.

getIntentBuilder()

public InterconnectGroupIntent.Builder getIntentBuilder()

optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;

Returns
Type Description
InterconnectGroupIntent.Builder

getIntentOrBuilder()

public InterconnectGroupIntentOrBuilder getIntentOrBuilder()

optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;

Returns
Type Description
InterconnectGroupIntentOrBuilder

getInterconnects() (deprecated)

public Map<String,InterconnectGroupInterconnect> getInterconnects()
Returns
Type Description
Map<String,InterconnectGroupInterconnect>

getInterconnectsCount()

public int getInterconnectsCount()

Interconnects in the InterconnectGroup. Keys are arbitrary user-specified strings. Users are encouraged, but not required, to use their preferred format for resource links as keys. Note that there are add-members and remove-members methods in gcloud. The size of this map is limited by an "Interconnects per group" quota.

map<string, .google.cloud.compute.v1.InterconnectGroupInterconnect> interconnects = 520187301;

Returns
Type Description
int

getInterconnectsMap()

public Map<String,InterconnectGroupInterconnect> getInterconnectsMap()

Interconnects in the InterconnectGroup. Keys are arbitrary user-specified strings. Users are encouraged, but not required, to use their preferred format for resource links as keys. Note that there are add-members and remove-members methods in gcloud. The size of this map is limited by an "Interconnects per group" quota.

map<string, .google.cloud.compute.v1.InterconnectGroupInterconnect> interconnects = 520187301;

Returns
Type Description
Map<String,InterconnectGroupInterconnect>

getInterconnectsOrDefault(String key, InterconnectGroupInterconnect defaultValue)

public InterconnectGroupInterconnect getInterconnectsOrDefault(String key, InterconnectGroupInterconnect defaultValue)

Interconnects in the InterconnectGroup. Keys are arbitrary user-specified strings. Users are encouraged, but not required, to use their preferred format for resource links as keys. Note that there are add-members and remove-members methods in gcloud. The size of this map is limited by an "Interconnects per group" quota.

map<string, .google.cloud.compute.v1.InterconnectGroupInterconnect> interconnects = 520187301;

Parameters
Name Description
key String
defaultValue InterconnectGroupInterconnect
Returns
Type Description
InterconnectGroupInterconnect

getInterconnectsOrThrow(String key)

public InterconnectGroupInterconnect getInterconnectsOrThrow(String key)

Interconnects in the InterconnectGroup. Keys are arbitrary user-specified strings. Users are encouraged, but not required, to use their preferred format for resource links as keys. Note that there are add-members and remove-members methods in gcloud. The size of this map is limited by an "Interconnects per group" quota.

map<string, .google.cloud.compute.v1.InterconnectGroupInterconnect> interconnects = 520187301;

Parameter
Name Description
key String
Returns
Type Description
InterconnectGroupInterconnect

getKind()

public String getKind()

[Output Only] Type of the resource. Always compute#InterconnectGroup

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#InterconnectGroup

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getMutableInterconnects() (deprecated)

public Map<String,InterconnectGroupInterconnect> getMutableInterconnects()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,InterconnectGroupInterconnect>

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 with RFC1035. 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 with RFC1035. 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.

getPhysicalStructure()

public InterconnectGroupPhysicalStructure getPhysicalStructure()

optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;

Returns
Type Description
InterconnectGroupPhysicalStructure

The physicalStructure.

getPhysicalStructureBuilder()

public InterconnectGroupPhysicalStructure.Builder getPhysicalStructureBuilder()

optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;

Returns
Type Description
InterconnectGroupPhysicalStructure.Builder

getPhysicalStructureOrBuilder()

public InterconnectGroupPhysicalStructureOrBuilder getPhysicalStructureOrBuilder()

optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;

Returns
Type Description
InterconnectGroupPhysicalStructureOrBuilder
public String getSelfLink()

[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] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

hasConfigured()

public boolean hasConfigured()

optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;

Returns
Type Description
boolean

Whether the configured field is set.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 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 this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasEtag()

public boolean hasEtag()

Opaque system-generated token that uniquely identifies the configuration. If provided when patching a configuration in update mode, the provided token must match the current token or the update is rejected. This provides a reliable means of doing read-modify-write (optimistic locking) as described by API 154.

optional string etag = 3123477;

Returns
Type Description
boolean

Whether the etag field is set.

hasId()

public boolean hasId()

[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.

hasIntent()

public boolean hasIntent()

optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;

Returns
Type Description
boolean

Whether the intent field is set.

hasKind()

public boolean hasKind()

[Output Only] Type of the resource. Always compute#InterconnectGroup

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 with RFC1035. 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.

hasPhysicalStructure()

public boolean hasPhysicalStructure()

optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;

Returns
Type Description
boolean

Whether the physicalStructure field is set.

public boolean hasSelfLink()

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

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink 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

mergeConfigured(InterconnectGroupConfigured value)

public InterconnectGroup.Builder mergeConfigured(InterconnectGroupConfigured value)

optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;

Parameter
Name Description
value InterconnectGroupConfigured
Returns
Type Description
InterconnectGroup.Builder

mergeFrom(InterconnectGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIntent(InterconnectGroupIntent value)

public InterconnectGroup.Builder mergeIntent(InterconnectGroupIntent value)

optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;

Parameter
Name Description
value InterconnectGroupIntent
Returns
Type Description
InterconnectGroup.Builder

mergePhysicalStructure(InterconnectGroupPhysicalStructure value)

public InterconnectGroup.Builder mergePhysicalStructure(InterconnectGroupPhysicalStructure value)

optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;

Parameter
Name Description
value InterconnectGroupPhysicalStructure
Returns
Type Description
InterconnectGroup.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllInterconnects(Map<String,InterconnectGroupInterconnect> values)

public InterconnectGroup.Builder putAllInterconnects(Map<String,InterconnectGroupInterconnect> values)

Interconnects in the InterconnectGroup. Keys are arbitrary user-specified strings. Users are encouraged, but not required, to use their preferred format for resource links as keys. Note that there are add-members and remove-members methods in gcloud. The size of this map is limited by an "Interconnects per group" quota.

map<string, .google.cloud.compute.v1.InterconnectGroupInterconnect> interconnects = 520187301;

Parameter
Name Description
values Map<String,InterconnectGroupInterconnect>
Returns
Type Description
InterconnectGroup.Builder

putInterconnects(String key, InterconnectGroupInterconnect value)

public InterconnectGroup.Builder putInterconnects(String key, InterconnectGroupInterconnect value)

Interconnects in the InterconnectGroup. Keys are arbitrary user-specified strings. Users are encouraged, but not required, to use their preferred format for resource links as keys. Note that there are add-members and remove-members methods in gcloud. The size of this map is limited by an "Interconnects per group" quota.

map<string, .google.cloud.compute.v1.InterconnectGroupInterconnect> interconnects = 520187301;

Parameters
Name Description
key String
value InterconnectGroupInterconnect
Returns
Type Description
InterconnectGroup.Builder

putInterconnectsBuilderIfAbsent(String key)

public InterconnectGroupInterconnect.Builder putInterconnectsBuilderIfAbsent(String key)

Interconnects in the InterconnectGroup. Keys are arbitrary user-specified strings. Users are encouraged, but not required, to use their preferred format for resource links as keys. Note that there are add-members and remove-members methods in gcloud. The size of this map is limited by an "Interconnects per group" quota.

map<string, .google.cloud.compute.v1.InterconnectGroupInterconnect> interconnects = 520187301;

Parameter
Name Description
key String
Returns
Type Description
InterconnectGroupInterconnect.Builder

removeInterconnects(String key)

public InterconnectGroup.Builder removeInterconnects(String key)

Interconnects in the InterconnectGroup. Keys are arbitrary user-specified strings. Users are encouraged, but not required, to use their preferred format for resource links as keys. Note that there are add-members and remove-members methods in gcloud. The size of this map is limited by an "Interconnects per group" quota.

map<string, .google.cloud.compute.v1.InterconnectGroupInterconnect> interconnects = 520187301;

Parameter
Name Description
key String
Returns
Type Description
InterconnectGroup.Builder

setConfigured(InterconnectGroupConfigured value)

public InterconnectGroup.Builder setConfigured(InterconnectGroupConfigured value)

optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;

Parameter
Name Description
value InterconnectGroupConfigured
Returns
Type Description
InterconnectGroup.Builder

setConfigured(InterconnectGroupConfigured.Builder builderForValue)

public InterconnectGroup.Builder setConfigured(InterconnectGroupConfigured.Builder builderForValue)

optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;

Parameter
Name Description
builderForValue InterconnectGroupConfigured.Builder
Returns
Type Description
InterconnectGroup.Builder

setCreationTimestamp(String value)

public InterconnectGroup.Builder setCreationTimestamp(String value)

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value String

The creationTimestamp to set.

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

setCreationTimestampBytes(ByteString value)

public InterconnectGroup.Builder setCreationTimestampBytes(ByteString value)

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value ByteString

The bytes for creationTimestamp to set.

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

setDescription(String value)

public InterconnectGroup.Builder setDescription(String value)

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public InterconnectGroup.Builder setDescriptionBytes(ByteString value)

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

setEtag(String value)

public InterconnectGroup.Builder setEtag(String value)

Opaque system-generated token that uniquely identifies the configuration. If provided when patching a configuration in update mode, the provided token must match the current token or the update is rejected. This provides a reliable means of doing read-modify-write (optimistic locking) as described by API 154.

optional string etag = 3123477;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public InterconnectGroup.Builder setEtagBytes(ByteString value)

Opaque system-generated token that uniquely identifies the configuration. If provided when patching a configuration in update mode, the provided token must match the current token or the update is rejected. This provides a reliable means of doing read-modify-write (optimistic locking) as described by API 154.

optional string etag = 3123477;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(long value)

public InterconnectGroup.Builder setId(long value)

[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
InterconnectGroup.Builder

This builder for chaining.

setIntent(InterconnectGroupIntent value)

public InterconnectGroup.Builder setIntent(InterconnectGroupIntent value)

optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;

Parameter
Name Description
value InterconnectGroupIntent
Returns
Type Description
InterconnectGroup.Builder

setIntent(InterconnectGroupIntent.Builder builderForValue)

public InterconnectGroup.Builder setIntent(InterconnectGroupIntent.Builder builderForValue)

optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;

Parameter
Name Description
builderForValue InterconnectGroupIntent.Builder
Returns
Type Description
InterconnectGroup.Builder

setKind(String value)

public InterconnectGroup.Builder setKind(String value)

[Output Only] Type of the resource. Always compute#InterconnectGroup

optional string kind = 3292052;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

setKindBytes(ByteString value)

public InterconnectGroup.Builder setKindBytes(ByteString value)

[Output Only] Type of the resource. Always compute#InterconnectGroup

optional string kind = 3292052;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
InterconnectGroup.Builder

This builder for chaining.

setName(String value)

public InterconnectGroup.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 with RFC1035. 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
InterconnectGroup.Builder

This builder for chaining.

setNameBytes(ByteString value)

public InterconnectGroup.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 with RFC1035. 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
InterconnectGroup.Builder

This builder for chaining.

setPhysicalStructure(InterconnectGroupPhysicalStructure value)

public InterconnectGroup.Builder setPhysicalStructure(InterconnectGroupPhysicalStructure value)

optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;

Parameter
Name Description
value InterconnectGroupPhysicalStructure
Returns
Type Description
InterconnectGroup.Builder

setPhysicalStructure(InterconnectGroupPhysicalStructure.Builder builderForValue)

public InterconnectGroup.Builder setPhysicalStructure(InterconnectGroupPhysicalStructure.Builder builderForValue)

optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;

Parameter
Name Description
builderForValue InterconnectGroupPhysicalStructure.Builder
Returns
Type Description
InterconnectGroup.Builder

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

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

[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
InterconnectGroup.Builder

This builder for chaining.

setSelfLinkBytes(ByteString value)

public InterconnectGroup.Builder setSelfLinkBytes(ByteString value)

[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
InterconnectGroup.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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