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 Detail

      • getName

        String getName()
         Immutable. The name of a Spoke resource.
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Immutable. The name of a Spoke resource.
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The bytes for name.
      • hasCreateTime

        boolean hasCreateTime()
         The time when the Spoke was created.
         
        .google.protobuf.Timestamp create_time = 2;
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         The time when the Spoke was created.
         
        .google.protobuf.Timestamp create_time = 2;
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         The time when the Spoke was created.
         
        .google.protobuf.Timestamp create_time = 2;
      • hasUpdateTime

        boolean hasUpdateTime()
         The time when the Spoke was updated.
         
        .google.protobuf.Timestamp update_time = 3;
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         The time when the Spoke was updated.
         
        .google.protobuf.Timestamp update_time = 3;
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         The time when the Spoke was updated.
         
        .google.protobuf.Timestamp update_time = 3;
      • getLabelsCount

        int getLabelsCount()
         User-defined labels.
         
        map<string, string> labels = 4;
      • containsLabels

        boolean containsLabels​(String key)
         User-defined labels.
         
        map<string, string> labels = 4;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         User-defined labels.
         
        map<string, string> labels = 4;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         User-defined labels.
         
        map<string, string> labels = 4;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         User-defined labels.
         
        map<string, string> labels = 4;
      • getDescription

        String getDescription()
         Short description of the spoke resource
         
        string description = 5;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         Short description of the spoke resource
         
        string description = 5;
        Returns:
        The bytes for description.
      • getHub

        String getHub()
         The resource URL of the hub resource that the spoke is attached to
         
        string hub = 6 [(.google.api.resource_reference) = { ... }
        Returns:
        The hub.
      • getHubBytes

        com.google.protobuf.ByteString getHubBytes()
         The resource URL of the hub resource that the spoke is attached to
         
        string hub = 6 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for hub.
      • getLinkedVpnTunnelsList

        List<String> getLinkedVpnTunnelsList()
         The URIs of linked VPN tunnel resources
         
        repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
        Returns:
        A list containing the linkedVpnTunnels.
      • getLinkedVpnTunnelsCount

        int getLinkedVpnTunnelsCount()
         The URIs of linked VPN tunnel resources
         
        repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
        Returns:
        The count of linkedVpnTunnels.
      • getLinkedVpnTunnels

        String getLinkedVpnTunnels​(int index)
         The URIs of linked VPN tunnel resources
         
        repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
        Parameters:
        index - The index of the element to return.
        Returns:
        The linkedVpnTunnels at the given index.
      • getLinkedVpnTunnelsBytes

        com.google.protobuf.ByteString getLinkedVpnTunnelsBytes​(int index)
         The URIs of linked VPN tunnel resources
         
        repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the linkedVpnTunnels at the given index.
      • getLinkedInterconnectAttachmentsList

        List<String> getLinkedInterconnectAttachmentsList()
         The URIs of linked interconnect attachment resources
         
        repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
        Returns:
        A list containing the linkedInterconnectAttachments.
      • getLinkedInterconnectAttachmentsCount

        int getLinkedInterconnectAttachmentsCount()
         The URIs of linked interconnect attachment resources
         
        repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
        Returns:
        The count of linkedInterconnectAttachments.
      • getLinkedInterconnectAttachments

        String getLinkedInterconnectAttachments​(int index)
         The URIs of linked interconnect attachment resources
         
        repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
        Parameters:
        index - The index of the element to return.
        Returns:
        The linkedInterconnectAttachments at the given index.
      • getLinkedInterconnectAttachmentsBytes

        com.google.protobuf.ByteString getLinkedInterconnectAttachmentsBytes​(int index)
         The URIs of linked interconnect attachment resources
         
        repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the linkedInterconnectAttachments at the given index.
      • getLinkedRouterApplianceInstancesList

        List<RouterApplianceInstance> getLinkedRouterApplianceInstancesList()
         The URIs of linked Router appliance resources
         
        repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
      • getLinkedRouterApplianceInstances

        RouterApplianceInstance getLinkedRouterApplianceInstances​(int index)
         The URIs of linked Router appliance resources
         
        repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
      • getLinkedRouterApplianceInstancesCount

        int getLinkedRouterApplianceInstancesCount()
         The URIs of linked Router appliance resources
         
        repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
      • getLinkedRouterApplianceInstancesOrBuilderList

        List<? extends RouterApplianceInstanceOrBuilder> getLinkedRouterApplianceInstancesOrBuilderList()
         The URIs of linked Router appliance resources
         
        repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
      • getLinkedRouterApplianceInstancesOrBuilder

        RouterApplianceInstanceOrBuilder getLinkedRouterApplianceInstancesOrBuilder​(int index)
         The URIs of linked Router appliance resources
         
        repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;
      • getUniqueId

        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:
        The uniqueId.
      • getUniqueIdBytes

        com.google.protobuf.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:
        The bytes for uniqueId.
      • getStateValue

        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:
        The enum numeric value on the wire for state.
      • getState

        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:
        The state.