Interface AddressGroupOrBuilder

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

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

    • getName

      String getName()
       Required. Name of the AddressGroup resource. It matches pattern
       `projects/*/locations/{location}/addressGroups/<address_group>`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. Name of the AddressGroup resource. It matches pattern
       `projects/*/locations/{location}/addressGroups/<address_group>`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.
    • getDescription

      String getDescription()
       Optional. Free-text description of the resource.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Free-text description of the resource.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for description.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

      int getLabelsCount()
       Optional. Set of label tags associated with the AddressGroup resource.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Set of label tags associated with the AddressGroup resource.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Set of label tags associated with the AddressGroup resource.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Set of label tags associated with the AddressGroup resource.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Set of label tags associated with the AddressGroup resource.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getTypeValue

      int getTypeValue()
       Required. The type of the Address Group. Possible values are "IPv4" or
       "IPV6".
       
      .google.cloud.networksecurity.v1.AddressGroup.Type type = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Required. The type of the Address Group. Possible values are "IPv4" or
       "IPV6".
       
      .google.cloud.networksecurity.v1.AddressGroup.Type type = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The type.
    • getItemsList

      List<String> getItemsList()
       Optional. List of items.
       
      repeated string items = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the items.
    • getItemsCount

      int getItemsCount()
       Optional. List of items.
       
      repeated string items = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of items.
    • getItems

      String getItems(int index)
       Optional. List of items.
       
      repeated string items = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The items at the given index.
    • getItemsBytes

      com.google.protobuf.ByteString getItemsBytes(int index)
       Optional. List of items.
       
      repeated string items = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the items at the given index.
    • getCapacity

      int getCapacity()
       Required. Capacity of the Address Group
       
      int32 capacity = 8 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The capacity.
    • getSelfLink

      String getSelfLink()
       Output only. Server-defined fully-qualified URL for this resource.
       
      string self_link = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The selfLink.
    • getSelfLinkBytes

      com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. Server-defined fully-qualified URL for this resource.
       
      string self_link = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for selfLink.
    • getPurposeList

      List<AddressGroup.Purpose> getPurposeList()
       Optional. List of supported purposes of the Address Group.
       
      repeated .google.cloud.networksecurity.v1.AddressGroup.Purpose purpose = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the purpose.
    • getPurposeCount

      int getPurposeCount()
       Optional. List of supported purposes of the Address Group.
       
      repeated .google.cloud.networksecurity.v1.AddressGroup.Purpose purpose = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of purpose.
    • getPurpose

      AddressGroup.Purpose getPurpose(int index)
       Optional. List of supported purposes of the Address Group.
       
      repeated .google.cloud.networksecurity.v1.AddressGroup.Purpose purpose = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The purpose at the given index.
    • getPurposeValueList

      List<Integer> getPurposeValueList()
       Optional. List of supported purposes of the Address Group.
       
      repeated .google.cloud.networksecurity.v1.AddressGroup.Purpose purpose = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the enum numeric values on the wire for purpose.
    • getPurposeValue

      int getPurposeValue(int index)
       Optional. List of supported purposes of the Address Group.
       
      repeated .google.cloud.networksecurity.v1.AddressGroup.Purpose purpose = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of purpose at the given index.