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 Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.getItems(int index) Optional.com.google.protobuf.ByteStringgetItemsBytes(int index) Optional.intOptional.Optional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Required.com.google.protobuf.ByteStringRequired.getPurpose(int index) Optional.intOptional.Optional.intgetPurposeValue(int index) Optional.Optional.Output only.com.google.protobuf.ByteStringOutput only.getType()Required.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
Optional. Set of label tags associated with the AddressGroup resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Set of label tags associated with the AddressGroup resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Set of label tags associated with the AddressGroup resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
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
AddressGroup.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
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
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
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
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.
-