Interface SpokeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Spoke, Spoke.Builder

@Generated public interface SpokeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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 pair 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 pair 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.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional labels in key-value pair 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 pair 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 pair 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()
       Optional. An optional description of the spoke.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. An optional description of the spoke.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      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.
    • getGroup

      String getGroup()
       Optional. The name of the group that this spoke is associated with.
       
      string group = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The group.
    • getGroupBytes

      com.google.protobuf.ByteString getGroupBytes()
       Optional. The name of the group that this spoke is associated with.
       
      string group = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for group.
    • hasLinkedVpnTunnels

      boolean hasLinkedVpnTunnels()
       Optional. VPN tunnels that are associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedVpnTunnels linked_vpn_tunnels = 17 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the linkedVpnTunnels field is set.
    • getLinkedVpnTunnels

      LinkedVpnTunnels getLinkedVpnTunnels()
       Optional. VPN tunnels that are associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedVpnTunnels linked_vpn_tunnels = 17 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The linkedVpnTunnels.
    • getLinkedVpnTunnelsOrBuilder

      LinkedVpnTunnelsOrBuilder getLinkedVpnTunnelsOrBuilder()
       Optional. VPN tunnels that are associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedVpnTunnels linked_vpn_tunnels = 17 [(.google.api.field_behavior) = OPTIONAL];
    • hasLinkedInterconnectAttachments

      boolean hasLinkedInterconnectAttachments()
       Optional. VLAN attachments that are associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedInterconnectAttachments linked_interconnect_attachments = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the linkedInterconnectAttachments field is set.
    • getLinkedInterconnectAttachments

      LinkedInterconnectAttachments getLinkedInterconnectAttachments()
       Optional. VLAN attachments that are associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedInterconnectAttachments linked_interconnect_attachments = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The linkedInterconnectAttachments.
    • getLinkedInterconnectAttachmentsOrBuilder

      LinkedInterconnectAttachmentsOrBuilder getLinkedInterconnectAttachmentsOrBuilder()
       Optional. VLAN attachments that are associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedInterconnectAttachments linked_interconnect_attachments = 18 [(.google.api.field_behavior) = OPTIONAL];
    • hasLinkedRouterApplianceInstances

      boolean hasLinkedRouterApplianceInstances()
       Optional. Router appliance instances that are associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedRouterApplianceInstances linked_router_appliance_instances = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the linkedRouterApplianceInstances field is set.
    • getLinkedRouterApplianceInstances

      LinkedRouterApplianceInstances getLinkedRouterApplianceInstances()
       Optional. Router appliance instances that are associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedRouterApplianceInstances linked_router_appliance_instances = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The linkedRouterApplianceInstances.
    • getLinkedRouterApplianceInstancesOrBuilder

      LinkedRouterApplianceInstancesOrBuilder getLinkedRouterApplianceInstancesOrBuilder()
       Optional. Router appliance instances that are associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedRouterApplianceInstances linked_router_appliance_instances = 19 [(.google.api.field_behavior) = OPTIONAL];
    • hasLinkedVpcNetwork

      boolean hasLinkedVpcNetwork()
       Optional. VPC network that is associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedVpcNetwork linked_vpc_network = 20 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the linkedVpcNetwork field is set.
    • getLinkedVpcNetwork

      LinkedVpcNetwork getLinkedVpcNetwork()
       Optional. VPC network that is associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedVpcNetwork linked_vpc_network = 20 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The linkedVpcNetwork.
    • getLinkedVpcNetworkOrBuilder

      LinkedVpcNetworkOrBuilder getLinkedVpcNetworkOrBuilder()
       Optional. VPC network that is associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedVpcNetwork linked_vpc_network = 20 [(.google.api.field_behavior) = OPTIONAL];
    • hasGateway

      boolean hasGateway()
       Optional. This is a gateway that can apply specialized processing to
       traffic going through it.
       
      .google.cloud.networkconnectivity.v1beta.Gateway gateway = 24 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the gateway field is set.
    • getGateway

      Gateway getGateway()
       Optional. This is a gateway that can apply specialized processing to
       traffic going through it.
       
      .google.cloud.networkconnectivity.v1beta.Gateway gateway = 24 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The gateway.
    • getGatewayOrBuilder

      GatewayOrBuilder getGatewayOrBuilder()
       Optional. This is a gateway that can apply specialized processing to
       traffic going through it.
       
      .google.cloud.networkconnectivity.v1beta.Gateway gateway = 24 [(.google.api.field_behavior) = OPTIONAL];
    • hasLinkedProducerVpcNetwork

      boolean hasLinkedProducerVpcNetwork()
       Optional. The linked producer VPC that is associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetwork linked_producer_vpc_network = 26 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the linkedProducerVpcNetwork field is set.
    • getLinkedProducerVpcNetwork

      LinkedProducerVpcNetwork getLinkedProducerVpcNetwork()
       Optional. The linked producer VPC that is associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetwork linked_producer_vpc_network = 26 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The linkedProducerVpcNetwork.
    • getLinkedProducerVpcNetworkOrBuilder

      LinkedProducerVpcNetworkOrBuilder getLinkedProducerVpcNetworkOrBuilder()
       Optional. The linked producer VPC that is associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetwork linked_producer_vpc_network = 26 [(.google.api.field_behavior) = OPTIONAL];
    • 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.v1beta.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.v1beta.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getReasonsList

      List<Spoke.StateReason> getReasonsList()
       Output only. The reasons for current state of the spoke.
       
      repeated .google.cloud.networkconnectivity.v1beta.Spoke.StateReason reasons = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getReasons

      Spoke.StateReason getReasons(int index)
       Output only. The reasons for current state of the spoke.
       
      repeated .google.cloud.networkconnectivity.v1beta.Spoke.StateReason reasons = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getReasonsCount

      int getReasonsCount()
       Output only. The reasons for current state of the spoke.
       
      repeated .google.cloud.networkconnectivity.v1beta.Spoke.StateReason reasons = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getReasonsOrBuilderList

      List<? extends Spoke.StateReasonOrBuilder> getReasonsOrBuilderList()
       Output only. The reasons for current state of the spoke.
       
      repeated .google.cloud.networkconnectivity.v1beta.Spoke.StateReason reasons = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getReasonsOrBuilder

      Spoke.StateReasonOrBuilder getReasonsOrBuilder(int index)
       Output only. The reasons for current state of the spoke.
       
      repeated .google.cloud.networkconnectivity.v1beta.Spoke.StateReason reasons = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSpokeTypeValue

      int getSpokeTypeValue()
       Output only. The type of resource associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.SpokeType spoke_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for spokeType.
    • getSpokeType

      SpokeType getSpokeType()
       Output only. The type of resource associated with the spoke.
       
      .google.cloud.networkconnectivity.v1beta.SpokeType spoke_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The spokeType.
    • getEtag

      String getEtag()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 27 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 27 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for etag.
    • getFieldPathsPendingUpdateList

      List<String> getFieldPathsPendingUpdateList()
       Optional. The list of fields waiting for hub administrator's approval.
       
      repeated string field_paths_pending_update = 28 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the fieldPathsPendingUpdate.
    • getFieldPathsPendingUpdateCount

      int getFieldPathsPendingUpdateCount()
       Optional. The list of fields waiting for hub administrator's approval.
       
      repeated string field_paths_pending_update = 28 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of fieldPathsPendingUpdate.
    • getFieldPathsPendingUpdate

      String getFieldPathsPendingUpdate(int index)
       Optional. The list of fields waiting for hub administrator's approval.
       
      repeated string field_paths_pending_update = 28 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The fieldPathsPendingUpdate at the given index.
    • getFieldPathsPendingUpdateBytes

      com.google.protobuf.ByteString getFieldPathsPendingUpdateBytes(int index)
       Optional. The list of fields waiting for hub administrator's approval.
       
      repeated string field_paths_pending_update = 28 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the fieldPathsPendingUpdate at the given index.