Interface GroupOrBuilder

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

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

    • getName

      String getName()
       Immutable. The name of the group. Group names must be unique. They
       use the following form:
       `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Immutable. The name of the group. Group names must be unique. They
       use the following form:
       `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The time the group 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 group 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 group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The time the group 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 group 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 group 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 [(.google.api.field_behavior) = OPTIONAL];
    • 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 [(.google.api.field_behavior) = OPTIONAL];
    • 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 [(.google.api.field_behavior) = OPTIONAL];
    • 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 [(.google.api.field_behavior) = OPTIONAL];
    • 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 [(.google.api.field_behavior) = OPTIONAL];
    • getDescription

      String getDescription()
       Optional. The description of the group.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The description of the group.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for description.
    • getUid

      String getUid()
       Output only. The Google-generated UUID for the group. This value is unique
       across all group resources. If a group is deleted and
       another with the same name is created, the new route table is assigned
       a different unique_id.
       
      string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       Output only. The Google-generated UUID for the group. This value is unique
       across all group resources. If a group is deleted and
       another with the same name is created, the new route table is assigned
       a different unique_id.
       
      string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for uid.
    • getStateValue

      int getStateValue()
       Output only. The current lifecycle state of this group.
       
      .google.cloud.networkconnectivity.v1beta.State state = 7 [(.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 group.
       
      .google.cloud.networkconnectivity.v1beta.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • hasAutoAccept

      boolean hasAutoAccept()
       Optional. The auto-accept setting for this group.
       
      .google.cloud.networkconnectivity.v1beta.AutoAccept auto_accept = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the autoAccept field is set.
    • getAutoAccept

      AutoAccept getAutoAccept()
       Optional. The auto-accept setting for this group.
       
      .google.cloud.networkconnectivity.v1beta.AutoAccept auto_accept = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The autoAccept.
    • getAutoAcceptOrBuilder

      AutoAcceptOrBuilder getAutoAcceptOrBuilder()
       Optional. The auto-accept setting for this group.
       
      .google.cloud.networkconnectivity.v1beta.AutoAccept auto_accept = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getRouteTable

      String getRouteTable()
       Output only. The name of the route table that corresponds to this group.
       They use the following form:
       `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`
       
      string route_table = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The routeTable.
    • getRouteTableBytes

      com.google.protobuf.ByteString getRouteTableBytes()
       Output only. The name of the route table that corresponds to this group.
       They use the following form:
       `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`
       
      string route_table = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for routeTable.