- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 1.0.0
- 0.5.0
public interface PolicyBasedRouteOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
User-defined labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. Time when the PolicyBasedRoute was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the PolicyBasedRoute was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescription()
public abstract 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 | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getFilter()
public abstract PolicyBasedRoute.Filter getFilter()
Required. The filter to match L4 traffic.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.Filter | The filter. |
getFilterOrBuilder()
public abstract PolicyBasedRoute.FilterOrBuilder getFilterOrBuilder()
Required. The filter to match L4 traffic.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.FilterOrBuilder |
getInterconnectAttachment()
public abstract PolicyBasedRoute.InterconnectAttachment getInterconnectAttachment()
Optional. The interconnect attachments to which this route applies to.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.InterconnectAttachment | The interconnectAttachment. |
getInterconnectAttachmentOrBuilder()
public abstract PolicyBasedRoute.InterconnectAttachmentOrBuilder getInterconnectAttachmentOrBuilder()
Optional. The interconnect attachments to which this route applies to.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.InterconnectAttachmentOrBuilder |
getKind()
public abstract 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 | |
---|---|
Type | Description |
String | The kind. |
getKindBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for kind. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
User-defined labels.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
User-defined labels.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
User-defined labels.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
User-defined labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getName()
public abstract String getName()
Immutable. 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];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Immutable. 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getNetwork()
public abstract String getNetwork()
Required. Fully-qualified URL of the network that this route applies to. e.g. projects/my-project/global/networks/my-network.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The network. |
getNetworkBytes()
public abstract ByteString getNetworkBytes()
Required. Fully-qualified URL of the network that this route applies to. e.g. projects/my-project/global/networks/my-network.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for network. |
getNextHopCase()
public abstract PolicyBasedRoute.NextHopCase getNextHopCase()
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.NextHopCase |
getNextHopIlbIp()
public abstract String getNextHopIlbIp()
Optional. The IP of a global access enabled L4 ILB that should be the next hop to handle matching packets. For this version, only next_hop_ilb_ip is supported.
string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The nextHopIlbIp. |
getNextHopIlbIpBytes()
public abstract ByteString getNextHopIlbIpBytes()
Optional. The IP of a global access enabled L4 ILB that should be the next hop to handle matching packets. For this version, only next_hop_ilb_ip is supported.
string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for nextHopIlbIp. |
getNextHopOtherRoutes()
public abstract PolicyBasedRoute.OtherRoutes getNextHopOtherRoutes()
Optional. Other routes that will be referenced to determine the next hop of the packet.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.OtherRoutes next_hop_other_routes = 21 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.OtherRoutes | The nextHopOtherRoutes. |
getNextHopOtherRoutesValue()
public abstract int getNextHopOtherRoutesValue()
Optional. Other routes that will be referenced to determine the next hop of the packet.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.OtherRoutes next_hop_other_routes = 21 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for nextHopOtherRoutes. |
getPriority()
public abstract 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
- The priority value must be from 1 to 65535, inclusive.
int32 priority = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The priority. |
getSelfLink()
public abstract String getSelfLink()
Output only. Server-defined fully-qualified URL for this resource.
string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public abstract ByteString getSelfLinkBytes()
Output only. Server-defined fully-qualified URL for this resource.
string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for selfLink. |
getTargetCase()
public abstract PolicyBasedRoute.TargetCase getTargetCase()
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.TargetCase |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. Time when the PolicyBasedRoute was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the PolicyBasedRoute was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getVirtualMachine()
public abstract PolicyBasedRoute.VirtualMachine getVirtualMachine()
Optional. VM instances to which this policy based route applies to.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.VirtualMachine | The virtualMachine. |
getVirtualMachineOrBuilder()
public abstract PolicyBasedRoute.VirtualMachineOrBuilder getVirtualMachineOrBuilder()
Optional. VM instances to which this policy based route applies to.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.VirtualMachineOrBuilder |
getWarnings(int index)
public abstract PolicyBasedRoute.Warnings getWarnings(int index)
Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.Warnings |
getWarningsCount()
public abstract int getWarningsCount()
Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getWarningsList()
public abstract 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.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Warnings> |
getWarningsOrBuilder(int index)
public abstract PolicyBasedRoute.WarningsOrBuilder getWarningsOrBuilder(int index)
Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.WarningsOrBuilder |
getWarningsOrBuilderList()
public abstract 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.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder> |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. Time when the PolicyBasedRoute was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasFilter()
public abstract boolean hasFilter()
Required. The filter to match L4 traffic.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the filter field is set. |
hasInterconnectAttachment()
public abstract boolean hasInterconnectAttachment()
Optional. The interconnect attachments to which this route applies to.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the interconnectAttachment field is set. |
hasNextHopIlbIp()
public abstract boolean hasNextHopIlbIp()
Optional. The IP of a global access enabled L4 ILB that should be the next hop to handle matching packets. For this version, only next_hop_ilb_ip is supported.
string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the nextHopIlbIp field is set. |
hasNextHopOtherRoutes()
public abstract boolean hasNextHopOtherRoutes()
Optional. Other routes that will be referenced to determine the next hop of the packet.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.OtherRoutes next_hop_other_routes = 21 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the nextHopOtherRoutes field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. Time when the PolicyBasedRoute was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
hasVirtualMachine()
public abstract boolean hasVirtualMachine()
Optional. VM instances to which this policy based route applies to.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the virtualMachine field is set. |