- 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 is an abstraction of a network attachment being attached to a Hub. A Spoke can be underlying a VPN tunnel, a VLAN (interconnect) attachment, a Router appliance, etc.
 Protobuf type google.cloud.networkconnectivity.v1alpha1.Spoke
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Spoke.BuilderImplements
SpokeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllLinkedInterconnectAttachments(Iterable<String> values)
public Spoke.Builder addAllLinkedInterconnectAttachments(Iterable<String> values)The URIs of linked interconnect attachment resources
 
 repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The linkedInterconnectAttachments to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
addAllLinkedRouterApplianceInstances(Iterable<? extends RouterApplianceInstance> values)
public Spoke.Builder addAllLinkedRouterApplianceInstances(Iterable<? extends RouterApplianceInstance> values)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance> | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
addAllLinkedVpnTunnels(Iterable<String> values)
public Spoke.Builder addAllLinkedVpnTunnels(Iterable<String> values)The URIs of linked VPN tunnel resources
 repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The linkedVpnTunnels to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
addLinkedInterconnectAttachments(String value)
public Spoke.Builder addLinkedInterconnectAttachments(String value)The URIs of linked interconnect attachment resources
 
 repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe linkedInterconnectAttachments to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
addLinkedInterconnectAttachmentsBytes(ByteString value)
public Spoke.Builder addLinkedInterconnectAttachmentsBytes(ByteString value)The URIs of linked interconnect attachment resources
 
 repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the linkedInterconnectAttachments to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
addLinkedRouterApplianceInstances(RouterApplianceInstance value)
public Spoke.Builder addLinkedRouterApplianceInstances(RouterApplianceInstance value)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | RouterApplianceInstance | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
addLinkedRouterApplianceInstances(RouterApplianceInstance.Builder builderForValue)
public Spoke.Builder addLinkedRouterApplianceInstances(RouterApplianceInstance.Builder builderForValue)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | RouterApplianceInstance.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
addLinkedRouterApplianceInstances(int index, RouterApplianceInstance value)
public Spoke.Builder addLinkedRouterApplianceInstances(int index, RouterApplianceInstance value)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | RouterApplianceInstance | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
addLinkedRouterApplianceInstances(int index, RouterApplianceInstance.Builder builderForValue)
public Spoke.Builder addLinkedRouterApplianceInstances(int index, RouterApplianceInstance.Builder builderForValue)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | RouterApplianceInstance.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
addLinkedRouterApplianceInstancesBuilder()
public RouterApplianceInstance.Builder addLinkedRouterApplianceInstancesBuilder()The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Returns | |
|---|---|
| Type | Description | 
| RouterApplianceInstance.Builder | |
addLinkedRouterApplianceInstancesBuilder(int index)
public RouterApplianceInstance.Builder addLinkedRouterApplianceInstancesBuilder(int index)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| RouterApplianceInstance.Builder | |
addLinkedVpnTunnels(String value)
public Spoke.Builder addLinkedVpnTunnels(String value)The URIs of linked VPN tunnel resources
 repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe linkedVpnTunnels to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
addLinkedVpnTunnelsBytes(ByteString value)
public Spoke.Builder addLinkedVpnTunnelsBytes(ByteString value)The URIs of linked VPN tunnel resources
 repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the linkedVpnTunnels to add. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Spoke.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
build()
public Spoke build()| Returns | |
|---|---|
| Type | Description | 
| Spoke | |
buildPartial()
public Spoke buildPartial()| Returns | |
|---|---|
| Type | Description | 
| Spoke | |
clear()
public Spoke.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
clearCreateTime()
public Spoke.Builder clearCreateTime()The time when the Spoke was created.
 .google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
clearDescription()
public Spoke.Builder clearDescription()Short description of the spoke resource
 string description = 5;
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public Spoke.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
clearHub()
public Spoke.Builder clearHub()The resource URL of the hub resource that the spoke is attached to
 string hub = 6 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
clearLabels()
public Spoke.Builder clearLabels()| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
clearLinkedInterconnectAttachments()
public Spoke.Builder clearLinkedInterconnectAttachments()The URIs of linked interconnect attachment resources
 
 repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
clearLinkedRouterApplianceInstances()
public Spoke.Builder clearLinkedRouterApplianceInstances()The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
clearLinkedVpnTunnels()
public Spoke.Builder clearLinkedVpnTunnels()The URIs of linked VPN tunnel resources
 repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
clearName()
public Spoke.Builder clearName()Immutable. The name of a Spoke resource.
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public Spoke.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
clearState()
public Spoke.Builder clearState()Output only. The current lifecycle state of this Hub.
 
 .google.cloud.networkconnectivity.v1alpha1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
clearUniqueId()
public Spoke.Builder clearUniqueId()Output only. Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
 string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
clearUpdateTime()
public Spoke.Builder clearUpdateTime()The time when the Spoke was updated.
 .google.protobuf.Timestamp update_time = 3;
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
clone()
public Spoke.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
containsLabels(String key)
public boolean containsLabels(String key)User-defined labels.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| boolean | |
getCreateTime()
public Timestamp getCreateTime()The time when the Spoke was created.
 .google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The createTime. | 
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()The time when the Spoke was created.
 .google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()The time when the Spoke was created.
 .google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDefaultInstanceForType()
