- 1.77.0 (latest)
 - 1.75.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.71.0
 - 1.69.0
 - 1.67.0
 - 1.66.0
 - 1.63.0
 - 1.62.0
 - 1.61.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 1.52.0
 - 1.51.0
 - 1.50.0
 - 1.48.0
 - 1.47.0
 - 1.46.0
 - 1.45.0
 - 1.44.0
 - 1.43.0
 - 1.42.0
 - 1.41.0
 - 1.40.0
 - 1.39.0
 - 1.38.0
 - 1.36.0
 - 1.35.0
 - 1.34.0
 - 1.33.0
 - 1.32.0
 - 1.31.0
 - 1.30.0
 - 1.29.0
 - 1.28.0
 - 1.27.0
 - 1.26.0
 - 1.23.0
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.0
 - 1.13.0
 - 1.12.0
 - 1.11.0
 - 1.10.0
 - 1.8.0
 - 1.7.0
 - 1.6.0
 - 1.5.0
 - 1.4.0
 - 1.3.0
 - 1.2.9
 - 1.1.1
 - 1.0.0
 - 0.5.0
 
public static final class Spoke.Builder extends GeneratedMessageV3.Builder<Spoke.Builder> implements SpokeOrBuilderA spoke represents a connection between your Google Cloud network resources and a non-Google-Cloud network. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields:
- linked_vpn_tunnels
 - linked_interconnect_attachments
 - linked_router_appliance_instances
 
 Protobuf type google.cloud.networkconnectivity.v1.Spoke
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Spoke.BuilderImplements
SpokeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Spoke.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Spoke.Builder | 
build()
public Spoke build()| Type | Description | 
| Spoke | 
buildPartial()
public Spoke buildPartial()| Type | Description | 
| Spoke | 
clear()
public Spoke.Builder clear()| Type | Description | 
| Spoke.Builder | 
clearCreateTime()
public Spoke.Builder clearCreateTime()Output only. The time the spoke was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Spoke.Builder | 
clearDescription()
public Spoke.Builder clearDescription()An optional description of the spoke.
 string description = 5;
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Spoke.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| Spoke.Builder | 
clearHub()
public Spoke.Builder clearHub()Immutable. The name of the hub that this spoke is attached to.
 
 string hub = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
 
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
clearLabels()
public Spoke.Builder clearLabels()| Type | Description | 
| Spoke.Builder | 
clearLinkedInterconnectAttachments()
public Spoke.Builder clearLinkedInterconnectAttachments()VLAN attachments that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
 
| Type | Description | 
| Spoke.Builder | 
clearLinkedRouterApplianceInstances()
public Spoke.Builder clearLinkedRouterApplianceInstances()Router appliance instances that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
 
| Type | Description | 
| Spoke.Builder | 
clearLinkedVpnTunnels()
public Spoke.Builder clearLinkedVpnTunnels()VPN tunnels that are associated with the spoke.
 .google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
| Type | Description | 
| Spoke.Builder | 
clearName()
public Spoke.Builder clearName() Immutable. The name of the spoke. Spoke names must be unique. They use the
 following form:
     projects/{project_number}/locations/{region}/spokes/{spoke_id}
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Spoke.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| Spoke.Builder | 
clearState()
public Spoke.Builder clearState()Output only. The current lifecycle state of this spoke.
 
 .google.cloud.networkconnectivity.v1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
clearUniqueId()
public Spoke.Builder clearUniqueId()Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
 string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
clearUpdateTime()
public Spoke.Builder clearUpdateTime()Output only. The time the spoke was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Spoke.Builder | 
clone()
public Spoke.Builder clone()| Type | Description | 
| Spoke.Builder | 
containsLabels(String key)
public boolean containsLabels(String key)Optional labels in key:value format. For more information about labels, see Requirements for labels.
 map<string, string> labels = 4;
| Name | Description | 
| key | String | 
      
| Type | Description | 
| boolean | 
getCreateTime()
public Timestamp getCreateTime()Output only. The time the spoke was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Timestamp | The createTime.  | 
      
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time the spoke was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Builder | 
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time the spoke was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| TimestampOrBuilder | 
getDefaultInstanceForType()
public Spoke getDefaultInstanceForType()| Type | Description | 
| Spoke | 
getDescription()
public String getDescription()An optional description of the spoke.
 string description = 5;
| Type | Description | 
| String | The description.  | 
      
getDescriptionBytes()
public ByteString getDescriptionBytes()An optional description of the spoke.
 string description = 5;
| Type | Description | 
| ByteString | The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getHub()
public String getHub()Immutable. The name of the hub that this spoke is attached to.
 
 string hub = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
 
