Package com.google.cloud.compute.v1
Class PacketMirroring
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.PacketMirroring
-
- All Implemented Interfaces:
PacketMirroringOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class PacketMirroring extends com.google.protobuf.GeneratedMessageV3 implements PacketMirroringOrBuilder
Represents a Packet Mirroring resource. Packet Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, see Using Packet Mirroring.
Protobuf typegoogle.cloud.compute.v1.PacketMirroring
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PacketMirroring.Builder
Represents a Packet Mirroring resource.static class
PacketMirroring.Enable
Indicates whether or not this packet mirroring takes effect.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
COLLECTOR_ILB_FIELD_NUMBER
static int
CREATION_TIMESTAMP_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
ENABLE_FIELD_NUMBER
static int
FILTER_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
KIND_FIELD_NUMBER
static int
MIRRORED_RESOURCES_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NETWORK_FIELD_NUMBER
static int
PRIORITY_FIELD_NUMBER
static int
REGION_FIELD_NUMBER
static int
SELF_LINK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
PacketMirroringForwardingRuleInfo
getCollectorIlb()
The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.PacketMirroringForwardingRuleInfoOrBuilder
getCollectorIlbOrBuilder()
The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.static PacketMirroring
getDefaultInstance()
PacketMirroring
getDefaultInstanceForType()
String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEnable()
Indicates whether or not this packet mirroring takes effect.com.google.protobuf.ByteString
getEnableBytes()
Indicates whether or not this packet mirroring takes effect.PacketMirroringFilter
getFilter()
Filter for mirrored traffic.PacketMirroringFilterOrBuilder
getFilterOrBuilder()
Filter for mirrored traffic.long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.PacketMirroringMirroredResourceInfo
getMirroredResources()
PacketMirroring mirroredResourceInfos.PacketMirroringMirroredResourceInfoOrBuilder
getMirroredResourcesOrBuilder()
PacketMirroring mirroredResourceInfos.String
getName()
Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteString
getNameBytes()
Name of the resource; provided by the client when the resource is created.PacketMirroringNetworkInfo
getNetwork()
Specifies the mirrored VPC network.PacketMirroringNetworkInfoOrBuilder
getNetworkOrBuilder()
Specifies the mirrored VPC network.com.google.protobuf.Parser<PacketMirroring>
getParserForType()
int
getPriority()
The priority of applying this configuration.String
getRegion()
[Output Only] URI of the region where the packetMirroring resides.com.google.protobuf.ByteString
getRegionBytes()
[Output Only] URI of the region where the packetMirroring resides.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.int
getSerializedSize()
boolean
hasCollectorIlb()
The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasEnable()
Indicates whether or not this packet mirroring takes effect.boolean
hasFilter()
Filter for mirrored traffic.int
hashCode()
boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasMirroredResources()
PacketMirroring mirroredResourceInfos.boolean
hasName()
Name of the resource; provided by the client when the resource is created.boolean
hasNetwork()
Specifies the mirrored VPC network.boolean
hasPriority()
The priority of applying this configuration.boolean
hasRegion()
[Output Only] URI of the region where the packetMirroring resides.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static PacketMirroring.Builder
newBuilder()
static PacketMirroring.Builder
newBuilder(PacketMirroring prototype)
PacketMirroring.Builder
newBuilderForType()
protected PacketMirroring.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PacketMirroring
parseDelimitedFrom(InputStream input)
static PacketMirroring
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PacketMirroring
parseFrom(byte[] data)
static PacketMirroring
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PacketMirroring
parseFrom(com.google.protobuf.ByteString data)
static PacketMirroring
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PacketMirroring
parseFrom(com.google.protobuf.CodedInputStream input)
static PacketMirroring
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PacketMirroring
parseFrom(InputStream input)
static PacketMirroring
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PacketMirroring
parseFrom(ByteBuffer data)
static PacketMirroring
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PacketMirroring>
parser()
PacketMirroring.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COLLECTOR_ILB_FIELD_NUMBER
public static final int COLLECTOR_ILB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_FIELD_NUMBER
public static final int ENABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIRRORED_RESOURCES_FIELD_NUMBER
public static final int MIRRORED_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasCollectorIlb
public boolean hasCollectorIlb()
The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.
optional .google.cloud.compute.v1.PacketMirroringForwardingRuleInfo collector_ilb = 426607853;
- Specified by:
hasCollectorIlb
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the collectorIlb field is set.
-
getCollectorIlb
public PacketMirroringForwardingRuleInfo getCollectorIlb()
The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.
optional .google.cloud.compute.v1.PacketMirroringForwardingRuleInfo collector_ilb = 426607853;
- Specified by:
getCollectorIlb
in interfacePacketMirroringOrBuilder
- Returns:
- The collectorIlb.
-
getCollectorIlbOrBuilder
public PacketMirroringForwardingRuleInfoOrBuilder getCollectorIlbOrBuilder()
The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.
optional .google.cloud.compute.v1.PacketMirroringForwardingRuleInfo collector_ilb = 426607853;
- Specified by:
getCollectorIlbOrBuilder
in interfacePacketMirroringOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
hasCreationTimestamp
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestamp
in interfacePacketMirroringOrBuilder
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestampBytes
in interfacePacketMirroringOrBuilder
- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
hasDescription
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
getDescription
in interfacePacketMirroringOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
getDescriptionBytes
in interfacePacketMirroringOrBuilder
- Returns:
- The bytes for description.
-
hasEnable
public boolean hasEnable()
Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. Check the Enable enum for the list of possible values.
optional string enable = 311764355;
- Specified by:
hasEnable
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the enable field is set.
-
getEnable
public String getEnable()
Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. Check the Enable enum for the list of possible values.
optional string enable = 311764355;
- Specified by:
getEnable
in interfacePacketMirroringOrBuilder
- Returns:
- The enable.
-
getEnableBytes
public com.google.protobuf.ByteString getEnableBytes()
Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. Check the Enable enum for the list of possible values.
optional string enable = 311764355;
- Specified by:
getEnableBytes
in interfacePacketMirroringOrBuilder
- Returns:
- The bytes for enable.
-
hasFilter
public boolean hasFilter()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
- Specified by:
hasFilter
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
public PacketMirroringFilter getFilter()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
- Specified by:
getFilter
in interfacePacketMirroringOrBuilder
- Returns:
- The filter.
-
getFilterOrBuilder
public PacketMirroringFilterOrBuilder getFilterOrBuilder()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
- Specified by:
getFilterOrBuilder
in interfacePacketMirroringOrBuilder
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Specified by:
hasId
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Specified by:
getId
in interfacePacketMirroringOrBuilder
- Returns:
- The id.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
- Specified by:
hasKind
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
- Specified by:
getKind
in interfacePacketMirroringOrBuilder
- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
- Specified by:
getKindBytes
in interfacePacketMirroringOrBuilder
- Returns:
- The bytes for kind.
-
hasMirroredResources
public boolean hasMirroredResources()
PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.
optional .google.cloud.compute.v1.PacketMirroringMirroredResourceInfo mirrored_resources = 124817348;
- Specified by:
hasMirroredResources
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the mirroredResources field is set.
-
getMirroredResources
public PacketMirroringMirroredResourceInfo getMirroredResources()
PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.
optional .google.cloud.compute.v1.PacketMirroringMirroredResourceInfo mirrored_resources = 124817348;
- Specified by:
getMirroredResources
in interfacePacketMirroringOrBuilder
- Returns:
- The mirroredResources.
-
getMirroredResourcesOrBuilder
public PacketMirroringMirroredResourceInfoOrBuilder getMirroredResourcesOrBuilder()
PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.
optional .google.cloud.compute.v1.PacketMirroringMirroredResourceInfo mirrored_resources = 124817348;
- Specified by:
getMirroredResourcesOrBuilder
in interfacePacketMirroringOrBuilder
-
hasName
public boolean hasName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Specified by:
hasName
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Specified by:
getName
in interfacePacketMirroringOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Specified by:
getNameBytes
in interfacePacketMirroringOrBuilder
- Returns:
- The bytes for name.
-
hasNetwork
public boolean hasNetwork()
Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.
optional .google.cloud.compute.v1.PacketMirroringNetworkInfo network = 232872494;
- Specified by:
hasNetwork
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the network field is set.
-
getNetwork
public PacketMirroringNetworkInfo getNetwork()
Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.
optional .google.cloud.compute.v1.PacketMirroringNetworkInfo network = 232872494;
- Specified by:
getNetwork
in interfacePacketMirroringOrBuilder
- Returns:
- The network.
-
getNetworkOrBuilder
public PacketMirroringNetworkInfoOrBuilder getNetworkOrBuilder()
Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.
optional .google.cloud.compute.v1.PacketMirroringNetworkInfo network = 232872494;
- Specified by:
getNetworkOrBuilder
in interfacePacketMirroringOrBuilder
-
hasPriority
public boolean hasPriority()
The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.
optional uint32 priority = 445151652;
- Specified by:
hasPriority
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the priority field is set.
-
getPriority
public int getPriority()
The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.
optional uint32 priority = 445151652;
- Specified by:
getPriority
in interfacePacketMirroringOrBuilder
- Returns:
- The priority.
-
hasRegion
public boolean hasRegion()
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
- Specified by:
hasRegion
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
- Specified by:
getRegion
in interfacePacketMirroringOrBuilder
- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
- Specified by:
getRegionBytes
in interfacePacketMirroringOrBuilder
- Returns:
- The bytes for region.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
hasSelfLink
in interfacePacketMirroringOrBuilder
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLink
in interfacePacketMirroringOrBuilder
- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLinkBytes
in interfacePacketMirroringOrBuilder
- Returns:
- The bytes for selfLink.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PacketMirroring parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PacketMirroring parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PacketMirroring parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PacketMirroring parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PacketMirroring parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PacketMirroring parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PacketMirroring parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PacketMirroring parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PacketMirroring parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PacketMirroring parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PacketMirroring parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PacketMirroring parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PacketMirroring.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PacketMirroring.Builder newBuilder()
-
newBuilder
public static PacketMirroring.Builder newBuilder(PacketMirroring prototype)
-
toBuilder
public PacketMirroring.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PacketMirroring.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PacketMirroring getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PacketMirroring> parser()
-
getParserForType
public com.google.protobuf.Parser<PacketMirroring> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PacketMirroring getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-