Class EffectiveVpcFlowLogsConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkmanagement.v1beta1.EffectiveVpcFlowLogsConfig
- All Implemented Interfaces:
EffectiveVpcFlowLogsConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class EffectiveVpcFlowLogsConfig
extends com.google.protobuf.GeneratedMessage
implements EffectiveVpcFlowLogsConfigOrBuilder
A configuration to generate a response for GetEffectiveVpcFlowLogsConfig request.Protobuf type
google.cloud.networkmanagement.v1beta1.EffectiveVpcFlowLogsConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA configuration to generate a response for GetEffectiveVpcFlowLogsConfig request.static enumThe scope for this flow log configuration.static enumNested 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 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 TypeMethodDescriptionbooleanThe aggregation interval for the logs.intThe aggregation interval for the logs.Determines whether to include cross project annotations in the logs.intDetermines whether to include cross project annotations in the logs.static EffectiveVpcFlowLogsConfigstatic final com.google.protobuf.Descriptors.DescriptorExport filter used to define which VPC Flow Logs should be logged.com.google.protobuf.ByteStringExport filter used to define which VPC Flow Logs should be logged.floatThe value of the field must be in (0, 1].Traffic will be logged from the Interconnect Attachment.com.google.protobuf.ByteStringTraffic will be logged from the Interconnect Attachment.Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs.getMetadataFields(int index) Custom metadata fields to include in the reported VPC flow logs.com.google.protobuf.ByteStringgetMetadataFieldsBytes(int index) Custom metadata fields to include in the reported VPC flow logs.intCustom metadata fields to include in the reported VPC flow logs.com.google.protobuf.ProtocolStringListCustom metadata fields to include in the reported VPC flow logs.intConfigures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs.getName()Unique name of the configuration.com.google.protobuf.ByteStringUnique name of the configuration.Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network.com.google.protobuf.ByteStringTraffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network.com.google.protobuf.Parser<EffectiveVpcFlowLogsConfig>getScope()Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).intSpecifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).intgetState()The state of the VPC Flow Log configuration.intThe state of the VPC Flow Log configuration.Traffic will be logged from VMs within the subnetwork.com.google.protobuf.ByteStringTraffic will be logged from VMs within the subnetwork.Traffic will be logged from the VPN Tunnel.com.google.protobuf.ByteStringTraffic will be logged from the VPN Tunnel.booleanThe aggregation interval for the logs.booleanDetermines whether to include cross project annotations in the logs.booleanExport filter used to define which VPC Flow Logs should be logged.booleanThe value of the field must be in (0, 1].inthashCode()booleanTraffic will be logged from the Interconnect Attachment.booleanConfigures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs.booleanTraffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network.booleanhasScope()Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).booleanhasState()The state of the VPC Flow Log configuration.booleanTraffic will be logged from VMs within the subnetwork.booleanTraffic will be logged from the VPN Tunnel.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(EffectiveVpcFlowLogsConfig prototype) protected EffectiveVpcFlowLogsConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EffectiveVpcFlowLogsConfigparseDelimitedFrom(InputStream input) static EffectiveVpcFlowLogsConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EffectiveVpcFlowLogsConfigparseFrom(byte[] data) static EffectiveVpcFlowLogsConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EffectiveVpcFlowLogsConfigparseFrom(com.google.protobuf.ByteString data) static EffectiveVpcFlowLogsConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EffectiveVpcFlowLogsConfigparseFrom(com.google.protobuf.CodedInputStream input) static EffectiveVpcFlowLogsConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EffectiveVpcFlowLogsConfigparseFrom(InputStream input) static EffectiveVpcFlowLogsConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EffectiveVpcFlowLogsConfigparseFrom(ByteBuffer data) static EffectiveVpcFlowLogsConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EffectiveVpcFlowLogsConfig>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, internalGetMapFieldReflection, 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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
AGGREGATION_INTERVAL_FIELD_NUMBER
public static final int AGGREGATION_INTERVAL_FIELD_NUMBER- See Also:
-
FLOW_SAMPLING_FIELD_NUMBER
public static final int FLOW_SAMPLING_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
METADATA_FIELDS_FIELD_NUMBER
public static final int METADATA_FIELDS_FIELD_NUMBER- See Also:
-
FILTER_EXPR_FIELD_NUMBER
public static final int FILTER_EXPR_FIELD_NUMBER- See Also:
-
CROSS_PROJECT_METADATA_FIELD_NUMBER
public static final int CROSS_PROJECT_METADATA_FIELD_NUMBER- See Also:
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER- See Also:
-
SUBNET_FIELD_NUMBER
public static final int SUBNET_FIELD_NUMBER- See Also:
-
INTERCONNECT_ATTACHMENT_FIELD_NUMBER
public static final int INTERCONNECT_ATTACHMENT_FIELD_NUMBER- See Also:
-
VPN_TUNNEL_FIELD_NUMBER
public static final int VPN_TUNNEL_FIELD_NUMBER- See Also:
-
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTargetResourceCase
- Specified by:
getTargetResourceCasein interfaceEffectiveVpcFlowLogsConfigOrBuilder
-
getName
Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For a Compute config, the name will be the path of the subnet: `projects/{project_id}/regions/{region}/subnetworks/{subnet_id}`string name = 1;- Specified by:
getNamein interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For a Compute config, the name will be the path of the subnet: `projects/{project_id}/regions/{region}/subnetworks/{subnet_id}`string name = 1;- Specified by:
getNameBytesin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The bytes for name.
-
hasState
public boolean hasState()The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.State state = 3;- Specified by:
hasStatein interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the state field is set.
-
getStateValue
public int getStateValue()The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.State state = 3;- Specified by:
getStateValuein interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.State state = 3;- Specified by:
getStatein interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The state.
-
hasAggregationInterval
public boolean hasAggregationInterval()The aggregation interval for the logs. Default value is INTERVAL_5_SEC.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.AggregationInterval aggregation_interval = 4;- Specified by:
hasAggregationIntervalin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the aggregationInterval field is set.
-
getAggregationIntervalValue
public int getAggregationIntervalValue()The aggregation interval for the logs. Default value is INTERVAL_5_SEC.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.AggregationInterval aggregation_interval = 4;- Specified by:
getAggregationIntervalValuein interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The enum numeric value on the wire for aggregationInterval.
-
getAggregationInterval
The aggregation interval for the logs. Default value is INTERVAL_5_SEC.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.AggregationInterval aggregation_interval = 4;- Specified by:
getAggregationIntervalin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The aggregationInterval.
-
hasFlowSampling
public boolean hasFlowSampling()The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0.
optional float flow_sampling = 5;- Specified by:
hasFlowSamplingin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the flowSampling field is set.
-
getFlowSampling
public float getFlowSampling()The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0.
optional float flow_sampling = 5;- Specified by:
getFlowSamplingin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The flowSampling.
-
hasMetadata
public boolean hasMetadata()Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.Metadata metadata = 6;- Specified by:
hasMetadatain interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadataValue
public int getMetadataValue()Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.Metadata metadata = 6;- Specified by:
getMetadataValuein interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The enum numeric value on the wire for metadata.
-
getMetadata
Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.Metadata metadata = 6;- Specified by:
getMetadatain interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The metadata.
-
getMetadataFieldsList
public com.google.protobuf.ProtocolStringList getMetadataFieldsList()Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA.
repeated string metadata_fields = 7;- Specified by:
getMetadataFieldsListin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- A list containing the metadataFields.
-
getMetadataFieldsCount
public int getMetadataFieldsCount()Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA.
repeated string metadata_fields = 7;- Specified by:
getMetadataFieldsCountin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The count of metadataFields.
-
getMetadataFields
Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA.
repeated string metadata_fields = 7;- Specified by:
getMetadataFieldsin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The metadataFields at the given index.
-
getMetadataFieldsBytes
public com.google.protobuf.ByteString getMetadataFieldsBytes(int index) Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA.
repeated string metadata_fields = 7;- Specified by:
getMetadataFieldsBytesin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the metadataFields at the given index.
-
hasFilterExpr
public boolean hasFilterExpr()Export filter used to define which VPC Flow Logs should be logged.
optional string filter_expr = 8;- Specified by:
hasFilterExprin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the filterExpr field is set.
-
getFilterExpr
Export filter used to define which VPC Flow Logs should be logged.
optional string filter_expr = 8;- Specified by:
getFilterExprin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The filterExpr.
-
getFilterExprBytes
public com.google.protobuf.ByteString getFilterExprBytes()Export filter used to define which VPC Flow Logs should be logged.
optional string filter_expr = 8;- Specified by:
getFilterExprBytesin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The bytes for filterExpr.
-
hasCrossProjectMetadata
public boolean hasCrossProjectMetadata()Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.CrossProjectMetadata cross_project_metadata = 13;- Specified by:
hasCrossProjectMetadatain interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the crossProjectMetadata field is set.
-
getCrossProjectMetadataValue
public int getCrossProjectMetadataValue()Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.CrossProjectMetadata cross_project_metadata = 13;- Specified by:
getCrossProjectMetadataValuein interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The enum numeric value on the wire for crossProjectMetadata.
-
getCrossProjectMetadata
Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.CrossProjectMetadata cross_project_metadata = 13;- Specified by:
getCrossProjectMetadatain interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The crossProjectMetadata.
-
hasNetwork
public boolean hasNetwork()Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}string network = 100;- Specified by:
hasNetworkin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}string network = 100;- Specified by:
getNetworkin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}string network = 100;- Specified by:
getNetworkBytesin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The bytes for network.
-
hasSubnet
public boolean hasSubnet()Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}string subnet = 101;- Specified by:
hasSubnetin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the subnet field is set.
-
getSubnet
Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}string subnet = 101;- Specified by:
getSubnetin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The subnet.
-
getSubnetBytes
public com.google.protobuf.ByteString getSubnetBytes()Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}string subnet = 101;- Specified by:
getSubnetBytesin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The bytes for subnet.
-
hasInterconnectAttachment
public boolean hasInterconnectAttachment()Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}string interconnect_attachment = 102;- Specified by:
hasInterconnectAttachmentin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the interconnectAttachment field is set.
-
getInterconnectAttachment
Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}string interconnect_attachment = 102;- Specified by:
getInterconnectAttachmentin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The interconnectAttachment.
-
getInterconnectAttachmentBytes
public com.google.protobuf.ByteString getInterconnectAttachmentBytes()Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}string interconnect_attachment = 102;- Specified by:
getInterconnectAttachmentBytesin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The bytes for interconnectAttachment.
-
hasVpnTunnel
public boolean hasVpnTunnel()Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}string vpn_tunnel = 103;- Specified by:
hasVpnTunnelin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the vpnTunnel field is set.
-
getVpnTunnel
Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}string vpn_tunnel = 103;- Specified by:
getVpnTunnelin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The vpnTunnel.
-
getVpnTunnelBytes
public com.google.protobuf.ByteString getVpnTunnelBytes()Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}string vpn_tunnel = 103;- Specified by:
getVpnTunnelBytesin interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The bytes for vpnTunnel.
-
hasScope
public boolean hasScope()Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).
optional .google.cloud.networkmanagement.v1beta1.EffectiveVpcFlowLogsConfig.Scope scope = 12;- Specified by:
hasScopein interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- Whether the scope field is set.
-
getScopeValue
public int getScopeValue()Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).
optional .google.cloud.networkmanagement.v1beta1.EffectiveVpcFlowLogsConfig.Scope scope = 12;- Specified by:
getScopeValuein interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The enum numeric value on the wire for scope.
-
getScope
Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).
optional .google.cloud.networkmanagement.v1beta1.EffectiveVpcFlowLogsConfig.Scope scope = 12;- Specified by:
getScopein interfaceEffectiveVpcFlowLogsConfigOrBuilder- Returns:
- The scope.
-
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 EffectiveVpcFlowLogsConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EffectiveVpcFlowLogsConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EffectiveVpcFlowLogsConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EffectiveVpcFlowLogsConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EffectiveVpcFlowLogsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EffectiveVpcFlowLogsConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EffectiveVpcFlowLogsConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EffectiveVpcFlowLogsConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EffectiveVpcFlowLogsConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EffectiveVpcFlowLogsConfig 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 EffectiveVpcFlowLogsConfig.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
-