Interface HubOrBuilder

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

    public interface HubOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

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

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

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

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

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Time when the Hub was created.
         
        .google.protobuf.Timestamp create_time = 2;
      • hasUpdateTime

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

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

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Time when the Hub 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 hub resource.
         
        string description = 5;
        Returns:
        The description.
      • getDescriptionBytes

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

        List<String> getSpokesList()
         Output only. A list of the URIs of all attached spokes
         
        repeated string spokes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        A list containing the spokes.
      • getSpokesCount

        int getSpokesCount()
         Output only. A list of the URIs of all attached spokes
         
        repeated string spokes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The count of spokes.
      • getSpokes

        String getSpokes​(int index)
         Output only. A list of the URIs of all attached spokes
         
        repeated string spokes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        index - The index of the element to return.
        Returns:
        The spokes at the given index.
      • getSpokesBytes

        com.google.protobuf.ByteString getSpokesBytes​(int index)
         Output only. A list of the URIs of all attached spokes
         
        repeated string spokes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the spokes at the given index.
      • getUniqueId

        String getUniqueId()
         Output only. Google-generated UUID for this resource. This is unique across all Hub
         resources. If a Hub resource is deleted and another with the same name is
         created, it gets a different unique_id.
         
        string unique_id = 8 [(.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 Hub
         resources. If a Hub resource is deleted and another with the same name is
         created, it gets a different unique_id.
         
        string unique_id = 8 [(.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 = 9 [(.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.