Class PolicyBasedRoute
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute
- All Implemented Interfaces:
PolicyBasedRouteOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class PolicyBasedRoute
extends com.google.protobuf.GeneratedMessage
implements PolicyBasedRouteOrBuilder
Policy-based routes route L4 network traffic based on not just destination IP address, but also source IP address, protocol, and more. If a policy-based route conflicts with other types of routes, the policy-based route always takes precedence.Protobuf type
google.cloud.networkconnectivity.v1beta.PolicyBasedRoute- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPolicy-based routes route L4 network traffic based on not just destination IP address, but also source IP address, protocol, and more.static final classFilter matches L4 traffic.static interfacestatic final classInterconnectAttachment that this route applies to.static interfacestatic enumstatic enumThe other routing cases.static enumstatic final classVM instances that this policy-based route applies to.static interfacestatic final classInformational warning message.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) User-defined labels.booleancom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static PolicyBasedRouteOptional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorRequired.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.com.google.protobuf.Parser<PolicyBasedRoute>intOptional.Output only.com.google.protobuf.ByteStringOutput only.intcom.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.inthashCode()booleanOptional.booleanOptional.booleanOptional.booleanOutput only.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic PolicyBasedRoute.Builderstatic PolicyBasedRoute.BuildernewBuilder(PolicyBasedRoute prototype) protected PolicyBasedRoute.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PolicyBasedRouteparseDelimitedFrom(InputStream input) static PolicyBasedRouteparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyBasedRouteparseFrom(byte[] data) static PolicyBasedRouteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyBasedRouteparseFrom(com.google.protobuf.ByteString data) static PolicyBasedRouteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyBasedRouteparseFrom(com.google.protobuf.CodedInputStream input) static PolicyBasedRouteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyBasedRouteparseFrom(InputStream input) static PolicyBasedRouteparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyBasedRouteparseFrom(ByteBuffer data) static PolicyBasedRouteparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PolicyBasedRoute>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VIRTUAL_MACHINE_FIELD_NUMBER
public static final int VIRTUAL_MACHINE_FIELD_NUMBER- See Also:
-
INTERCONNECT_ATTACHMENT_FIELD_NUMBER
public static final int INTERCONNECT_ATTACHMENT_FIELD_NUMBER- See Also:
-
NEXT_HOP_ILB_IP_FIELD_NUMBER
public static final int NEXT_HOP_ILB_IP_FIELD_NUMBER- See Also:
-
NEXT_HOP_OTHER_ROUTES_FIELD_NUMBER
public static final int NEXT_HOP_OTHER_ROUTES_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER- See Also:
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
WARNINGS_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER- See Also:
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTargetCase
- Specified by:
getTargetCasein interfacePolicyBasedRouteOrBuilder
-
getNextHopCase
- Specified by:
getNextHopCasein interfacePolicyBasedRouteOrBuilder
-
hasVirtualMachine
public 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];- Specified by:
hasVirtualMachinein interfacePolicyBasedRouteOrBuilder- Returns:
- Whether the virtualMachine field is set.
-
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];- Specified by:
getVirtualMachinein interfacePolicyBasedRouteOrBuilder- Returns:
- The virtualMachine.
-
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];- Specified by:
getVirtualMachineOrBuilderin interfacePolicyBasedRouteOrBuilder
-
hasInterconnectAttachment
public 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];- Specified by:
hasInterconnectAttachmentin interfacePolicyBasedRouteOrBuilder- Returns:
- Whether the interconnectAttachment field is set.
-
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];- Specified by:
getInterconnectAttachmentin interfacePolicyBasedRouteOrBuilder- Returns:
- The interconnectAttachment.
-
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];- Specified by:
getInterconnectAttachmentOrBuilderin interfacePolicyBasedRouteOrBuilder
-
hasNextHopIlbIp
public 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];- Specified by:
hasNextHopIlbIpin interfacePolicyBasedRouteOrBuilder- Returns:
- Whether the nextHopIlbIp field is set.
-
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];- Specified by:
getNextHopIlbIpin interfacePolicyBasedRouteOrBuilder- Returns:
- The nextHopIlbIp.
-
getNextHopIlbIpBytes
public 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];- Specified by:
getNextHopIlbIpBytesin interfacePolicyBasedRouteOrBuilder- Returns:
- The bytes for nextHopIlbIp.
-
hasNextHopOtherRoutes
public 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];- Specified by:
hasNextHopOtherRoutesin interfacePolicyBasedRouteOrBuilder- Returns:
- Whether the nextHopOtherRoutes field is set.
-
getNextHopOtherRoutesValue
public 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];- Specified by:
getNextHopOtherRoutesValuein interfacePolicyBasedRouteOrBuilder- Returns:
- The enum numeric value on the wire for nextHopOtherRoutes.
-
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];- Specified by:
getNextHopOtherRoutesin interfacePolicyBasedRouteOrBuilder- Returns:
- The nextHopOtherRoutes.
-
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];- Specified by:
getNamein interfacePolicyBasedRouteOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfacePolicyBasedRouteOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()Output only. Time when the policy-based route was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfacePolicyBasedRouteOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfacePolicyBasedRouteOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfacePolicyBasedRouteOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Time when the policy-based route was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfacePolicyBasedRouteOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfacePolicyBasedRouteOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfacePolicyBasedRouteOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:PolicyBasedRouteOrBuilderUser-defined labels.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfacePolicyBasedRouteOrBuilder
-
containsLabels
User-defined labels.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfacePolicyBasedRouteOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfacePolicyBasedRouteOrBuilder
-
getLabelsMap
User-defined labels.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfacePolicyBasedRouteOrBuilder
-
getLabelsOrDefault
User-defined labels.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfacePolicyBasedRouteOrBuilder
-
getLabelsOrThrow
User-defined labels.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfacePolicyBasedRouteOrBuilder
-
getDescription
Optional. An optional description of this resource. Provide this field when you create the resource.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfacePolicyBasedRouteOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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];- Specified by:
getDescriptionBytesin interfacePolicyBasedRouteOrBuilder- Returns:
- The bytes for description.
-
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) = { ... }- Specified by:
getNetworkin interfacePolicyBasedRouteOrBuilder- Returns:
- The network.
-
getNetworkBytes
public 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) = { ... }- Specified by:
getNetworkBytesin interfacePolicyBasedRouteOrBuilder- Returns:
- The bytes for network.
-
hasFilter
public boolean hasFilter()Required. The filter to match L4 traffic.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasFilterin interfacePolicyBasedRouteOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
Required. The filter to match L4 traffic.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFilterin interfacePolicyBasedRouteOrBuilder- Returns:
- The filter.
-
getFilterOrBuilder
Required. The filter to match L4 traffic.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFilterOrBuilderin interfacePolicyBasedRouteOrBuilder
-
getPriority
public 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];- Specified by:
getPriorityin interfacePolicyBasedRouteOrBuilder- Returns:
- The priority.
-
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];- Specified by:
getWarningsListin interfacePolicyBasedRouteOrBuilder
-
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];- Specified by:
getWarningsOrBuilderListin interfacePolicyBasedRouteOrBuilder
-
getWarningsCount
public 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];- Specified by:
getWarningsCountin interfacePolicyBasedRouteOrBuilder
-
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];- Specified by:
getWarningsin interfacePolicyBasedRouteOrBuilder
-
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];- Specified by:
getWarningsOrBuilderin interfacePolicyBasedRouteOrBuilder
-
getSelfLink
Output only. Server-defined fully-qualified URL for this resource.
string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelfLinkin interfacePolicyBasedRouteOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public 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];- Specified by:
getSelfLinkBytesin interfacePolicyBasedRouteOrBuilder- Returns:
- The bytes for selfLink.
-
getKind
Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.
string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKindin interfacePolicyBasedRouteOrBuilder- Returns:
- The kind.
-
getKindBytes
public 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];- Specified by:
getKindBytesin interfacePolicyBasedRouteOrBuilder- Returns:
- The bytes for kind.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PolicyBasedRoute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyBasedRoute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyBasedRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyBasedRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyBasedRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyBasedRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PolicyBasedRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PolicyBasedRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PolicyBasedRoute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PolicyBasedRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PolicyBasedRoute.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-