Package com.google.cloud.compute.v1
Class InterconnectGroup.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectGroup.Builder>
com.google.cloud.compute.v1.InterconnectGroup.Builder
- All Implemented Interfaces:
InterconnectGroupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InterconnectGroup
public static final class InterconnectGroup.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;Output only.An optional description of this resource.Opaque system-generated token that uniquely identifies the configuration.clearId()Output only.optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;Output only.Name of the resource.optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;Output only.booleanInterconnects in the InterconnectGroup.optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEtag()Opaque system-generated token that uniquely identifies the configuration.com.google.protobuf.ByteStringOpaque system-generated token that uniquely identifies the configuration.longgetId()Output only.optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;Deprecated.intInterconnects in the InterconnectGroup.Interconnects in the InterconnectGroup.getInterconnectsOrDefault(String key, InterconnectGroupInterconnect defaultValue) Interconnects in the InterconnectGroup.Interconnects in the InterconnectGroup.getKind()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;Output only.com.google.protobuf.ByteStringOutput only.booleanoptional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;booleanOutput only.booleanAn optional description of this resource.booleanhasEtag()Opaque system-generated token that uniquely identifies the configuration.booleanhasId()Output only.booleanoptional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;booleanhasKind()Output only.booleanhasName()Name of the resource.booleanoptional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanoptional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;mergeFrom(InterconnectGroup other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;Interconnects in the InterconnectGroup.putInterconnects(String key, InterconnectGroupInterconnect value) Interconnects in the InterconnectGroup.Interconnects in the InterconnectGroup.Interconnects in the InterconnectGroup.optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;setConfigured(InterconnectGroupConfigured.Builder builderForValue) optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.Opaque system-generated token that uniquely identifies the configuration.setEtagBytes(com.google.protobuf.ByteString value) Opaque system-generated token that uniquely identifies the configuration.setId(long value) Output only.setIntent(InterconnectGroupIntent value) optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;setIntent(InterconnectGroupIntent.Builder builderForValue) optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.Name of the resource.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;setPhysicalStructure(InterconnectGroupPhysicalStructure.Builder builderForValue) optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectGroup.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectGroup.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectGroup.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectGroup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectGroup.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectGroup.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectGroup.Builder>
-
mergeFrom
public InterconnectGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectGroup.Builder>- Throws:
IOException
-
hasConfigured
public boolean hasConfigured()optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;- Specified by:
hasConfiguredin interfaceInterconnectGroupOrBuilder- Returns:
- Whether the configured field is set.
-
getConfigured
optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;- Specified by:
getConfiguredin interfaceInterconnectGroupOrBuilder- Returns:
- The configured.
-
setConfigured
optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422; -
setConfigured
optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422; -
mergeConfigured
optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422; -
clearConfigured
optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422; -
getConfiguredBuilder
optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422; -
getConfiguredOrBuilder
optional .google.cloud.compute.v1.InterconnectGroupConfigured configured = 295631422;- Specified by:
getConfiguredOrBuilderin interfaceInterconnectGroupOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceInterconnectGroupOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceInterconnectGroupOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceInterconnectGroupOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceInterconnectGroupOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceInterconnectGroupOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceInterconnectGroupOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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 AIP 154.
optional string etag = 3123477;- Specified by:
hasEtagin interfaceInterconnectGroupOrBuilder- Returns:
- Whether the etag field is set.
-
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 AIP 154.
optional string etag = 3123477;- Specified by:
getEtagin interfaceInterconnectGroupOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.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 AIP 154.
optional string etag = 3123477;- Specified by:
getEtagBytesin interfaceInterconnectGroupOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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 AIP 154.
optional string etag = 3123477;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
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 AIP 154.
optional string etag = 3123477;- Returns:
- This builder for chaining.
-
setEtagBytes
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 AIP 154.
optional string etag = 3123477;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceInterconnectGroupOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
getIdin interfaceInterconnectGroupOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasIntent
public boolean hasIntent()optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;- Specified by:
hasIntentin interfaceInterconnectGroupOrBuilder- Returns:
- Whether the intent field is set.
-
getIntent
optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;- Specified by:
getIntentin interfaceInterconnectGroupOrBuilder- Returns:
- The intent.
-
setIntent
optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948; -
setIntent
optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948; -
mergeIntent
optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948; -
clearIntent
optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948; -
getIntentBuilder
optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948; -
getIntentOrBuilder
optional .google.cloud.compute.v1.InterconnectGroupIntent intent = 426849948;- Specified by:
getIntentOrBuilderin interfaceInterconnectGroupOrBuilder
-
getInterconnectsCount
public int getInterconnectsCount()Description copied from interface:InterconnectGroupOrBuilderInterconnects 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;- Specified by:
getInterconnectsCountin interfaceInterconnectGroupOrBuilder
-
containsInterconnects
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;- Specified by:
containsInterconnectsin interfaceInterconnectGroupOrBuilder
-
getInterconnects
Deprecated.UsegetInterconnectsMap()instead.- Specified by:
getInterconnectsin interfaceInterconnectGroupOrBuilder
-
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;- Specified by:
getInterconnectsMapin interfaceInterconnectGroupOrBuilder
-
getInterconnectsOrDefault
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;- Specified by:
getInterconnectsOrDefaultin interfaceInterconnectGroupOrBuilder
-
getInterconnectsOrThrow
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;- Specified by:
getInterconnectsOrThrowin interfaceInterconnectGroupOrBuilder
-
clearInterconnects
-
removeInterconnects
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; -
getMutableInterconnects
Deprecated.Use alternate mutation accessors instead. -
putInterconnects
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; -
putAllInterconnects
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; -
putInterconnectsBuilderIfAbsent
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; -
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Always compute#InterconnectGroup
optional string kind = 3292052;- Specified by:
hasKindin interfaceInterconnectGroupOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Always compute#InterconnectGroup
optional string kind = 3292052;- Specified by:
getKindin interfaceInterconnectGroupOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Always compute#InterconnectGroup
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceInterconnectGroupOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Always compute#InterconnectGroup
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Always compute#InterconnectGroup
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Always compute#InterconnectGroup
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
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]([-a-z0-9]*[a-z0-9])?` 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;- Specified by:
hasNamein interfaceInterconnectGroupOrBuilder- Returns:
- Whether the name field is set.
-
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]([-a-z0-9]*[a-z0-9])?` 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;- Specified by:
getNamein interfaceInterconnectGroupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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]([-a-z0-9]*[a-z0-9])?` 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;- Specified by:
getNameBytesin interfaceInterconnectGroupOrBuilder- Returns:
- The bytes for name.
-
setName
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]([-a-z0-9]*[a-z0-9])?` 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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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]([-a-z0-9]*[a-z0-9])?` 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:
- This builder for chaining.
-
setNameBytes
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]([-a-z0-9]*[a-z0-9])?` 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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasPhysicalStructure
public boolean hasPhysicalStructure()optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;- Specified by:
hasPhysicalStructurein interfaceInterconnectGroupOrBuilder- Returns:
- Whether the physicalStructure field is set.
-
getPhysicalStructure
optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;- Specified by:
getPhysicalStructurein interfaceInterconnectGroupOrBuilder- Returns:
- The physicalStructure.
-
setPhysicalStructure
optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531; -
setPhysicalStructure
public InterconnectGroup.Builder setPhysicalStructure(InterconnectGroupPhysicalStructure.Builder builderForValue) optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531; -
mergePhysicalStructure
optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531; -
clearPhysicalStructure
optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531; -
getPhysicalStructureBuilder
optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531; -
getPhysicalStructureOrBuilder
optional .google.cloud.compute.v1.InterconnectGroupPhysicalStructure physical_structure = 195307531;- Specified by:
getPhysicalStructureOrBuilderin interfaceInterconnectGroupOrBuilder
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceInterconnectGroupOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceInterconnectGroupOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceInterconnectGroupOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-