public interface DiscoveredApiObservationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getApiOperationCount()
public abstract long getApiOperationCount()
Optional. The number of observed API Operations.
int64 api_operation_count = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The apiOperationCount. |
getCreateTime()
public abstract 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 | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getHostname()
public abstract String getHostname()
Optional. The hostname of requests processed for this Observation.
string hostname = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The hostname. |
getHostnameBytes()
public abstract ByteString getHostnameBytes()
Optional. The hostname of requests processed for this Observation.
string hostname = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for hostname. |
getKnownOperationsCount()
public abstract long getKnownOperationsCount()
Output only. The number of known API Operations.
int64 known_operations_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The knownOperationsCount. |
getLastEventDetectedTime()
public abstract Timestamp getLastEventDetectedTime()
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Timestamp |
The lastEventDetectedTime. |
getLastEventDetectedTimeOrBuilder()
public abstract TimestampOrBuilder getLastEventDetectedTimeOrBuilder()
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getName()
public abstract 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 | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getOrigin()
public abstract 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 | |
---|---|
Type | Description |
String |
The origin. |
getOriginBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for origin. |
getServerIps(int index)
public abstract 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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The serverIps at the given index. |
getServerIpsBytes(int index)
public abstract 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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the serverIps at the given index. |
getServerIpsCount()
public abstract 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 | |
---|---|
Type | Description |
int |
The count of serverIps. |
getServerIpsList()
public abstract 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 | |
---|---|
Type | Description |
List<String> |
A list containing the serverIps. |
getSourceLocations(int index)
public abstract 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) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The sourceLocations at the given index. |
getSourceLocationsBytes(int index)
public abstract 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) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the sourceLocations at the given index. |
getSourceLocationsCount()
public abstract int getSourceLocationsCount()
Optional. The location of the observation source.
repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of sourceLocations. |
getSourceLocationsList()
public abstract 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 | |
---|---|
Type | Description |
List<String> |
A list containing the sourceLocations. |
getSourceMetadata()
public abstract 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 | |
---|---|
Type | Description |
SourceMetadata |
The sourceMetadata. |
getSourceMetadataOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
SourceMetadataOrBuilder |
getSourceTypes(int index)
public abstract 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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.SourceType |
The sourceTypes at the given index. |
getSourceTypesCount()
public abstract 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 | |
---|---|
Type | Description |
int |
The count of sourceTypes. |
getSourceTypesList()
public abstract 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 | |
---|---|
Type | Description |
List<SourceType> |
A list containing the sourceTypes. |
getSourceTypesValue(int index)
public abstract 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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of sourceTypes at the given index. |
getSourceTypesValueList()
public abstract 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 | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for sourceTypes. |
getStyle()
public abstract DiscoveredApiObservation.Style getStyle()
Optional. Style of ApiObservation
.google.cloud.apihub.v1.DiscoveredApiObservation.Style style = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Style |
The style. |
getStyleValue()
public abstract int getStyleValue()
Optional. Style of ApiObservation
.google.cloud.apihub.v1.DiscoveredApiObservation.Style style = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for style. |
getUnknownOperationsCount()
public abstract long getUnknownOperationsCount()
Output only. The number of unknown API Operations.
int64 unknown_operations_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The unknownOperationsCount. |
getUpdateTime()
public abstract 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 | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasLastEventDetectedTime()
public abstract boolean hasLastEventDetectedTime()
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the lastEventDetectedTime field is set. |
hasSourceMetadata()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the sourceMetadata field is set. |
hasUpdateTime()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |