Class DiscoveredApiOperation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoveredApiOperation.Builder>
com.google.cloud.apihub.v1.DiscoveredApiOperation.Builder
All Implemented Interfaces:
DiscoveredApiOperationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DiscoveredApiOperation

public static final class DiscoveredApiOperation.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiscoveredApiOperation.Builder> implements DiscoveredApiOperationOrBuilder
 DiscoveredApiOperation represents an API Operation observed in one of the
 sources.
 
Protobuf type google.cloud.apihub.v1.DiscoveredApiOperation
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DiscoveredApiOperation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DiscoveredApiOperation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DiscoveredApiOperation.Builder>
    • getDefaultInstanceForType

      public DiscoveredApiOperation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DiscoveredApiOperation build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DiscoveredApiOperation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DiscoveredApiOperation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiscoveredApiOperation.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DiscoveredApiOperation.Builder>
    • mergeFrom

      public DiscoveredApiOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiscoveredApiOperation.Builder>
      Throws:
      IOException
    • getOperationCase

      public DiscoveredApiOperation.OperationCase getOperationCase()
      Specified by:
      getOperationCase in interface DiscoveredApiOperationOrBuilder
    • clearOperation

      public DiscoveredApiOperation.Builder clearOperation()
    • hasHttpOperation

      public boolean hasHttpOperation()
       Optional. An HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasHttpOperation in interface DiscoveredApiOperationOrBuilder
      Returns:
      Whether the httpOperation field is set.
    • getHttpOperation

      public HttpOperationDetails getHttpOperation()
       Optional. An HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHttpOperation in interface DiscoveredApiOperationOrBuilder
      Returns:
      The httpOperation.
    • setHttpOperation

      public DiscoveredApiOperation.Builder setHttpOperation(HttpOperationDetails value)
       Optional. An HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setHttpOperation

      public DiscoveredApiOperation.Builder setHttpOperation(HttpOperationDetails.Builder builderForValue)
       Optional. An HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeHttpOperation

      public DiscoveredApiOperation.Builder mergeHttpOperation(HttpOperationDetails value)
       Optional. An HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearHttpOperation

      public DiscoveredApiOperation.Builder clearHttpOperation()
       Optional. An HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperationDetails http_operation = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getHttpOperationBuilder

      public HttpOperationDetails.Builder getHttpOperationBuilder()
       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];
      Specified by:
      getHttpOperationOrBuilder in interface DiscoveredApiOperationOrBuilder
    • 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];
      Specified by:
      getName in interface DiscoveredApiOperationOrBuilder
      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:
      getNameBytes in interface DiscoveredApiOperationOrBuilder
      Returns:
      The bytes for name.
    • setName

      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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setNameBytes

      public DiscoveredApiOperation.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasFirstSeenTime

      public boolean hasFirstSeenTime()
       Optional. First seen time stamp
       
      .google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasFirstSeenTime in interface DiscoveredApiOperationOrBuilder
      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:
      getFirstSeenTime in interface DiscoveredApiOperationOrBuilder
      Returns:
      The firstSeenTime.
    • setFirstSeenTime

      public DiscoveredApiOperation.Builder setFirstSeenTime(com.google.protobuf.Timestamp value)
       Optional. First seen time stamp
       
      .google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setFirstSeenTime

      public DiscoveredApiOperation.Builder setFirstSeenTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Optional. First seen time stamp
       
      .google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeFirstSeenTime

      public DiscoveredApiOperation.Builder mergeFirstSeenTime(com.google.protobuf.Timestamp value)
       Optional. First seen time stamp
       
      .google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearFirstSeenTime

      public DiscoveredApiOperation.Builder clearFirstSeenTime()
       Optional. First seen time stamp
       
      .google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getFirstSeenTimeBuilder

      public com.google.protobuf.Timestamp.Builder getFirstSeenTimeBuilder()
       Optional. First seen time stamp
       
      .google.protobuf.Timestamp first_seen_time = 3 [(.google.api.field_behavior) = OPTIONAL];
    • 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:
      getFirstSeenTimeOrBuilder in interface DiscoveredApiOperationOrBuilder
    • hasLastSeenTime

      public boolean hasLastSeenTime()
       Optional. Last seen time stamp
       
      .google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasLastSeenTime in interface DiscoveredApiOperationOrBuilder
      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:
      getLastSeenTime in interface DiscoveredApiOperationOrBuilder
      Returns:
      The lastSeenTime.
    • setLastSeenTime

      public DiscoveredApiOperation.Builder setLastSeenTime(com.google.protobuf.Timestamp value)
       Optional. Last seen time stamp
       
      .google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setLastSeenTime

      public DiscoveredApiOperation.Builder setLastSeenTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Optional. Last seen time stamp
       
      .google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeLastSeenTime

      public DiscoveredApiOperation.Builder mergeLastSeenTime(com.google.protobuf.Timestamp value)
       Optional. Last seen time stamp
       
      .google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearLastSeenTime

      public DiscoveredApiOperation.Builder clearLastSeenTime()
       Optional. Last seen time stamp
       
      .google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLastSeenTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastSeenTimeBuilder()
       Optional. Last seen time stamp
       
      .google.protobuf.Timestamp last_seen_time = 4 [(.google.api.field_behavior) = OPTIONAL];
    • 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:
      getLastSeenTimeOrBuilder in interface DiscoveredApiOperationOrBuilder
    • getCount

      public long getCount()
       Optional. The number of occurrences of this API Operation.
       
      int64 count = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCount in interface DiscoveredApiOperationOrBuilder
      Returns:
      The count.
    • setCount

      public DiscoveredApiOperation.Builder setCount(long value)
       Optional. The number of occurrences of this API Operation.
       
      int64 count = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The count to set.
      Returns:
      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:
      This builder for chaining.
    • 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:
      getClassificationValue in interface DiscoveredApiOperationOrBuilder
      Returns:
      The enum numeric value on the wire for classification.
    • setClassificationValue

      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];
      Parameters:
      value - The enum numeric value on the wire for classification to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getClassification in interface DiscoveredApiOperationOrBuilder
      Returns:
      The classification.
    • setClassification

       Output only. The classification of the discovered API operation.
       
      .google.cloud.apihub.v1.DiscoveredApiOperation.Classification classification = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The classification to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      getMatchResultsList in interface DiscoveredApiOperationOrBuilder
    • 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:
      getMatchResultsCount in interface DiscoveredApiOperationOrBuilder
    • getMatchResults

      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];
      Specified by:
      getMatchResults in interface DiscoveredApiOperationOrBuilder
    • setMatchResults

      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];
    • setMatchResults

      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];
    • addMatchResults

       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];
    • addMatchResults

      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];
    • addMatchResults

       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];
    • addMatchResults

      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];
    • addAllMatchResults

      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];
    • 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];
    • removeMatchResults

      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];
    • getMatchResultsBuilder

      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];
    • getMatchResultsOrBuilder

      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];
      Specified by:
      getMatchResultsOrBuilder in interface DiscoveredApiOperationOrBuilder
    • 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];
      Specified by:
      getMatchResultsOrBuilderList in interface DiscoveredApiOperationOrBuilder
    • 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];
    • addMatchResultsBuilder

      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];
    • 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];
    • 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:
      hasSourceMetadata in interface DiscoveredApiOperationOrBuilder
      Returns:
      Whether the sourceMetadata field is set.
    • 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];
      Specified by:
      getSourceMetadata in interface DiscoveredApiOperationOrBuilder
      Returns:
      The sourceMetadata.
    • setSourceMetadata

      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];
    • setSourceMetadata

      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];
    • mergeSourceMetadata

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getSourceMetadataOrBuilder in interface DiscoveredApiOperationOrBuilder
    • 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:
      hasCreateTime in interface DiscoveredApiOperationOrBuilder
      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:
      getCreateTime in interface DiscoveredApiOperationOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public DiscoveredApiOperation.Builder setCreateTime(com.google.protobuf.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];
    • setCreateTime

      public DiscoveredApiOperation.Builder setCreateTime(com.google.protobuf.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];
    • mergeCreateTime

      public DiscoveredApiOperation.Builder mergeCreateTime(com.google.protobuf.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];
    • 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];
    • getCreateTimeBuilder

      public com.google.protobuf.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];
    • 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:
      getCreateTimeOrBuilder in interface DiscoveredApiOperationOrBuilder
    • 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:
      hasUpdateTime in interface DiscoveredApiOperationOrBuilder
      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:
      getUpdateTime in interface DiscoveredApiOperationOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public DiscoveredApiOperation.Builder setUpdateTime(com.google.protobuf.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];
    • setUpdateTime

      public DiscoveredApiOperation.Builder setUpdateTime(com.google.protobuf.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];
    • mergeUpdateTime

      public DiscoveredApiOperation.Builder mergeUpdateTime(com.google.protobuf.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];
    • 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];
    • getUpdateTimeBuilder

      public com.google.protobuf.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];
    • 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:
      getUpdateTimeOrBuilder in interface DiscoveredApiOperationOrBuilder