public Spoke getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| Spoke | |
getDescription()
public String getDescription()Short description of the spoke resource
 string description = 5;
| Returns | |
|---|---|
| Type | Description | 
| String | The description. | 
getDescriptionBytes()
public ByteString getDescriptionBytes()Short description of the spoke resource
 string description = 5;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for description. | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getHub()
public String getHub()The resource URL of the hub resource that the spoke is attached to
 string hub = 6 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
| String | The hub. | 
getHubBytes()
public ByteString getHubBytes()The resource URL of the hub resource that the spoke is attached to
 string hub = 6 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for hub. | 
getLabels()
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getLabelsCount()
public int getLabelsCount()User-defined labels.
 map<string, string> labels = 4;
| Returns | |
|---|---|
| Type | Description | 
| int | |
getLabelsMap()
public Map<String,String> getLabelsMap()User-defined labels.
 map<string, string> labels = 4;
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)User-defined labels.
 map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description | 
| key | String | 
| defaultValue | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)User-defined labels.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getLinkedInterconnectAttachments(int index)
public String getLinkedInterconnectAttachments(int index)The URIs of linked interconnect attachment resources
 
 repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| String | The linkedInterconnectAttachments at the given index. | 
getLinkedInterconnectAttachmentsBytes(int index)
public ByteString getLinkedInterconnectAttachmentsBytes(int index)The URIs of linked interconnect attachment resources
 
 repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes of the linkedInterconnectAttachments at the given index. | 
getLinkedInterconnectAttachmentsCount()
public int getLinkedInterconnectAttachmentsCount()The URIs of linked interconnect attachment resources
 
 repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| int | The count of linkedInterconnectAttachments. | 
getLinkedInterconnectAttachmentsList()
public ProtocolStringList getLinkedInterconnectAttachmentsList()The URIs of linked interconnect attachment resources
 
 repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the linkedInterconnectAttachments. | 
getLinkedRouterApplianceInstances(int index)
public RouterApplianceInstance getLinkedRouterApplianceInstances(int index)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| RouterApplianceInstance | |
getLinkedRouterApplianceInstancesBuilder(int index)
public RouterApplianceInstance.Builder getLinkedRouterApplianceInstancesBuilder(int index)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| RouterApplianceInstance.Builder | |
getLinkedRouterApplianceInstancesBuilderList()
public List<RouterApplianceInstance.Builder> getLinkedRouterApplianceInstancesBuilderList()The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Returns | |
|---|---|
| Type | Description | 
| List<Builder> | |
getLinkedRouterApplianceInstancesCount()
public int getLinkedRouterApplianceInstancesCount()The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getLinkedRouterApplianceInstancesList()
public List<RouterApplianceInstance> getLinkedRouterApplianceInstancesList()The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Returns | |
|---|---|
| Type | Description | 
| List<RouterApplianceInstance> | |
getLinkedRouterApplianceInstancesOrBuilder(int index)
public RouterApplianceInstanceOrBuilder getLinkedRouterApplianceInstancesOrBuilder(int index)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| RouterApplianceInstanceOrBuilder | |
getLinkedRouterApplianceInstancesOrBuilderList()
public List<? extends RouterApplianceInstanceOrBuilder> getLinkedRouterApplianceInstancesOrBuilderList()The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstanceOrBuilder> | |
getLinkedVpnTunnels(int index)
public String getLinkedVpnTunnels(int index)The URIs of linked VPN tunnel resources
 repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| String | The linkedVpnTunnels at the given index. | 
getLinkedVpnTunnelsBytes(int index)
public ByteString getLinkedVpnTunnelsBytes(int index)The URIs of linked VPN tunnel resources
 repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes of the linkedVpnTunnels at the given index. | 
getLinkedVpnTunnelsCount()
public int getLinkedVpnTunnelsCount()The URIs of linked VPN tunnel resources
 repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| int | The count of linkedVpnTunnels. | 
getLinkedVpnTunnelsList()
public ProtocolStringList getLinkedVpnTunnelsList()The URIs of linked VPN tunnel resources
 repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the linkedVpnTunnels. | 
getMutableLabels()
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getName()
public String getName()Immutable. The name of a Spoke resource.
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes()Immutable. The name of a Spoke resource.
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getState()
public State getState()Output only. The current lifecycle state of this Hub.
 
 .google.cloud.networkconnectivity.v1alpha1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| State | The state. | 
getStateValue()
public int getStateValue()Output only. The current lifecycle state of this Hub.
 
 .google.cloud.networkconnectivity.v1alpha1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for state. | 
getUniqueId()
public String getUniqueId()Output only. Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
 string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The uniqueId. | 
getUniqueIdBytes()
public ByteString getUniqueIdBytes()Output only. Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
 string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for uniqueId. | 
