Package com.google.cloud.apihub.v1
Interface DiscoveredApiOperationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DiscoveredApiOperation,DiscoveredApiOperation.Builder
@Generated
public interface DiscoveredApiOperationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.intOutput only.longgetCount()Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Optional.Optional.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.getMatchResults(int index) Output only.intOutput only.Output only.getMatchResultsOrBuilder(int index) Output only.List<? extends DiscoveredApiOperation.MatchResultOrBuilder>Output only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.booleanOptional.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
-
hasHttpOperation
boolean hasHttpOperation()Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the httpOperation field is set.
-
getHttpOperation
HttpOperationDetails getHttpOperation()Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The httpOperation.
-
getHttpOperationOrBuilder
HttpOperationDetailsOrBuilder getHttpOperationOrBuilder()Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasFirstSeenTime
boolean hasFirstSeenTime()Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the firstSeenTime field is set.
-
getFirstSeenTime
com.google.protobuf.Timestamp getFirstSeenTime()Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The firstSeenTime.
-
getFirstSeenTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getFirstSeenTimeOrBuilder()Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasLastSeenTime
boolean hasLastSeenTime()Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the lastSeenTime field is set.
-
getLastSeenTime
com.google.protobuf.Timestamp getLastSeenTime()Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The lastSeenTime.
-
getLastSeenTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastSeenTimeOrBuilder()Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getCount
long getCount()Optional. The number of occurrences of this API Operation.
int64 count = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count.
-
getClassificationValue
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:
- The enum numeric value on the wire for classification.
-
getClassification
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:
- The classification.
-
getMatchResultsList
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]; -
getMatchResults
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]; -
getMatchResultsCount
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]; -
getMatchResultsOrBuilderList
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]; -
getMatchResultsOrBuilder
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]; -
hasSourceMetadata
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:
- Whether the sourceMetadata field is set.
-
getSourceMetadata
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:
- The sourceMetadata.
-
getSourceMetadataOrBuilder
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]; -
hasCreateTime
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:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.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:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.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]; -
hasUpdateTime
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:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.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:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.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]; -
getOperationCase
DiscoveredApiOperation.OperationCase getOperationCase()
-