Interface DiscoveredApiOperationOrBuilder (0.28.0)

public interface DiscoveredApiOperationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClassification()

public abstract DiscoveredApiOperation.Classification getClassification()

Output only. The classification of the discovered API operation.

.google.cloud.apihub.v1.DiscoveredApiOperation.Classification classification = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DiscoveredApiOperation.Classification

The classification.

getClassificationValue()

public abstract int getClassificationValue()

Output only. The classification of the discovered API operation.

.google.cloud.apihub.v1.DiscoveredApiOperation.Classification classification = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for classification.

getCount()

public abstract long getCount()

Optional. The number of occurrences of this API Operation.

int64 count = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The count.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Create time stamp of the discovered API operation in API Hub.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Create time stamp of the discovered API operation in API Hub.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getFirstSeenTime()

public abstract Timestamp getFirstSeenTime()

Optional. First seen time stamp

.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The firstSeenTime.

getFirstSeenTimeOrBuilder()

public abstract TimestampOrBuilder getFirstSeenTimeOrBuilder()

Optional. First seen time stamp

.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getHttpOperation()

public abstract HttpOperationDetails getHttpOperation()

Optional. An HTTP Operation.

.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HttpOperationDetails

The httpOperation.

getHttpOperationOrBuilder()

public abstract HttpOperationDetailsOrBuilder getHttpOperationOrBuilder()

Optional. An HTTP Operation.

.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HttpOperationDetailsOrBuilder

getLastSeenTime()

public abstract Timestamp getLastSeenTime()

Optional. Last seen time stamp

.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The lastSeenTime.

getLastSeenTimeOrBuilder()

public abstract TimestampOrBuilder getLastSeenTimeOrBuilder()

Optional. Last seen time stamp

.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getMatchResults(int index)

public abstract DiscoveredApiOperation.MatchResult getMatchResults(int index)

Output only. The list of matched results for the discovered API operation. This will be populated only if the classification is known. The current usecase is for a single match. Keeping it repeated to support multiple matches in future.

repeated .google.cloud.apihub.v1.DiscoveredApiOperation.MatchResult match_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DiscoveredApiOperation.MatchResult

getMatchResultsCount()

public abstract int getMatchResultsCount()

Output only. The list of matched results for the discovered API operation. This will be populated only if the classification is known. The current usecase is for a single match. Keeping it repeated to support multiple matches in future.

repeated .google.cloud.apihub.v1.DiscoveredApiOperation.MatchResult match_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getMatchResultsList()

public abstract List<DiscoveredApiOperation.MatchResult> getMatchResultsList()

Output only. The list of matched results for the discovered API operation. This will be populated only if the classification is known. The current usecase is for a single match. Keeping it repeated to support multiple matches in future.

repeated .google.cloud.apihub.v1.DiscoveredApiOperation.MatchResult match_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<MatchResult>

getMatchResultsOrBuilder(int index)

public abstract DiscoveredApiOperation.MatchResultOrBuilder getMatchResultsOrBuilder(int index)

Output only. The list of matched results for the discovered API operation. This will be populated only if the classification is known. The current usecase is for a single match. Keeping it repeated to support multiple matches in future.

repeated .google.cloud.apihub.v1.DiscoveredApiOperation.MatchResult match_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DiscoveredApiOperation.MatchResultOrBuilder

getMatchResultsOrBuilderList()

public abstract List<? extends DiscoveredApiOperation.MatchResultOrBuilder> getMatchResultsOrBuilderList()

Output only. The list of matched results for the discovered API operation. This will be populated only if the classification is known. The current usecase is for a single match. Keeping it repeated to support multiple matches in future.

repeated .google.cloud.apihub.v1.DiscoveredApiOperation.MatchResult match_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.apihub.v1.DiscoveredApiOperation.MatchResultOrBuilder>

getName()

public abstract String getName()

Identifier. The name of the discovered API Operation.

Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}

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 Operation.

Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getOperationCase()

public abstract DiscoveredApiOperation.OperationCase getOperationCase()
Returns
Type Description
DiscoveredApiOperation.OperationCase

getSourceMetadata()

public abstract SourceMetadata getSourceMetadata()

Output only. The metadata of the source from which the api operation was collected.

.google.cloud.apihub.v1.SourceMetadata source_metadata = 8 [(.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 api operation was collected.

.google.cloud.apihub.v1.SourceMetadata source_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceMetadataOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Update time stamp of the discovered API operation in API Hub.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time stamp of the discovered API operation in API Hub.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Create time stamp of the discovered API operation in API Hub.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasFirstSeenTime()

public abstract boolean hasFirstSeenTime()

Optional. First seen time stamp

.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the firstSeenTime field is set.

hasHttpOperation()

public abstract boolean hasHttpOperation()

Optional. An HTTP Operation.

.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the httpOperation field is set.

hasLastSeenTime()

public abstract boolean hasLastSeenTime()

Optional. Last seen time stamp

.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the lastSeenTime field is set.

hasSourceMetadata()

public abstract boolean hasSourceMetadata()

Output only. The metadata of the source from which the api operation was collected.

.google.cloud.apihub.v1.SourceMetadata source_metadata = 8 [(.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 discovered API operation in API Hub.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.