public static final class DiscoveredApiOperation.Builder extends GeneratedMessageV3.Builder<DiscoveredApiOperation.Builder> implements DiscoveredApiOperationOrBuilder
DiscoveredApiOperation represents an API Operation observed in one of the sources.
Protobuf type google.cloud.apihub.v1.DiscoveredApiOperation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiscoveredApiOperation.BuilderImplements
DiscoveredApiOperationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllMatchResults(Iterable<? extends DiscoveredApiOperation.MatchResult> values)
public DiscoveredApiOperation.Builder addAllMatchResults(Iterable<? extends DiscoveredApiOperation.MatchResult> values)
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 |
values |
Iterable<? extends com.google.cloud.apihub.v1.DiscoveredApiOperation.MatchResult> |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
addMatchResults(DiscoveredApiOperation.MatchResult value)
public DiscoveredApiOperation.Builder addMatchResults(DiscoveredApiOperation.MatchResult value)
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 |
value |
DiscoveredApiOperation.MatchResult |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
addMatchResults(DiscoveredApiOperation.MatchResult.Builder builderForValue)
public DiscoveredApiOperation.Builder addMatchResults(DiscoveredApiOperation.MatchResult.Builder builderForValue)
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 |
builderForValue |
DiscoveredApiOperation.MatchResult.Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
addMatchResults(int index, DiscoveredApiOperation.MatchResult value)
public DiscoveredApiOperation.Builder addMatchResults(int index, DiscoveredApiOperation.MatchResult value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
DiscoveredApiOperation.MatchResult |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
addMatchResults(int index, DiscoveredApiOperation.MatchResult.Builder builderForValue)
public DiscoveredApiOperation.Builder addMatchResults(int index, DiscoveredApiOperation.MatchResult.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
DiscoveredApiOperation.MatchResult.Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
addMatchResultsBuilder()
public DiscoveredApiOperation.MatchResult.Builder addMatchResultsBuilder()
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 |
DiscoveredApiOperation.MatchResult.Builder |
addMatchResultsBuilder(int index)
public DiscoveredApiOperation.MatchResult.Builder addMatchResultsBuilder(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.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveredApiOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
build()
public DiscoveredApiOperation build()
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation |
buildPartial()
public DiscoveredApiOperation buildPartial()
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation |
clear()
public DiscoveredApiOperation.Builder clear()
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
clearClassification()
public DiscoveredApiOperation.Builder clearClassification()
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.Builder |
This builder for chaining. |
clearCount()
public DiscoveredApiOperation.Builder clearCount()
Optional. The number of occurrences of this API Operation.
int64 count = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
This builder for chaining. |
clearCreateTime()
public DiscoveredApiOperation.Builder clearCreateTime()
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 |
DiscoveredApiOperation.Builder |
clearField(Descriptors.FieldDescriptor field)
public DiscoveredApiOperation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
clearFirstSeenTime()
public DiscoveredApiOperation.Builder clearFirstSeenTime()
Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
clearHttpOperation()
public DiscoveredApiOperation.Builder clearHttpOperation()
Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
clearLastSeenTime()
public DiscoveredApiOperation.Builder clearLastSeenTime()
Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
clearMatchResults()
public DiscoveredApiOperation.Builder clearMatchResults()
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 |
DiscoveredApiOperation.Builder |
clearName()
public DiscoveredApiOperation.Builder clearName()
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 |
DiscoveredApiOperation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveredApiOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
clearOperation()
public DiscoveredApiOperation.Builder clearOperation()
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
clearSourceMetadata()
public DiscoveredApiOperation.Builder clearSourceMetadata()
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 |
DiscoveredApiOperation.Builder |
clearUpdateTime()
public DiscoveredApiOperation.Builder clearUpdateTime()
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 |
DiscoveredApiOperation.Builder |
clone()
public DiscoveredApiOperation.Builder clone()
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
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];
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Classification |
The classification. |
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()
public 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 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
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 |
Builder |
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public DiscoveredApiOperation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getFirstSeenTimeBuilder()
public Timestamp.Builder getFirstSeenTimeBuilder()
Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getFirstSeenTimeOrBuilder()
public 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 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. |
getHttpOperationBuilder()
public HttpOperationDetails.Builder getHttpOperationBuilder()
Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
HttpOperationDetails.Builder |
getHttpOperationOrBuilder()
public 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 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. |
getLastSeenTimeBuilder()
public Timestamp.Builder getLastSeenTimeBuilder()
Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getLastSeenTimeOrBuilder()
public 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 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 |
getMatchResultsBuilder(int index)
public DiscoveredApiOperation.MatchResult.Builder getMatchResultsBuilder(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.Builder |
getMatchResultsBuilderList()
public List<DiscoveredApiOperation.MatchResult.Builder> getMatchResultsBuilderList()
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<Builder> |
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];
Returns | |
---|---|
Type | Description |
List<MatchResult> |
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 |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.MatchResultOrBuilder |
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()
public 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 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()
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.OperationCase |
getSourceMetadata()
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];
Returns | |
---|---|
Type | Description |
SourceMetadata |
The sourceMetadata. |
getSourceMetadataBuilder()
public SourceMetadata.Builder getSourceMetadataBuilder()
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.Builder |
getSourceMetadataOrBuilder()
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];
Returns | |
---|---|
Type | Description |
SourceMetadataOrBuilder |
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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
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 |
Builder |
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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. |
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];
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public DiscoveredApiOperation.Builder mergeCreateTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
mergeFirstSeenTime(Timestamp value)
public DiscoveredApiOperation.Builder mergeFirstSeenTime(Timestamp value)
Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
mergeFrom(DiscoveredApiOperation other)
public DiscoveredApiOperation.Builder mergeFrom(DiscoveredApiOperation other)
Parameter | |
---|---|
Name | Description |
other |
DiscoveredApiOperation |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveredApiOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DiscoveredApiOperation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
mergeHttpOperation(HttpOperationDetails value)
public DiscoveredApiOperation.Builder mergeHttpOperation(HttpOperationDetails value)
Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
HttpOperationDetails |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
mergeLastSeenTime(Timestamp value)
public DiscoveredApiOperation.Builder mergeLastSeenTime(Timestamp value)
Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
mergeSourceMetadata(SourceMetadata value)
public DiscoveredApiOperation.Builder mergeSourceMetadata(SourceMetadata value)
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];
Parameter | |
---|---|
Name | Description |
value |
SourceMetadata |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveredApiOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
mergeUpdateTime(Timestamp value)
public DiscoveredApiOperation.Builder mergeUpdateTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
removeMatchResults(int index)
public DiscoveredApiOperation.Builder removeMatchResults(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.Builder |
setClassification(DiscoveredApiOperation.Classification value)
public DiscoveredApiOperation.Builder setClassification(DiscoveredApiOperation.Classification value)
Output only. The classification of the discovered API operation.
.google.cloud.apihub.v1.DiscoveredApiOperation.Classification classification = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
DiscoveredApiOperation.Classification The classification to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
This builder for chaining. |
setClassificationValue(int value)
public DiscoveredApiOperation.Builder setClassificationValue(int value)
Output only. The classification of the discovered API operation.
.google.cloud.apihub.v1.DiscoveredApiOperation.Classification classification = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for classification to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
This builder for chaining. |
setCount(long value)
public DiscoveredApiOperation.Builder setCount(long value)
Optional. The number of occurrences of this API Operation.
int64 count = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The count to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public DiscoveredApiOperation.Builder setCreateTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public DiscoveredApiOperation.Builder setCreateTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveredApiOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setFirstSeenTime(Timestamp value)
public DiscoveredApiOperation.Builder setFirstSeenTime(Timestamp value)
Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setFirstSeenTime(Timestamp.Builder builderForValue)
public DiscoveredApiOperation.Builder setFirstSeenTime(Timestamp.Builder builderForValue)
Optional. First seen time stamp
.google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setHttpOperation(HttpOperationDetails value)
public DiscoveredApiOperation.Builder setHttpOperation(HttpOperationDetails value)
Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
HttpOperationDetails |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setHttpOperation(HttpOperationDetails.Builder builderForValue)
public DiscoveredApiOperation.Builder setHttpOperation(HttpOperationDetails.Builder builderForValue)
Optional. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
HttpOperationDetails.Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setLastSeenTime(Timestamp value)
public DiscoveredApiOperation.Builder setLastSeenTime(Timestamp value)
Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setLastSeenTime(Timestamp.Builder builderForValue)
public DiscoveredApiOperation.Builder setLastSeenTime(Timestamp.Builder builderForValue)
Optional. Last seen time stamp
.google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setMatchResults(int index, DiscoveredApiOperation.MatchResult value)
public DiscoveredApiOperation.Builder setMatchResults(int index, DiscoveredApiOperation.MatchResult value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
DiscoveredApiOperation.MatchResult |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setMatchResults(int index, DiscoveredApiOperation.MatchResult.Builder builderForValue)
public DiscoveredApiOperation.Builder setMatchResults(int index, DiscoveredApiOperation.MatchResult.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
DiscoveredApiOperation.MatchResult.Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setName(String value)
public DiscoveredApiOperation.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DiscoveredApiOperation.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveredApiOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setSourceMetadata(SourceMetadata value)
public DiscoveredApiOperation.Builder setSourceMetadata(SourceMetadata value)
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];
Parameter | |
---|---|
Name | Description |
value |
SourceMetadata |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setSourceMetadata(SourceMetadata.Builder builderForValue)
public DiscoveredApiOperation.Builder setSourceMetadata(SourceMetadata.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
SourceMetadata.Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveredApiOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setUpdateTime(Timestamp value)
public DiscoveredApiOperation.Builder setUpdateTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public DiscoveredApiOperation.Builder setUpdateTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiOperation.Builder |