| Type | Description | 
| String | The hub.  | 
      
getHubBytes()
public ByteString getHubBytes()Immutable. The name of the hub that this spoke is attached to.
 
 string hub = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
 
| Type | Description | 
| ByteString | The bytes for hub.  | 
      
getLabels()
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Type | Description | 
| Map<String,String> | 
getLabelsCount()
public int getLabelsCount()Optional labels in key:value format. For more information about labels, see Requirements for labels.
 map<string, string> labels = 4;
| Type | Description | 
| int | 
getLabelsMap()
public Map<String,String> getLabelsMap()Optional labels in key:value format. For more information about labels, see Requirements for labels.
 map<string, string> labels = 4;
| Type | Description | 
| Map<String,String> | 
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional labels in key:value format. For more information about labels, see Requirements for labels.
 map<string, string> labels = 4;
| Name | Description | 
| key | String | 
      
| defaultValue | String | 
      
| Type | Description | 
| String | 
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional labels in key:value format. For more information about labels, see Requirements for labels.
 map<string, string> labels = 4;
| Name | Description | 
| key | String | 
      
| Type | Description | 
| String | 
getLinkedInterconnectAttachments()
public LinkedInterconnectAttachments getLinkedInterconnectAttachments()VLAN attachments that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
 
| Type | Description | 
| LinkedInterconnectAttachments | The linkedInterconnectAttachments.  | 
      
getLinkedInterconnectAttachmentsBuilder()
public LinkedInterconnectAttachments.Builder getLinkedInterconnectAttachmentsBuilder()VLAN attachments that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
 
| Type | Description | 
| LinkedInterconnectAttachments.Builder | 
getLinkedInterconnectAttachmentsOrBuilder()
public LinkedInterconnectAttachmentsOrBuilder getLinkedInterconnectAttachmentsOrBuilder()VLAN attachments that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
 
| Type | Description | 
| LinkedInterconnectAttachmentsOrBuilder | 
getLinkedRouterApplianceInstances()
public LinkedRouterApplianceInstances getLinkedRouterApplianceInstances()Router appliance instances that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
 
| Type | Description | 
| LinkedRouterApplianceInstances | The linkedRouterApplianceInstances.  | 
      
getLinkedRouterApplianceInstancesBuilder()
public LinkedRouterApplianceInstances.Builder getLinkedRouterApplianceInstancesBuilder()Router appliance instances that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
 
| Type | Description | 
| LinkedRouterApplianceInstances.Builder | 
getLinkedRouterApplianceInstancesOrBuilder()
public LinkedRouterApplianceInstancesOrBuilder getLinkedRouterApplianceInstancesOrBuilder()Router appliance instances that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
 
| Type | Description | 
| LinkedRouterApplianceInstancesOrBuilder | 
getLinkedVpnTunnels()
public LinkedVpnTunnels getLinkedVpnTunnels()VPN tunnels that are associated with the spoke.
 .google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
| Type | Description | 
| LinkedVpnTunnels | The linkedVpnTunnels.  | 
      
getLinkedVpnTunnelsBuilder()
public LinkedVpnTunnels.Builder getLinkedVpnTunnelsBuilder()VPN tunnels that are associated with the spoke.
 .google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
| Type | Description | 
| LinkedVpnTunnels.Builder | 
getLinkedVpnTunnelsOrBuilder()
public LinkedVpnTunnelsOrBuilder getLinkedVpnTunnelsOrBuilder()VPN tunnels that are associated with the spoke.
 .google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
| Type | Description | 
| LinkedVpnTunnelsOrBuilder | 
getMutableLabels()
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Type | Description | 
| Map<String,String> | 
getName()
public String getName() Immutable. The name of the spoke. Spoke names must be unique. They use the
 following form:
     projects/{project_number}/locations/{region}/spokes/{spoke_id}
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Type | Description | 
| String | The name.  | 
      
getNameBytes()
public ByteString getNameBytes() Immutable. The name of the spoke. Spoke names must be unique. They use the
 following form:
     projects/{project_number}/locations/{region}/spokes/{spoke_id}
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Type | Description | 
| ByteString | The bytes for name.  | 
      
getState()
public State getState()Output only. The current lifecycle state of this spoke.
 
 .google.cloud.networkconnectivity.v1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| State | The state.  | 
      
getStateValue()
public int getStateValue()Output only. The current lifecycle state of this spoke.
 
 .google.cloud.networkconnectivity.v1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| int | The enum numeric value on the wire for state.  | 
      
getUniqueId()
public String getUniqueId()Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
 string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description | 
| String | The uniqueId.  | 
      
