Interface PolicyBasedRouteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PolicyBasedRoute,PolicyBasedRoute.Builder
@Generated
public interface PolicyBasedRouteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) User-defined labels.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Required.Required.Optional.Optional.getKind()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intUser-defined labels.User-defined labels.getLabelsOrDefault(String key, String defaultValue) User-defined labels.getLabelsOrThrow(String key) User-defined labels.getName()Immutable.com.google.protobuf.ByteStringImmutable.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Optional.intOptional.intOptional.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.Optional.getWarnings(int index) Output only.intOutput only.Output only.getWarningsOrBuilder(int index) Output only.List<? extends PolicyBasedRoute.WarningsOrBuilder>Output only.booleanOutput only.booleanRequired.booleanOptional.booleanOptional.booleanOptional.booleanOutput only.booleanOptional.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
-
hasVirtualMachine
boolean hasVirtualMachine()Optional. VM instances that this policy-based route applies to.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the virtualMachine field is set.
-
getVirtualMachine
PolicyBasedRoute.VirtualMachine getVirtualMachine()Optional. VM instances that this policy-based route applies to.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The virtualMachine.
-
getVirtualMachineOrBuilder
PolicyBasedRoute.VirtualMachineOrBuilder getVirtualMachineOrBuilder()Optional. VM instances that this policy-based route applies to.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; -
hasInterconnectAttachment
boolean hasInterconnectAttachment()Optional. The interconnect attachments that this policy-based route applies to.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the interconnectAttachment field is set.
-
getInterconnectAttachment
PolicyBasedRoute.InterconnectAttachment getInterconnectAttachment()Optional. The interconnect attachments that this policy-based route applies to.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The interconnectAttachment.
-
getInterconnectAttachmentOrBuilder
PolicyBasedRoute.InterconnectAttachmentOrBuilder getInterconnectAttachmentOrBuilder()Optional. The interconnect attachments that this policy-based route applies to.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; -
hasNextHopIlbIp
boolean hasNextHopIlbIp()Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.
string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the nextHopIlbIp field is set.
-
getNextHopIlbIp
String getNextHopIlbIp()Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.
string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The nextHopIlbIp.
-
getNextHopIlbIpBytes
com.google.protobuf.ByteString getNextHopIlbIpBytes()Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.
string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for nextHopIlbIp.
-
hasNextHopOtherRoutes
boolean hasNextHopOtherRoutes()Optional. Other routes that will be referenced to determine the next hop of the packet.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.OtherRoutes next_hop_other_routes = 21 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the nextHopOtherRoutes field is set.
-
getNextHopOtherRoutesValue
int getNextHopOtherRoutesValue()Optional. Other routes that will be referenced to determine the next hop of the packet.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.OtherRoutes next_hop_other_routes = 21 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for nextHopOtherRoutes.
-
getNextHopOtherRoutes
PolicyBasedRoute.OtherRoutes getNextHopOtherRoutes()Optional. Other routes that will be referenced to determine the next hop of the packet.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.OtherRoutes next_hop_other_routes = 21 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The nextHopOtherRoutes.
-
getName
String getName()Immutable. Identifier. A unique name of the resource in the form of `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Immutable. Identifier. A unique name of the resource in the form of `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. Time when the policy-based route 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. Time when the policy-based route 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. Time when the policy-based route was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Time when the policy-based route was 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. Time when the policy-based route was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when the policy-based route was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()User-defined labels.
map<string, string> labels = 4; -
containsLabels
User-defined labels.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
User-defined labels.
map<string, string> labels = 4; -
getLabelsOrDefault
User-defined labels.
map<string, string> labels = 4; -
getLabelsOrThrow
User-defined labels.
map<string, string> labels = 4; -
getDescription
String getDescription()Optional. An optional description of this resource. Provide this field when you create the resource.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. An optional description of this resource. Provide this field when you create the resource.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
getNetwork
String getNetwork()Required. Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()Required. Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for network.
-
hasFilter
boolean hasFilter()Required. The filter to match L4 traffic.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the filter field is set.
-
getFilter
PolicyBasedRoute.Filter getFilter()Required. The filter to match L4 traffic.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The filter.
-
getFilterOrBuilder
PolicyBasedRoute.FilterOrBuilder getFilterOrBuilder()Required. The filter to match L4 traffic.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; -
getPriority
int getPriority()Optional. The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
int32 priority = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The priority.
-
getWarningsList
List<PolicyBasedRoute.Warnings> getWarningsList()Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWarnings
Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWarningsCount
int getWarningsCount()Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWarningsOrBuilderList
List<? extends PolicyBasedRoute.WarningsOrBuilder> getWarningsOrBuilderList()Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWarningsOrBuilder
Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSelfLink
String getSelfLink()Output only. Server-defined fully-qualified URL for this resource.
string self_link = 15 [(.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 = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for selfLink.
-
getKind
String getKind()Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.
string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.
string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for kind.
-
getTargetCase
PolicyBasedRoute.TargetCase getTargetCase() -
getNextHopCase
PolicyBasedRoute.NextHopCase getNextHopCase()
-