getUpdateTime()
public Timestamp getUpdateTime()The time when the Spoke was updated.
 .google.protobuf.Timestamp update_time = 3;
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The updateTime. | 
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()The time when the Spoke was updated.
 .google.protobuf.Timestamp update_time = 3;
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()The time when the Spoke was updated.
 .google.protobuf.Timestamp update_time = 3;
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
hasCreateTime()
public boolean hasCreateTime()The time when the Spoke was created.
 .google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the createTime field is set. | 
hasUpdateTime()
public boolean hasUpdateTime()The time when the Spoke was updated.
 .google.protobuf.Timestamp update_time = 3;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the updateTime field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Parameter | |
|---|---|
| Name | Description | 
| number | int | 
| Returns | |
|---|---|
| Type | Description | 
| MapField | |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Parameter | |
|---|---|
| Name | Description | 
| number | int | 
| Returns | |
|---|---|
| Type | Description | 
| MapField | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeCreateTime(Timestamp value)
public Spoke.Builder mergeCreateTime(Timestamp value)The time when the Spoke was created.
 .google.protobuf.Timestamp create_time = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
mergeFrom(Spoke other)
public Spoke.Builder mergeFrom(Spoke other)| Parameter | |
|---|---|
| Name | Description | 
| other | Spoke | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Spoke.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public Spoke.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Spoke.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
mergeUpdateTime(Timestamp value)
public Spoke.Builder mergeUpdateTime(Timestamp value)The time when the Spoke was updated.
 .google.protobuf.Timestamp update_time = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
putAllLabels(Map<String,String> values)
public Spoke.Builder putAllLabels(Map<String,String> values)User-defined labels.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| values | Map<String,String> | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
putLabels(String key, String value)
public Spoke.Builder putLabels(String key, String value)User-defined labels.
 map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description | 
| key | String | 
| value | String | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
removeLabels(String key)
public Spoke.Builder removeLabels(String key)User-defined labels.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
removeLinkedRouterApplianceInstances(int index)
public Spoke.Builder removeLinkedRouterApplianceInstances(int index)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
setCreateTime(Timestamp value)
public Spoke.Builder setCreateTime(Timestamp value)The time when the Spoke was created.
 .google.protobuf.Timestamp create_time = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
setCreateTime(Timestamp.Builder builderForValue)
public Spoke.Builder setCreateTime(Timestamp.Builder builderForValue)The time when the Spoke was created.
 .google.protobuf.Timestamp create_time = 2;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
setDescription(String value)
public Spoke.Builder setDescription(String value)Short description of the spoke resource
 string description = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
setDescriptionBytes(ByteString value)
public Spoke.Builder setDescriptionBytes(ByteString value)Short description of the spoke resource
 string description = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public Spoke.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
setHub(String value)
public Spoke.Builder setHub(String value)The resource URL of the hub resource that the spoke is attached to
 string hub = 6 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe hub to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
setHubBytes(ByteString value)
public Spoke.Builder setHubBytes(ByteString value)The resource URL of the hub resource that the spoke is attached to
 string hub = 6 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for hub to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
setLinkedInterconnectAttachments(int index, String value)
public Spoke.Builder setLinkedInterconnectAttachments(int index, String value)The URIs of linked interconnect attachment resources
 
 repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe linkedInterconnectAttachments to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
setLinkedRouterApplianceInstances(int index, RouterApplianceInstance value)
public Spoke.Builder setLinkedRouterApplianceInstances(int index, RouterApplianceInstance value)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | RouterApplianceInstance | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
setLinkedRouterApplianceInstances(int index, RouterApplianceInstance.Builder builderForValue)
public Spoke.Builder setLinkedRouterApplianceInstances(int index, RouterApplianceInstance.Builder builderForValue)The URIs of linked Router appliance resources
 
 repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | RouterApplianceInstance.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
setLinkedVpnTunnels(int index, String value)
public Spoke.Builder setLinkedVpnTunnels(int index, String value)The URIs of linked VPN tunnel resources
 repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe linkedVpnTunnels to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
setName(String value)
public Spoke.Builder setName(String value)Immutable. The name of a Spoke resource.
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public Spoke.Builder setNameBytes(ByteString value)Immutable. The name of a Spoke resource.
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
setState(State value)
public Spoke.Builder setState(State value)Output only. The current lifecycle state of this Hub.
 
 .google.cloud.networkconnectivity.v1alpha1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StateThe state to set. | 
| Returns | |
|---|---|
| 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 Hub.
 
 .google.cloud.networkconnectivity.v1alpha1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
setUniqueId(String value)
public Spoke.Builder setUniqueId(String value)Output only. Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
 string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe uniqueId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
setUniqueIdBytes(ByteString value)
public Spoke.Builder setUniqueIdBytes(ByteString value)Output only. Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
 string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for uniqueId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final Spoke.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
setUpdateTime(Timestamp value)
public Spoke.Builder setUpdateTime(Timestamp value)The time when the Spoke was updated.
 .google.protobuf.Timestamp update_time = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |
setUpdateTime(Timestamp.Builder builderForValue)
public Spoke.Builder setUpdateTime(Timestamp.Builder builderForValue)The time when the Spoke was updated.
 .google.protobuf.Timestamp update_time = 3;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Spoke.Builder | |