getUniqueIdBytes()
public ByteString getUniqueIdBytes()Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
 string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description | 
| ByteString | The bytes for uniqueId.  | 
      
getUpdateTime()
public Timestamp getUpdateTime()Output only. The time the spoke was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Timestamp | The updateTime.  | 
      
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The time the spoke was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Builder | 
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time the spoke was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| TimestampOrBuilder | 
hasCreateTime()
public boolean hasCreateTime()Output only. The time the spoke was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| boolean | Whether the createTime field is set.  | 
      
hasLinkedInterconnectAttachments()
public boolean hasLinkedInterconnectAttachments()VLAN attachments that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
 
| Type | Description | 
| boolean | Whether the linkedInterconnectAttachments field is set.  | 
      
hasLinkedRouterApplianceInstances()
public boolean hasLinkedRouterApplianceInstances()Router appliance instances that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
 
| Type | Description | 
| boolean | Whether the linkedRouterApplianceInstances field is set.  | 
      
hasLinkedVpnTunnels()
public boolean hasLinkedVpnTunnels()VPN tunnels that are associated with the spoke.
 .google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
| Type | Description | 
| boolean | Whether the linkedVpnTunnels field is set.  | 
      
hasUpdateTime()
public boolean hasUpdateTime()Output only. The time the spoke was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| boolean | Whether the updateTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Name | Description | 
| number | int | 
      
| Type | Description | 
| MapField | 
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Name | Description | 
| number | int | 
      
| Type | Description | 
| MapField | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeCreateTime(Timestamp value)
public Spoke.Builder mergeCreateTime(Timestamp value)Output only. The time the spoke was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Spoke.Builder | 
mergeFrom(Spoke other)
public Spoke.Builder mergeFrom(Spoke other)| Name | Description | 
| other | Spoke | 
      
| Type | Description | 
| Spoke.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Spoke.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Spoke.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public Spoke.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| Spoke.Builder | 
mergeLinkedInterconnectAttachments(LinkedInterconnectAttachments value)
public Spoke.Builder mergeLinkedInterconnectAttachments(LinkedInterconnectAttachments value)VLAN attachments that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
 
| Name | Description | 
| value | LinkedInterconnectAttachments | 
      
| Type | Description | 
| Spoke.Builder | 
mergeLinkedRouterApplianceInstances(LinkedRouterApplianceInstances value)
public Spoke.Builder mergeLinkedRouterApplianceInstances(LinkedRouterApplianceInstances value)Router appliance instances that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
 
| Name | Description | 
| value | LinkedRouterApplianceInstances | 
      
| Type | Description | 
| Spoke.Builder | 
mergeLinkedVpnTunnels(LinkedVpnTunnels value)
public Spoke.Builder mergeLinkedVpnTunnels(LinkedVpnTunnels value)VPN tunnels that are associated with the spoke.
 .google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
| Name | Description | 
| value | LinkedVpnTunnels | 
      
| Type | Description | 
| Spoke.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Spoke.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Spoke.Builder | 
mergeUpdateTime(Timestamp value)
public Spoke.Builder mergeUpdateTime(Timestamp value)Output only. The time the spoke was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Spoke.Builder | 
putAllLabels(Map<String,String> values)
public Spoke.Builder putAllLabels(Map<String,String> values)Optional labels in key:value format. For more information about labels, see Requirements for labels.
 map<string, string> labels = 4;
| Name | Description | 
| values | Map<String,String> | 
      
| Type | Description | 
| Spoke.Builder | 
putLabels(String key, String value)
public Spoke.Builder putLabels(String key, String value)Optional labels in key:value format. For more information about labels, see Requirements for labels.
 map<string, string> labels = 4;
| Name | Description | 
| key | String | 
      
| value | String | 
      
| Type | Description | 
| Spoke.Builder | 
removeLabels(String key)
public Spoke.Builder removeLabels(String key)Optional labels in key:value format. For more information about labels, see Requirements for labels.
 map<string, string> labels = 4;
| Name | Description | 
| key | String | 
      
| Type | Description | 
| Spoke.Builder | 
setCreateTime(Timestamp value)
public Spoke.Builder setCreateTime(Timestamp value)Output only. The time the spoke was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Spoke.Builder | 
setCreateTime(Timestamp.Builder builderForValue)
public Spoke.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time the spoke was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| Spoke.Builder | 
setDescription(String value)
public Spoke.Builder setDescription(String value)An optional description of the spoke.
 string description = 5;
| Name | Description | 
| value | StringThe description to set.  | 
      
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
setDescriptionBytes(ByteString value)
public Spoke.Builder setDescriptionBytes(ByteString value)An optional description of the spoke.
 string description = 5;
