Package com.google.cloud.apihub.v1
Class DiscoveredApiOperation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.apihub.v1.DiscoveredApiOperation
- All Implemented Interfaces:
DiscoveredApiOperationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DiscoveredApiOperation
extends com.google.protobuf.GeneratedMessage
implements DiscoveredApiOperationOrBuilder
DiscoveredApiOperation represents an API Operation observed in one of the sources.Protobuf type
google.cloud.apihub.v1.DiscoveredApiOperation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDiscoveredApiOperation represents an API Operation observed in one of the sources.static enumThe classification of the discovered API operation.static final classMatchResult represents the result of matching a discovered API operation with a catalog API operation.static interfacestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.intOutput only.longgetCount()Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static DiscoveredApiOperationstatic final com.google.protobuf.Descriptors.Descriptorcom.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.com.google.protobuf.Parser<DiscoveredApiOperation>intOutput only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.inthashCode()booleanOptional.booleanOptional.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(DiscoveredApiOperation prototype) protected DiscoveredApiOperation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DiscoveredApiOperationparseDelimitedFrom(InputStream input) static DiscoveredApiOperationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveredApiOperationparseFrom(byte[] data) static DiscoveredApiOperationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveredApiOperationparseFrom(com.google.protobuf.ByteString data) static DiscoveredApiOperationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveredApiOperationparseFrom(com.google.protobuf.CodedInputStream input) static DiscoveredApiOperationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveredApiOperationparseFrom(InputStream input) static DiscoveredApiOperationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveredApiOperationparseFrom(ByteBuffer data) static DiscoveredApiOperationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DiscoveredApiOperation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
HTTP_OPERATION_FIELD_NUMBER
public static final int HTTP_OPERATION_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FIRST_SEEN_TIME_FIELD_NUMBER
public static final int FIRST_SEEN_TIME_FIELD_NUMBER- See Also:
-
LAST_SEEN_TIME_FIELD_NUMBER
public static final int LAST_SEEN_TIME_FIELD_NUMBER- See Also:
-
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER- See Also:
-
CLASSIFICATION_FIELD_NUMBER
public static final int CLASSIFICATION_FIELD_NUMBER- See Also:
-
MATCH_RESULTS_FIELD_NUMBER
public static final int MATCH_RESULTS_FIELD_NUMBER- See Also:
-
SOURCE_METADATA_FIELD_NUMBER
public static final int SOURCE_METADATA_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getOperationCase
- Specified by:
getOperationCasein interfaceDiscoveredApiOperationOrBuilder
-
hasHttpOperation
public boolean hasHttpOperation()Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasHttpOperationin interfaceDiscoveredApiOperationOrBuilder- Returns:
- Whether the httpOperation field is set.
-
getHttpOperation
Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHttpOperationin interfaceDiscoveredApiOperationOrBuilder- Returns:
- The httpOperation.
-
getHttpOperationOrBuilder
Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHttpOperationOrBuilderin interfaceDiscoveredApiOperationOrBuilder
-
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];- Specified by:
getNamein interfaceDiscoveredApiOperationOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceDiscoveredApiOperationOrBuilder- Returns:
- The bytes for name.
-
hasFirstSeenTime
public boolean hasFirstSeenTime()Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasFirstSeenTimein interfaceDiscoveredApiOperationOrBuilder- Returns:
- Whether the firstSeenTime field is set.
-
getFirstSeenTime
public com.google.protobuf.Timestamp getFirstSeenTime()Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFirstSeenTimein interfaceDiscoveredApiOperationOrBuilder- Returns:
- The firstSeenTime.
-
getFirstSeenTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getFirstSeenTimeOrBuilder()Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFirstSeenTimeOrBuilderin interfaceDiscoveredApiOperationOrBuilder
-
hasLastSeenTime
public boolean hasLastSeenTime()Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLastSeenTimein interfaceDiscoveredApiOperationOrBuilder- Returns:
- Whether the lastSeenTime field is set.
-
getLastSeenTime
public com.google.protobuf.Timestamp getLastSeenTime()Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLastSeenTimein interfaceDiscoveredApiOperationOrBuilder- Returns:
- The lastSeenTime.
-
getLastSeenTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastSeenTimeOrBuilder()Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLastSeenTimeOrBuilderin interfaceDiscoveredApiOperationOrBuilder
-
getCount
public long getCount()Optional. The number of occurrences of this API Operation.
int64 count = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCountin interfaceDiscoveredApiOperationOrBuilder- Returns:
- The count.
-
getClassificationValue
public 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];- Specified by:
getClassificationValuein interfaceDiscoveredApiOperationOrBuilder- Returns:
- The enum numeric value on the wire for 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];- Specified by:
getClassificationin interfaceDiscoveredApiOperationOrBuilder- Returns:
- The classification.
-
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];- Specified by:
getMatchResultsListin interfaceDiscoveredApiOperationOrBuilder
-
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];- Specified by:
getMatchResultsOrBuilderListin interfaceDiscoveredApiOperationOrBuilder
-
getMatchResultsCount
public 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];- Specified by:
getMatchResultsCountin interfaceDiscoveredApiOperationOrBuilder
-
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];- Specified by:
getMatchResultsin interfaceDiscoveredApiOperationOrBuilder
-
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];- Specified by:
getMatchResultsOrBuilderin interfaceDiscoveredApiOperationOrBuilder
-
hasSourceMetadata
public 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];- Specified by:
hasSourceMetadatain interfaceDiscoveredApiOperationOrBuilder- Returns:
- Whether the sourceMetadata field is set.
-
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];- Specified by:
getSourceMetadatain interfaceDiscoveredApiOperationOrBuilder- Returns:
- The sourceMetadata.
-
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];- Specified by:
getSourceMetadataOrBuilderin interfaceDiscoveredApiOperationOrBuilder
-
hasCreateTime
public 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];- Specified by:
hasCreateTimein interfaceDiscoveredApiOperationOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceDiscoveredApiOperationOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceDiscoveredApiOperationOrBuilder
-
hasUpdateTime
public 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];- Specified by:
hasUpdateTimein interfaceDiscoveredApiOperationOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceDiscoveredApiOperationOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceDiscoveredApiOperationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DiscoveredApiOperation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveredApiOperation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveredApiOperation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveredApiOperation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveredApiOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveredApiOperation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DiscoveredApiOperation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DiscoveredApiOperation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DiscoveredApiOperation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DiscoveredApiOperation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiscoveredApiOperation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-