Interface DnsThreatDetectorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DnsThreatDetector, DnsThreatDetector.Builder

@Generated public interface DnsThreatDetectorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Immutable. Identifier. Name of the DnsThreatDetector resource.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Immutable. Identifier. Name of the DnsThreatDetector resource.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. Update time stamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. Update time stamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Update time stamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

      int getLabelsCount()
       Optional. Any labels associated with the DnsThreatDetector, listed as key
       value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Any labels associated with the DnsThreatDetector, listed as key
       value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Any labels associated with the DnsThreatDetector, listed as key
       value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Any labels associated with the DnsThreatDetector, listed as key
       value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Any labels associated with the DnsThreatDetector, listed as key
       value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getExcludedNetworksList

      List<String> getExcludedNetworksList()
       Optional. A list of network resource names which aren't monitored by this
       DnsThreatDetector.
      
       Example:
       `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
       
      repeated string excluded_networks = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the excludedNetworks.
    • getExcludedNetworksCount

      int getExcludedNetworksCount()
       Optional. A list of network resource names which aren't monitored by this
       DnsThreatDetector.
      
       Example:
       `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
       
      repeated string excluded_networks = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The count of excludedNetworks.
    • getExcludedNetworks

      String getExcludedNetworks(int index)
       Optional. A list of network resource names which aren't monitored by this
       DnsThreatDetector.
      
       Example:
       `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
       
      repeated string excluded_networks = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludedNetworks at the given index.
    • getExcludedNetworksBytes

      com.google.protobuf.ByteString getExcludedNetworksBytes(int index)
       Optional. A list of network resource names which aren't monitored by this
       DnsThreatDetector.
      
       Example:
       `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
       
      repeated string excluded_networks = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludedNetworks at the given index.
    • getProviderValue

      int getProviderValue()
       Required. The provider used for DNS threat analysis.
       
      .google.cloud.networksecurity.v1.DnsThreatDetector.Provider provider = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for provider.
    • getProvider

       Required. The provider used for DNS threat analysis.
       
      .google.cloud.networksecurity.v1.DnsThreatDetector.Provider provider = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The provider.