| Name | Description | 
| value | ByteStringThe bytes for description to set.  | 
      
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Spoke.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Spoke.Builder | 
setHub(String value)
public Spoke.Builder setHub(String value)Immutable. The name of the hub that this spoke is attached to.
 
 string hub = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
 
| Name | Description | 
| value | StringThe hub to set.  | 
      
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
setHubBytes(ByteString value)
public Spoke.Builder setHubBytes(ByteString value)Immutable. The name of the hub that this spoke is attached to.
 
 string hub = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
 
| Name | Description | 
| value | ByteStringThe bytes for hub to set.  | 
      
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
setLinkedInterconnectAttachments(LinkedInterconnectAttachments value)
public Spoke.Builder setLinkedInterconnectAttachments(LinkedInterconnectAttachments value)VLAN attachments that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
 
| Name | Description | 
| value | LinkedInterconnectAttachments | 
      
| Type | Description | 
| Spoke.Builder | 
setLinkedInterconnectAttachments(LinkedInterconnectAttachments.Builder builderForValue)
public Spoke.Builder setLinkedInterconnectAttachments(LinkedInterconnectAttachments.Builder builderForValue)VLAN attachments that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
 
| Name | Description | 
| builderForValue | LinkedInterconnectAttachments.Builder | 
      
| Type | Description | 
| Spoke.Builder | 
setLinkedRouterApplianceInstances(LinkedRouterApplianceInstances value)
public Spoke.Builder setLinkedRouterApplianceInstances(LinkedRouterApplianceInstances value)Router appliance instances that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
 
| Name | Description | 
| value | LinkedRouterApplianceInstances | 
      
| Type | Description | 
| Spoke.Builder | 
setLinkedRouterApplianceInstances(LinkedRouterApplianceInstances.Builder builderForValue)
public Spoke.Builder setLinkedRouterApplianceInstances(LinkedRouterApplianceInstances.Builder builderForValue)Router appliance instances that are associated with the spoke.
 
 .google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
 
| Name | Description | 
| builderForValue | LinkedRouterApplianceInstances.Builder | 
      
| Type | Description | 
| Spoke.Builder | 
setLinkedVpnTunnels(LinkedVpnTunnels value)
public Spoke.Builder setLinkedVpnTunnels(LinkedVpnTunnels value)VPN tunnels that are associated with the spoke.
 .google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
| Name | Description | 
| value | LinkedVpnTunnels | 
      
| Type | Description | 
| Spoke.Builder | 
setLinkedVpnTunnels(LinkedVpnTunnels.Builder builderForValue)
public Spoke.Builder setLinkedVpnTunnels(LinkedVpnTunnels.Builder builderForValue)VPN tunnels that are associated with the spoke.
 .google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
| Name | Description | 
| builderForValue | LinkedVpnTunnels.Builder | 
      
| Type | Description | 
| Spoke.Builder | 
setName(String value)
public Spoke.Builder setName(String value) Immutable. The name of the spoke. Spoke names must be unique. They use the
 following form:
     projects/{project_number}/locations/{region}/spokes/{spoke_id}
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Name | Description | 
| value | StringThe name to set.  | 
      
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Spoke.Builder setNameBytes(ByteString value) Immutable. The name of the spoke. Spoke names must be unique. They use the
 following form:
     projects/{project_number}/locations/{region}/spokes/{spoke_id}
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Name | Description | 
| value | ByteStringThe bytes for name to set.  | 
      
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Spoke.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| Spoke.Builder | 
setState(State value)
public Spoke.Builder setState(State value)Output only. The current lifecycle state of this spoke.
 
 .google.cloud.networkconnectivity.v1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | StateThe state to set.  | 
      
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
setStateValue(int value)
public Spoke.Builder setStateValue(int value)Output only. The current lifecycle state of this spoke.
 
 .google.cloud.networkconnectivity.v1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | intThe enum numeric value on the wire for state to set.  | 
      
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
setUniqueId(String value)
public Spoke.Builder setUniqueId(String value)Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
 string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description | 
| value | StringThe uniqueId to set.  | 
      
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
setUniqueIdBytes(ByteString value)
public Spoke.Builder setUniqueIdBytes(ByteString value)Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
 string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description | 
| value | ByteStringThe bytes for uniqueId to set.  | 
      
| Type | Description | 
| Spoke.Builder | This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Spoke.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Spoke.Builder | 
setUpdateTime(Timestamp value)
public Spoke.Builder setUpdateTime(Timestamp value)Output only. The time the spoke was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Spoke.Builder | 
setUpdateTime(Timestamp.Builder builderForValue)
public Spoke.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The time the spoke was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| Spoke.Builder |