Interface DiscoveredApiObservationOrBuilder

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

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

    • getName

      String getName()
       Identifier. The name of the discovered API Observation.
      
       Format:
       `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the discovered API Observation.
      
       Format:
       `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getStyleValue

      int getStyleValue()
       Optional. Style of ApiObservation
       
      .google.cloud.apihub.v1.DiscoveredApiObservation.Style style = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for style.
    • getStyle

       Optional. Style of ApiObservation
       
      .google.cloud.apihub.v1.DiscoveredApiObservation.Style style = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The style.
    • getServerIpsList

      List<String> getServerIpsList()
       Optional. The IP address (IPv4 or IPv6) of the origin server that the
       request was sent to. This field can include port information. Examples:
       `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
       
      repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the serverIps.
    • getServerIpsCount

      int getServerIpsCount()
       Optional. The IP address (IPv4 or IPv6) of the origin server that the
       request was sent to. This field can include port information. Examples:
       `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
       
      repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of serverIps.
    • getServerIps

      String getServerIps(int index)
       Optional. The IP address (IPv4 or IPv6) of the origin server that the
       request was sent to. This field can include port information. Examples:
       `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
       
      repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The serverIps at the given index.
    • getServerIpsBytes

      com.google.protobuf.ByteString getServerIpsBytes(int index)
       Optional. The IP address (IPv4 or IPv6) of the origin server that the
       request was sent to. This field can include port information. Examples:
       `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
       
      repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the serverIps at the given index.
    • getHostname

      String getHostname()
       Optional. The hostname of requests processed for this Observation.
       
      string hostname = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The hostname.
    • getHostnameBytes

      com.google.protobuf.ByteString getHostnameBytes()
       Optional. The hostname of requests processed for this Observation.
       
      string hostname = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for hostname.
    • hasLastEventDetectedTime

      boolean hasLastEventDetectedTime()
       Optional. Last event detected time stamp
       
      .google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the lastEventDetectedTime field is set.
    • getLastEventDetectedTime

      com.google.protobuf.Timestamp getLastEventDetectedTime()
       Optional. Last event detected time stamp
       
      .google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The lastEventDetectedTime.
    • getLastEventDetectedTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastEventDetectedTimeOrBuilder()
       Optional. Last event detected time stamp
       
      .google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceLocationsList

      List<String> getSourceLocationsList()
       Optional. The location of the observation source.
       
      repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the sourceLocations.
    • getSourceLocationsCount

      int getSourceLocationsCount()
       Optional. The location of the observation source.
       
      repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The count of sourceLocations.
    • getSourceLocations

      String getSourceLocations(int index)
       Optional. The location of the observation source.
       
      repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourceLocations at the given index.
    • getSourceLocationsBytes

      com.google.protobuf.ByteString getSourceLocationsBytes(int index)
       Optional. The location of the observation source.
       
      repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourceLocations at the given index.
    • getApiOperationCount

      long getApiOperationCount()
       Optional. The number of observed API Operations.
       
      int64 api_operation_count = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The apiOperationCount.
    • getOrigin

      String getOrigin()
       Optional. For an observation pushed from a gcp resource, this would be the
       gcp project id.
       
      string origin = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The origin.
    • getOriginBytes

      com.google.protobuf.ByteString getOriginBytes()
       Optional. For an observation pushed from a gcp resource, this would be the
       gcp project id.
       
      string origin = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for origin.
    • getSourceTypesList

       Optional. The type of the source from which the observation was collected.
       
      repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the sourceTypes.
    • getSourceTypesCount

      int getSourceTypesCount()
       Optional. The type of the source from which the observation was collected.
       
      repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of sourceTypes.
    • getSourceTypes

      DiscoveredApiObservation.SourceType getSourceTypes(int index)
       Optional. The type of the source from which the observation was collected.
       
      repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourceTypes at the given index.
    • getSourceTypesValueList

      List<Integer> getSourceTypesValueList()
       Optional. The type of the source from which the observation was collected.
       
      repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the enum numeric values on the wire for sourceTypes.
    • getSourceTypesValue

      int getSourceTypesValue(int index)
       Optional. The type of the source from which the observation was collected.
       
      repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of sourceTypes at the given index.
    • getKnownOperationsCount

      long getKnownOperationsCount()
       Output only. The number of known API Operations.
       
      int64 known_operations_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The knownOperationsCount.
    • getUnknownOperationsCount

      long getUnknownOperationsCount()
       Output only. The number of unknown API Operations.
       
      int64 unknown_operations_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The unknownOperationsCount.
    • hasCreateTime

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

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Create time stamp of the observation in API Hub.
       
      .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Create time stamp of the observation in API Hub.
       
      .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

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

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. Update time stamp of the observation in API Hub.
       
      .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Update time stamp of the observation in API Hub.
       
      .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasSourceMetadata

      boolean hasSourceMetadata()
       Output only. The metadata of the source from which the observation was
       collected.
       
      .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the sourceMetadata field is set.
    • getSourceMetadata

      SourceMetadata getSourceMetadata()
       Output only. The metadata of the source from which the observation was
       collected.
       
      .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The sourceMetadata.
    • getSourceMetadataOrBuilder

      SourceMetadataOrBuilder getSourceMetadataOrBuilder()
       Output only. The metadata of the source from which the observation was
       collected.
       
      .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];