public final class DiscoveredApiOperation extends GeneratedMessageV3 implements DiscoveredApiOperationOrBuilder
DiscoveredApiOperation represents an API Operation observed in one of the
sources.
Protobuf type google.cloud.apihub.v1.DiscoveredApiOperation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLASSIFICATION_FIELD_NUMBER
public static final int CLASSIFICATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FIRST_SEEN_TIME_FIELD_NUMBER
public static final int FIRST_SEEN_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HTTP_OPERATION_FIELD_NUMBER
public static final int HTTP_OPERATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LAST_SEEN_TIME_FIELD_NUMBER
public static final int LAST_SEEN_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MATCH_RESULTS_FIELD_NUMBER
public static final int MATCH_RESULTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SOURCE_METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DiscoveredApiOperation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiscoveredApiOperation.Builder newBuilder()
newBuilder(DiscoveredApiOperation prototype)
public static DiscoveredApiOperation.Builder newBuilder(DiscoveredApiOperation prototype)
public static DiscoveredApiOperation parseDelimitedFrom(InputStream input)
public static DiscoveredApiOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiscoveredApiOperation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiscoveredApiOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiscoveredApiOperation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveredApiOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveredApiOperation parseFrom(CodedInputStream input)
public static DiscoveredApiOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiscoveredApiOperation parseFrom(InputStream input)
public static DiscoveredApiOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiscoveredApiOperation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiscoveredApiOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiscoveredApiOperation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getClassification()
public 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];
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];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for classification.
|
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 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 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];
getDefaultInstanceForType()
public DiscoveredApiOperation getDefaultInstanceForType()
getFirstSeenTime()
public 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 TimestampOrBuilder getFirstSeenTimeOrBuilder()
Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
getHttpOperation()
public HttpOperationDetails getHttpOperation()
Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
getHttpOperationOrBuilder()
public HttpOperationDetailsOrBuilder getHttpOperationOrBuilder()
Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
getLastSeenTime()
public 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 TimestampOrBuilder getLastSeenTimeOrBuilder()
Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
getMatchResults(int index)
public 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
|
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];
Returns |
Type |
Description |
int |
|
getMatchResultsList()
public 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];
getMatchResultsOrBuilder(int index)
public 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
|
getMatchResultsOrBuilderList()
public 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()
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 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 DiscoveredApiOperation.OperationCase getOperationCase()
getParserForType()
public Parser<DiscoveredApiOperation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public 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];
public 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];
getUpdateTime()
public 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 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];
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];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasFirstSeenTime()
public 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 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 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.
|
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];
Returns |
Type |
Description |
boolean |
Whether the sourceMetadata field is set.
|
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];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiscoveredApiOperation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiscoveredApiOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DiscoveredApiOperation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides