- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.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.37.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.25.0
- 1.24.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.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class PacketMirroring.Builder extends GeneratedMessageV3.Builder<PacketMirroring.Builder> 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 type google.cloud.compute.v1.PacketMirroring
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PacketMirroring.BuilderImplements
PacketMirroringOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PacketMirroring.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PacketMirroring.Builder |
build()
public PacketMirroring build()
Type | Description |
PacketMirroring |
buildPartial()
public PacketMirroring buildPartial()
Type | Description |
PacketMirroring |
clear()
public PacketMirroring.Builder clear()
Type | Description |
PacketMirroring.Builder |
clearCollectorIlb()
public PacketMirroring.Builder clearCollectorIlb()
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;
Type | Description |
PacketMirroring.Builder |
clearCreationTimestamp()
public PacketMirroring.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
clearDescription()
public PacketMirroring.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
clearEnable()
public PacketMirroring.Builder clearEnable()
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;
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PacketMirroring.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PacketMirroring.Builder |
clearFilter()
public PacketMirroring.Builder clearFilter()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
Type | Description |
PacketMirroring.Builder |
clearId()
public PacketMirroring.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
clearKind()
public PacketMirroring.Builder clearKind()
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
clearMirroredResources()
public PacketMirroring.Builder clearMirroredResources()
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;
Type | Description |
PacketMirroring.Builder |
clearName()
public PacketMirroring.Builder clearName()
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?
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;
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
clearNetwork()
public PacketMirroring.Builder clearNetwork()
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;
Type | Description |
PacketMirroring.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PacketMirroring.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PacketMirroring.Builder |
clearPriority()
public PacketMirroring.Builder clearPriority()
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;
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
clearRegion()
public PacketMirroring.Builder clearRegion()
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
clearSelfLink()
public PacketMirroring.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
clone()
public PacketMirroring.Builder clone()
Type | Description |
PacketMirroring.Builder |
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;
Type | Description |
PacketMirroringForwardingRuleInfo | The collectorIlb. |
getCollectorIlbBuilder()
public PacketMirroringForwardingRuleInfo.Builder getCollectorIlbBuilder()
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;
Type | Description |
PacketMirroringForwardingRuleInfo.Builder |
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;
Type | Description |
PacketMirroringForwardingRuleInfoOrBuilder |
getCreationTimestamp()
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
String | The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
ByteString | The bytes for creationTimestamp. |
getDefaultInstanceForType()
public PacketMirroring getDefaultInstanceForType()
Type | Description |
PacketMirroring |
getDescription()
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
String | The enable. |
getEnableBytes()
public 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;
Type | Description |
ByteString | The bytes for enable. |
getFilter()
public PacketMirroringFilter getFilter()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
Type | Description |
PacketMirroringFilter | The filter. |
getFilterBuilder()
public PacketMirroringFilter.Builder getFilterBuilder()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
Type | Description |
PacketMirroringFilter.Builder |
getFilterOrBuilder()
public PacketMirroringFilterOrBuilder getFilterOrBuilder()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
Type | Description |
PacketMirroringFilterOrBuilder |
getId()
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
long | The id. |
getKind()
public String getKind()
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
Type | Description |
ByteString | The bytes for kind. |
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;
Type | Description |
PacketMirroringMirroredResourceInfo | The mirroredResources. |
getMirroredResourcesBuilder()
public PacketMirroringMirroredResourceInfo.Builder getMirroredResourcesBuilder()
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;
Type | Description |
PacketMirroringMirroredResourceInfo.Builder |
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;
Type | Description |
PacketMirroringMirroredResourceInfoOrBuilder |
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?
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;
Type | Description |
String | The name. |
getNameBytes()
public 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?
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;
Type | Description |
ByteString | The bytes for name. |
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;
Type | Description |
PacketMirroringNetworkInfo | The network. |
getNetworkBuilder()
public PacketMirroringNetworkInfo.Builder getNetworkBuilder()
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;
Type | Description |
PacketMirroringNetworkInfo.Builder |
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;
Type | Description |
PacketMirroringNetworkInfoOrBuilder |
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;
Type | Description |
int | The priority. |
getRegion()
public String getRegion()
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
Type | Description |
String | The region. |
getRegionBytes()
public ByteString getRegionBytes()
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
Type | Description |
ByteString | The bytes for region. |
getSelfLink()
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
ByteString | The bytes for selfLink. |
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;
Type | Description |
boolean | Whether the collectorIlb field is set. |
hasCreationTimestamp()
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
boolean | Whether the creationTimestamp field is set. |
hasDescription()
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
boolean | Whether the description field is set. |
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;
Type | Description |
boolean | Whether the enable field is set. |
hasFilter()
public boolean hasFilter()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
Type | Description |
boolean | Whether the filter field is set. |
hasId()
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
boolean | Whether the id field is set. |
hasKind()
public boolean hasKind()
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
Type | Description |
boolean | Whether the kind field is set. |
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;
Type | Description |
boolean | Whether the mirroredResources field is set. |
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?
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;
Type | Description |
boolean | Whether the name field is set. |
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;
Type | Description |
boolean | Whether the network field is set. |
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;
Type | Description |
boolean | Whether the priority field is set. |
hasRegion()
public boolean hasRegion()
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
Type | Description |
boolean | Whether the region field is set. |
hasSelfLink()
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
boolean | Whether the selfLink field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCollectorIlb(PacketMirroringForwardingRuleInfo value)
public PacketMirroring.Builder mergeCollectorIlb(PacketMirroringForwardingRuleInfo value)
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;
Name | Description |
value | PacketMirroringForwardingRuleInfo |
Type | Description |
PacketMirroring.Builder |
mergeFilter(PacketMirroringFilter value)
public PacketMirroring.Builder mergeFilter(PacketMirroringFilter value)
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
Name | Description |
value | PacketMirroringFilter |
Type | Description |
PacketMirroring.Builder |
mergeFrom(PacketMirroring other)
public PacketMirroring.Builder mergeFrom(PacketMirroring other)
Name | Description |
other | PacketMirroring |
Type | Description |
PacketMirroring.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PacketMirroring.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PacketMirroring.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PacketMirroring.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PacketMirroring.Builder |
mergeMirroredResources(PacketMirroringMirroredResourceInfo value)
public PacketMirroring.Builder mergeMirroredResources(PacketMirroringMirroredResourceInfo value)
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;
Name | Description |
value | PacketMirroringMirroredResourceInfo |
Type | Description |
PacketMirroring.Builder |
mergeNetwork(PacketMirroringNetworkInfo value)
public PacketMirroring.Builder mergeNetwork(PacketMirroringNetworkInfo value)
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;
Name | Description |
value | PacketMirroringNetworkInfo |
Type | Description |
PacketMirroring.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PacketMirroring.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PacketMirroring.Builder |
setCollectorIlb(PacketMirroringForwardingRuleInfo value)
public PacketMirroring.Builder setCollectorIlb(PacketMirroringForwardingRuleInfo value)
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;
Name | Description |
value | PacketMirroringForwardingRuleInfo |
Type | Description |
PacketMirroring.Builder |
setCollectorIlb(PacketMirroringForwardingRuleInfo.Builder builderForValue)
public PacketMirroring.Builder setCollectorIlb(PacketMirroringForwardingRuleInfo.Builder builderForValue)
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;
Name | Description |
builderForValue | PacketMirroringForwardingRuleInfo.Builder |
Type | Description |
PacketMirroring.Builder |
setCreationTimestamp(String value)
public PacketMirroring.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Name | Description |
value | String The creationTimestamp to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setCreationTimestampBytes(ByteString value)
public PacketMirroring.Builder setCreationTimestampBytes(ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Name | Description |
value | ByteString The bytes for creationTimestamp to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setDescription(String value)
public PacketMirroring.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Name | Description |
value | String The description to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public PacketMirroring.Builder setDescriptionBytes(ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setEnable(String value)
public PacketMirroring.Builder setEnable(String value)
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;
Name | Description |
value | String The enable to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setEnableBytes(ByteString value)
public PacketMirroring.Builder setEnableBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for enable to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PacketMirroring.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PacketMirroring.Builder |
setFilter(PacketMirroringFilter value)
public PacketMirroring.Builder setFilter(PacketMirroringFilter value)
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
Name | Description |
value | PacketMirroringFilter |
Type | Description |
PacketMirroring.Builder |
setFilter(PacketMirroringFilter.Builder builderForValue)
public PacketMirroring.Builder setFilter(PacketMirroringFilter.Builder builderForValue)
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
Name | Description |
builderForValue | PacketMirroringFilter.Builder |
Type | Description |
PacketMirroring.Builder |
setId(long value)
public PacketMirroring.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Name | Description |
value | long The id to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setKind(String value)
public PacketMirroring.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
Name | Description |
value | String The kind to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setKindBytes(ByteString value)
public PacketMirroring.Builder setKindBytes(ByteString value)
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
Name | Description |
value | ByteString The bytes for kind to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setMirroredResources(PacketMirroringMirroredResourceInfo value)
public PacketMirroring.Builder setMirroredResources(PacketMirroringMirroredResourceInfo value)
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;
Name | Description |
value | PacketMirroringMirroredResourceInfo |
Type | Description |
PacketMirroring.Builder |
setMirroredResources(PacketMirroringMirroredResourceInfo.Builder builderForValue)
public PacketMirroring.Builder setMirroredResources(PacketMirroringMirroredResourceInfo.Builder builderForValue)
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;
Name | Description |
builderForValue | PacketMirroringMirroredResourceInfo.Builder |
Type | Description |
PacketMirroring.Builder |
setName(String value)
public PacketMirroring.Builder setName(String value)
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?
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;
Name | Description |
value | String The name to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public PacketMirroring.Builder setNameBytes(ByteString value)
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?
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setNetwork(PacketMirroringNetworkInfo value)
public PacketMirroring.Builder setNetwork(PacketMirroringNetworkInfo value)
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;
Name | Description |
value | PacketMirroringNetworkInfo |
Type | Description |
PacketMirroring.Builder |
setNetwork(PacketMirroringNetworkInfo.Builder builderForValue)
public PacketMirroring.Builder setNetwork(PacketMirroringNetworkInfo.Builder builderForValue)
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;
Name | Description |
builderForValue | PacketMirroringNetworkInfo.Builder |
Type | Description |
PacketMirroring.Builder |
setPriority(int value)
public PacketMirroring.Builder setPriority(int value)
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;
Name | Description |
value | int The priority to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setRegion(String value)
public PacketMirroring.Builder setRegion(String value)
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
Name | Description |
value | String The region to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setRegionBytes(ByteString value)
public PacketMirroring.Builder setRegionBytes(ByteString value)
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
Name | Description |
value | ByteString The bytes for region to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PacketMirroring.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PacketMirroring.Builder |
setSelfLink(String value)
public PacketMirroring.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Name | Description |
value | String The selfLink to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setSelfLinkBytes(ByteString value)
public PacketMirroring.Builder setSelfLinkBytes(ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Name | Description |
value | ByteString The bytes for selfLink to set. |
Type | Description |
PacketMirroring.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PacketMirroring.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PacketMirroring.Builder |