Interface SpokeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Spoke
,Spoke.Builder
public interface SpokeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional labels in key:value format.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
An optional description of the spoke.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of the spoke.String
getHub()
Immutable.com.google.protobuf.ByteString
getHubBytes()
Immutable.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional labels in key:value format.Map<String,String>
getLabelsMap()
Optional labels in key:value format.String
getLabelsOrDefault(String key, String defaultValue)
Optional labels in key:value format.String
getLabelsOrThrow(String key)
Optional labels in key:value format.LinkedInterconnectAttachments
getLinkedInterconnectAttachments()
VLAN attachments that are associated with the spoke.LinkedInterconnectAttachmentsOrBuilder
getLinkedInterconnectAttachmentsOrBuilder()
VLAN attachments that are associated with the spoke.LinkedRouterApplianceInstances
getLinkedRouterApplianceInstances()
Router appliance instances that are associated with the spoke.LinkedRouterApplianceInstancesOrBuilder
getLinkedRouterApplianceInstancesOrBuilder()
Router appliance instances that are associated with the spoke.LinkedVpnTunnels
getLinkedVpnTunnels()
VPN tunnels that are associated with the spoke.LinkedVpnTunnelsOrBuilder
getLinkedVpnTunnelsOrBuilder()
VPN tunnels that are associated with the spoke.String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.State
getState()
Output only.int
getStateValue()
Output only.String
getUniqueId()
Output only.com.google.protobuf.ByteString
getUniqueIdBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasLinkedInterconnectAttachments()
VLAN attachments that are associated with the spoke.boolean
hasLinkedRouterApplianceInstances()
Router appliance instances that are associated with the spoke.boolean
hasLinkedVpnTunnels()
VPN tunnels that are associated with the spoke.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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];
- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time the spoke was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The time the spoke was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the spoke was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The time the spoke was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Output only. The time the spoke was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time the spoke was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsCount
int getLabelsCount()
Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
map<string, string> labels = 4;
-
containsLabels
boolean containsLabels(String key)
Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
map<string, string> labels = 4;
-
getDescription
String getDescription()
An optional description of the spoke.
string description = 5;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
An optional description of the spoke.
string description = 5;
- Returns:
- The bytes for description.
-
getHub
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) = { ... }
- Returns:
- The hub.
-
getHubBytes
com.google.protobuf.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) = { ... }
- Returns:
- The bytes for hub.
-
hasLinkedVpnTunnels
boolean hasLinkedVpnTunnels()
VPN tunnels that are associated with the spoke.
.google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
- Returns:
- Whether the linkedVpnTunnels field is set.
-
getLinkedVpnTunnels
LinkedVpnTunnels getLinkedVpnTunnels()
VPN tunnels that are associated with the spoke.
.google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
- Returns:
- The linkedVpnTunnels.
-
getLinkedVpnTunnelsOrBuilder
LinkedVpnTunnelsOrBuilder getLinkedVpnTunnelsOrBuilder()
VPN tunnels that are associated with the spoke.
.google.cloud.networkconnectivity.v1.LinkedVpnTunnels linked_vpn_tunnels = 17;
-
hasLinkedInterconnectAttachments
boolean hasLinkedInterconnectAttachments()
VLAN attachments that are associated with the spoke.
.google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
- Returns:
- Whether the linkedInterconnectAttachments field is set.
-
getLinkedInterconnectAttachments
LinkedInterconnectAttachments getLinkedInterconnectAttachments()
VLAN attachments that are associated with the spoke.
.google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
- Returns:
- The linkedInterconnectAttachments.
-
getLinkedInterconnectAttachmentsOrBuilder
LinkedInterconnectAttachmentsOrBuilder getLinkedInterconnectAttachmentsOrBuilder()
VLAN attachments that are associated with the spoke.
.google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments linked_interconnect_attachments = 18;
-
hasLinkedRouterApplianceInstances
boolean hasLinkedRouterApplianceInstances()
Router appliance instances that are associated with the spoke.
.google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
- Returns:
- Whether the linkedRouterApplianceInstances field is set.
-
getLinkedRouterApplianceInstances
LinkedRouterApplianceInstances getLinkedRouterApplianceInstances()
Router appliance instances that are associated with the spoke.
.google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
- Returns:
- The linkedRouterApplianceInstances.
-
getLinkedRouterApplianceInstancesOrBuilder
LinkedRouterApplianceInstancesOrBuilder getLinkedRouterApplianceInstancesOrBuilder()
Router appliance instances that are associated with the spoke.
.google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances linked_router_appliance_instances = 19;
-
getUniqueId
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];
- Returns:
- The uniqueId.
-
getUniqueIdBytes
com.google.protobuf.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];
- Returns:
- The bytes for uniqueId.
-
getStateValue
int getStateValue()
Output only. The current lifecycle state of this spoke.
.google.cloud.networkconnectivity.v1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
State getState()
Output only. The current lifecycle state of this spoke.
.google.cloud.networkconnectivity.v1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
-