
com.google.cloud.compute.v1.PacketMirroringOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface PacketMirroringOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PacketMirroring)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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;
*
*
* @return Whether the collectorIlb field is set.
*/
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;
*
*
* @return The collectorIlb.
*/
com.google.cloud.compute.v1.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;
*
*/
com.google.cloud.compute.v1.PacketMirroringForwardingRuleInfoOrBuilder getCollectorIlbOrBuilder();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return Whether the creationTimestamp field is set.
*/
boolean hasCreationTimestamp();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return The creationTimestamp.
*/
java.lang.String getCreationTimestamp();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return The bytes for creationTimestamp.
*/
com.google.protobuf.ByteString getCreationTimestampBytes();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* 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;
*
* @return Whether the enable field is set.
*/
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;
*
* @return The enable.
*/
java.lang.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;
*
* @return The bytes for enable.
*/
com.google.protobuf.ByteString getEnableBytes();
/**
*
*
*
* Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
*
*
* optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
*
* @return Whether the filter field is set.
*/
boolean hasFilter();
/**
*
*
*
* Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
*
*
* optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
*
* @return The filter.
*/
com.google.cloud.compute.v1.PacketMirroringFilter getFilter();
/**
*
*
*
* Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
*
*
* optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
*/
com.google.cloud.compute.v1.PacketMirroringFilterOrBuilder getFilterOrBuilder();
/**
*
*
*
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
*
*
* optional uint64 id = 3355;
*
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
*
*
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
*
*
* optional uint64 id = 3355;
*
* @return The id.
*/
long getId();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
*
*
* optional string kind = 3292052;
*
* @return Whether the kind field is set.
*/
boolean hasKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
*
*
* optional string kind = 3292052;
*
* @return The kind.
*/
java.lang.String getKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
*
*
* optional string kind = 3292052;
*
* @return The bytes for kind.
*/
com.google.protobuf.ByteString getKindBytes();
/**
*
*
*
* 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;
*
*
* @return Whether the mirroredResources field is set.
*/
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;
*
*
* @return The mirroredResources.
*/
com.google.cloud.compute.v1.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;
*
*/
com.google.cloud.compute.v1.PacketMirroringMirroredResourceInfoOrBuilder
getMirroredResourcesOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the name field is set.
*/
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;
*
* @return The name.
*/
java.lang.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;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* 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;
*
* @return Whether the network field is set.
*/
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;
*
* @return The network.
*/
com.google.cloud.compute.v1.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;
*/
com.google.cloud.compute.v1.PacketMirroringNetworkInfoOrBuilder getNetworkOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the priority field is set.
*/
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;
*
* @return The priority.
*/
int getPriority();
/**
*
*
*
* [Output Only] URI of the region where the packetMirroring resides.
*
*
* optional string region = 138946292;
*
* @return Whether the region field is set.
*/
boolean hasRegion();
/**
*
*
*
* [Output Only] URI of the region where the packetMirroring resides.
*
*
* optional string region = 138946292;
*
* @return The region.
*/
java.lang.String getRegion();
/**
*
*
*
* [Output Only] URI of the region where the packetMirroring resides.
*
*
* optional string region = 138946292;
*
* @return The bytes for region.
*/
com.google.protobuf.ByteString getRegionBytes();
/**
*
*
*
* [Output Only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return Whether the selfLink field is set.
*/
boolean hasSelfLink();
/**
*
*
*
* [Output Only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return The selfLink.
*/
java.lang.String getSelfLink();
/**
*
*
*
* [Output Only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return The bytes for selfLink.
*/
com.google.protobuf.ByteString getSelfLinkBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy