Package com.google.cloud.apihub.v1
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 Summary
Modifier and TypeMethodDescriptionlongOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.longOutput only.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.com.google.protobuf.ByteStringOptional.getServerIps(int index) Optional.com.google.protobuf.ByteStringgetServerIpsBytes(int index) Optional.intOptional.Optional.getSourceLocations(int index) Optional.com.google.protobuf.ByteStringgetSourceLocationsBytes(int index) Optional.intOptional.Optional.Output only.Output only.getSourceTypes(int index) Optional.intOptional.Optional.intgetSourceTypesValue(int index) Optional.Optional.getStyle()Optional.intOptional.longOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
DiscoveredApiObservation.Style getStyle()Optional. Style of ApiObservation
.google.cloud.apihub.v1.DiscoveredApiObservation.Style style = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The style.
-
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
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
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
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
List<DiscoveredApiObservation.SourceType> 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
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
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];
-