Class ListDnsThreatDetectorsResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networksecurity.v1beta1.ListDnsThreatDetectorsResponse
All Implemented Interfaces:
ListDnsThreatDetectorsResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ListDnsThreatDetectorsResponse extends com.google.protobuf.GeneratedMessage implements ListDnsThreatDetectorsResponseOrBuilder
 The response message to requesting a list of DnsThreatDetectors.
 
Protobuf type google.cloud.networksecurity.v1beta1.ListDnsThreatDetectorsResponse
See Also:
  • Field Details

    • DNS_THREAT_DETECTORS_FIELD_NUMBER

      public static final int DNS_THREAT_DETECTORS_FIELD_NUMBER
      See Also:
    • NEXT_PAGE_TOKEN_FIELD_NUMBER

      public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
      See Also:
    • UNREACHABLE_FIELD_NUMBER

      public static final int UNREACHABLE_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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDnsThreatDetectorsList

      public List<DnsThreatDetector> getDnsThreatDetectorsList()
       The list of DnsThreatDetector resources.
       
      repeated .google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detectors = 1;
      Specified by:
      getDnsThreatDetectorsList in interface ListDnsThreatDetectorsResponseOrBuilder
    • getDnsThreatDetectorsOrBuilderList

      public List<? extends DnsThreatDetectorOrBuilder> getDnsThreatDetectorsOrBuilderList()
       The list of DnsThreatDetector resources.
       
      repeated .google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detectors = 1;
      Specified by:
      getDnsThreatDetectorsOrBuilderList in interface ListDnsThreatDetectorsResponseOrBuilder
    • getDnsThreatDetectorsCount

      public int getDnsThreatDetectorsCount()
       The list of DnsThreatDetector resources.
       
      repeated .google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detectors = 1;
      Specified by:
      getDnsThreatDetectorsCount in interface ListDnsThreatDetectorsResponseOrBuilder
    • getDnsThreatDetectors

      public DnsThreatDetector getDnsThreatDetectors(int index)
       The list of DnsThreatDetector resources.
       
      repeated .google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detectors = 1;
      Specified by:
      getDnsThreatDetectors in interface ListDnsThreatDetectorsResponseOrBuilder
    • getDnsThreatDetectorsOrBuilder

      public DnsThreatDetectorOrBuilder getDnsThreatDetectorsOrBuilder(int index)
       The list of DnsThreatDetector resources.
       
      repeated .google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detectors = 1;
      Specified by:
      getDnsThreatDetectorsOrBuilder in interface ListDnsThreatDetectorsResponseOrBuilder
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as `page_token`, to retrieve the next page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDnsThreatDetectorsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as `page_token`, to retrieve the next page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDnsThreatDetectorsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Unordered list. Unreachable `DnsThreatDetector` resources.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableList in interface ListDnsThreatDetectorsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unordered list. Unreachable `DnsThreatDetector` resources.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableCount in interface ListDnsThreatDetectorsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unordered list. Unreachable `DnsThreatDetector` resources.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachable in interface ListDnsThreatDetectorsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Unordered list. Unreachable `DnsThreatDetector` resources.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableBytes in interface ListDnsThreatDetectorsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • 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 ListDnsThreatDetectorsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ListDnsThreatDetectorsResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static ListDnsThreatDetectorsResponse getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ListDnsThreatDetectorsResponse> 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 ListDnsThreatDetectorsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder