Class VpcFlowLogsConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig
All Implemented Interfaces:
VpcFlowLogsConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class VpcFlowLogsConfig extends com.google.protobuf.GeneratedMessage implements VpcFlowLogsConfigOrBuilder
 A configuration to generate VPC Flow Logs.
 
Protobuf type google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_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:
    • TARGET_RESOURCE_STATE_FIELD_NUMBER

      public static final int TARGET_RESOURCE_STATE_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:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getTargetResourceCase

      public VpcFlowLogsConfig.TargetResourceCase getTargetResourceCase()
      Specified by:
      getTargetResourceCase in interface VpcFlowLogsConfigOrBuilder
    • getName

      public String getName()
       Identifier. 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}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. 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}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The bytes for name.
    • hasDescription

      public boolean hasDescription()
       Optional. The user-supplied description of the VPC Flow Logs configuration.
       Maximum of 512 characters.
       
      optional string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDescription in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       Optional. The user-supplied description of the VPC Flow Logs configuration.
       Maximum of 512 characters.
       
      optional string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The user-supplied description of the VPC Flow Logs configuration.
       Maximum of 512 characters.
       
      optional string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The bytes for description.
    • hasState

      public boolean hasState()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasState in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the state field is set.
    • getStateValue

      public int getStateValue()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStateValue in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public VpcFlowLogsConfig.State getState()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getState in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The state.
    • hasAggregationInterval

      public boolean hasAggregationInterval()
       Optional. The aggregation interval for the logs. Default value is
       INTERVAL_5_SEC.
       
      optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.AggregationInterval aggregation_interval = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAggregationInterval in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the aggregationInterval field is set.
    • getAggregationIntervalValue

      public int getAggregationIntervalValue()
       Optional. The aggregation interval for the logs. Default value is
       INTERVAL_5_SEC.
       
      optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.AggregationInterval aggregation_interval = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAggregationIntervalValue in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The enum numeric value on the wire for aggregationInterval.
    • getAggregationInterval

      public VpcFlowLogsConfig.AggregationInterval getAggregationInterval()
       Optional. The aggregation interval for the logs. Default value is
       INTERVAL_5_SEC.
       
      optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.AggregationInterval aggregation_interval = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAggregationInterval in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The aggregationInterval.
    • hasFlowSampling

      public boolean hasFlowSampling()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasFlowSampling in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the flowSampling field is set.
    • getFlowSampling

      public float getFlowSampling()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFlowSampling in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The flowSampling.
    • hasMetadata

      public boolean hasMetadata()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMetadata in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadataValue

      public int getMetadataValue()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetadataValue in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The enum numeric value on the wire for metadata.
    • getMetadata

      public VpcFlowLogsConfig.Metadata getMetadata()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetadata in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The metadata.
    • getMetadataFieldsList

      public com.google.protobuf.ProtocolStringList getMetadataFieldsList()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetadataFieldsList in interface VpcFlowLogsConfigOrBuilder
      Returns:
      A list containing the metadataFields.
    • getMetadataFieldsCount

      public int getMetadataFieldsCount()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetadataFieldsCount in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The count of metadataFields.
    • getMetadataFields

      public String getMetadataFields(int index)
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetadataFields in interface VpcFlowLogsConfigOrBuilder
      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)
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetadataFieldsBytes in interface VpcFlowLogsConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the metadataFields at the given index.
    • hasFilterExpr

      public boolean hasFilterExpr()
       Optional. Export filter used to define which VPC Flow Logs should be
       logged.
       
      optional string filter_expr = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasFilterExpr in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the filterExpr field is set.
    • getFilterExpr

      public String getFilterExpr()
       Optional. Export filter used to define which VPC Flow Logs should be
       logged.
       
      optional string filter_expr = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterExpr in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The filterExpr.
    • getFilterExprBytes

      public com.google.protobuf.ByteString getFilterExprBytes()
       Optional. Export filter used to define which VPC Flow Logs should be
       logged.
       
      optional string filter_expr = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterExprBytes in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The bytes for filterExpr.
    • hasCrossProjectMetadata

      public boolean hasCrossProjectMetadata()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCrossProjectMetadata in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the crossProjectMetadata field is set.
    • getCrossProjectMetadataValue

      public int getCrossProjectMetadataValue()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCrossProjectMetadataValue in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The enum numeric value on the wire for crossProjectMetadata.
    • getCrossProjectMetadata

      public VpcFlowLogsConfig.CrossProjectMetadata getCrossProjectMetadata()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCrossProjectMetadata in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The crossProjectMetadata.
    • hasTargetResourceState

      public boolean hasTargetResourceState()
       Output only. Describes the state of the configured target resource for
       diagnostic purposes.
       
      optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.TargetResourceState target_resource_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTargetResourceState in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the targetResourceState field is set.
    • getTargetResourceStateValue

      public int getTargetResourceStateValue()
       Output only. Describes the state of the configured target resource for
       diagnostic purposes.
       
      optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.TargetResourceState target_resource_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetResourceStateValue in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The enum numeric value on the wire for targetResourceState.
    • getTargetResourceState

      public VpcFlowLogsConfig.TargetResourceState getTargetResourceState()
       Output only. Describes the state of the configured target resource for
       diagnostic purposes.
       
      optional .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.TargetResourceState target_resource_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetResourceState in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The targetResourceState.
    • 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:
      hasNetwork in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the network field is set.
    • getNetwork

      public String 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:
      getNetwork in interface VpcFlowLogsConfigOrBuilder
      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:
      getNetworkBytes in interface VpcFlowLogsConfigOrBuilder
      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:
      hasSubnet in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the subnet field is set.
    • getSubnet

      public String getSubnet()
       Traffic will be logged from VMs within the subnetwork.
       Format: projects/{project_id}/regions/{region}/subnetworks/{name}
       
      string subnet = 101;
      Specified by:
      getSubnet in interface VpcFlowLogsConfigOrBuilder
      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:
      getSubnetBytes in interface VpcFlowLogsConfigOrBuilder
      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:
      hasInterconnectAttachment in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the interconnectAttachment field is set.
    • getInterconnectAttachment

      public String getInterconnectAttachment()
       Traffic will be logged from the Interconnect Attachment.
       Format:
       projects/{project_id}/regions/{region}/interconnectAttachments/{name}
       
      string interconnect_attachment = 102;
      Specified by:
      getInterconnectAttachment in interface VpcFlowLogsConfigOrBuilder
      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:
      getInterconnectAttachmentBytes in interface VpcFlowLogsConfigOrBuilder
      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:
      hasVpnTunnel in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the vpnTunnel field is set.
    • getVpnTunnel

      public String getVpnTunnel()
       Traffic will be logged from the VPN Tunnel.
       Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}
       
      string vpn_tunnel = 103;
      Specified by:
      getVpnTunnel in interface VpcFlowLogsConfigOrBuilder
      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:
      getVpnTunnelBytes in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The bytes for vpnTunnel.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: VpcFlowLogsConfigOrBuilder
       Optional. Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface VpcFlowLogsConfigOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface VpcFlowLogsConfigOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface VpcFlowLogsConfigOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface VpcFlowLogsConfigOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface VpcFlowLogsConfigOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface VpcFlowLogsConfigOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time the config was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time the config was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time the config was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface VpcFlowLogsConfigOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time the config was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface VpcFlowLogsConfigOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time the config was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface VpcFlowLogsConfigOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time the config was updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface VpcFlowLogsConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static VpcFlowLogsConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpcFlowLogsConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpcFlowLogsConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpcFlowLogsConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpcFlowLogsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpcFlowLogsConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpcFlowLogsConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VpcFlowLogsConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VpcFlowLogsConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VpcFlowLogsConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VpcFlowLogsConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VpcFlowLogsConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public VpcFlowLogsConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static VpcFlowLogsConfig.Builder newBuilder()
    • newBuilder

      public static VpcFlowLogsConfig.Builder newBuilder(VpcFlowLogsConfig prototype)
    • toBuilder

      public VpcFlowLogsConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected VpcFlowLogsConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static VpcFlowLogsConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VpcFlowLogsConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<VpcFlowLogsConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public VpcFlowLogsConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder