Class ApiOperation.Builder

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

public static final class ApiOperation.Builder extends com.google.protobuf.GeneratedMessage.Builder<ApiOperation.Builder> implements ApiOperationOrBuilder
 Represents an operation contained in an API version in the API Hub.
 An operation is added/updated/deleted in an API version when a new spec is
 added or an existing spec is updated/deleted in a version.
 Currently, an operation will be created only corresponding to OpenAPI spec as
 parsing is supported for OpenAPI spec.
 Alternatively operations can be managed via create,update and delete APIs,
 creation of apiOperation can be possible only for version with no parsed
 operations and update/delete can be possible only for operations created via
 create API.
 
Protobuf type google.cloud.apihub.v1.ApiOperation
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ApiOperation.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ApiOperation.Builder>
    • internalGetFieldAccessorTable

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

      public ApiOperation.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<ApiOperation.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<ApiOperation.Builder>
    • getDefaultInstanceForType

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

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

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

      public ApiOperation.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<ApiOperation.Builder>
    • mergeFrom

      public ApiOperation.Builder mergeFrom(ApiOperation other)
    • isInitialized

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

      public ApiOperation.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<ApiOperation.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The name of the operation.
      
       Format:
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ApiOperationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the operation.
      
       Format:
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ApiOperationOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ApiOperation.Builder setName(String value)
       Identifier. The name of the operation.
      
       Format:
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ApiOperation.Builder clearName()
       Identifier. The name of the operation.
      
       Format:
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ApiOperation.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the operation.
      
       Format:
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getSpec

      public String getSpec()
       Output only. The name of the spec will be of the format:
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
       Note:The name of the spec will be empty if the operation is created via
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.
       
      string spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getSpec in interface ApiOperationOrBuilder
      Returns:
      The spec.
    • getSpecBytes

      public com.google.protobuf.ByteString getSpecBytes()
       Output only. The name of the spec will be of the format:
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
       Note:The name of the spec will be empty if the operation is created via
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.
       
      string spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getSpecBytes in interface ApiOperationOrBuilder
      Returns:
      The bytes for spec.
    • setSpec

      public ApiOperation.Builder setSpec(String value)
       Output only. The name of the spec will be of the format:
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
       Note:The name of the spec will be empty if the operation is created via
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.
       
      string spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The spec to set.
      Returns:
      This builder for chaining.
    • clearSpec

      public ApiOperation.Builder clearSpec()
       Output only. The name of the spec will be of the format:
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
       Note:The name of the spec will be empty if the operation is created via
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.
       
      string spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setSpecBytes

      public ApiOperation.Builder setSpecBytes(com.google.protobuf.ByteString value)
       Output only. The name of the spec will be of the format:
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
       Note:The name of the spec will be empty if the operation is created via
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.
       
      string spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for spec to set.
      Returns:
      This builder for chaining.
    • hasDetails

      public boolean hasDetails()
       Optional. Operation details.
       Note: Even though this field is optional, it is required for
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
       API and we will fail the request if not provided.
       
      .google.cloud.apihub.v1.OperationDetails details = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDetails in interface ApiOperationOrBuilder
      Returns:
      Whether the details field is set.
    • getDetails

      public OperationDetails getDetails()
       Optional. Operation details.
       Note: Even though this field is optional, it is required for
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
       API and we will fail the request if not provided.
       
      .google.cloud.apihub.v1.OperationDetails details = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDetails in interface ApiOperationOrBuilder
      Returns:
      The details.
    • setDetails

      public ApiOperation.Builder setDetails(OperationDetails value)
       Optional. Operation details.
       Note: Even though this field is optional, it is required for
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
       API and we will fail the request if not provided.
       
      .google.cloud.apihub.v1.OperationDetails details = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setDetails

      public ApiOperation.Builder setDetails(OperationDetails.Builder builderForValue)
       Optional. Operation details.
       Note: Even though this field is optional, it is required for
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
       API and we will fail the request if not provided.
       
      .google.cloud.apihub.v1.OperationDetails details = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDetails

      public ApiOperation.Builder mergeDetails(OperationDetails value)
       Optional. Operation details.
       Note: Even though this field is optional, it is required for
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
       API and we will fail the request if not provided.
       
      .google.cloud.apihub.v1.OperationDetails details = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearDetails

      public ApiOperation.Builder clearDetails()
       Optional. Operation details.
       Note: Even though this field is optional, it is required for
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
       API and we will fail the request if not provided.
       
      .google.cloud.apihub.v1.OperationDetails details = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDetailsBuilder

      public OperationDetails.Builder getDetailsBuilder()
       Optional. Operation details.
       Note: Even though this field is optional, it is required for
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
       API and we will fail the request if not provided.
       
      .google.cloud.apihub.v1.OperationDetails details = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDetailsOrBuilder

      public OperationDetailsOrBuilder getDetailsOrBuilder()
       Optional. Operation details.
       Note: Even though this field is optional, it is required for
       [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
       API and we will fail the request if not provided.
       
      .google.cloud.apihub.v1.OperationDetails details = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDetailsOrBuilder in interface ApiOperationOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time at which the operation was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ApiOperationOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which the operation was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ApiOperationOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ApiOperation.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the operation was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public ApiOperation.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the operation was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public ApiOperation.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the operation was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public ApiOperation.Builder clearCreateTime()
       Output only. The time at which the operation was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time at which the operation was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which the operation was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ApiOperationOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time at which the operation was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ApiOperationOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time at which the operation was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ApiOperationOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ApiOperation.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the operation was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public ApiOperation.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the operation was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public ApiOperation.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the operation was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public ApiOperation.Builder clearUpdateTime()
       Output only. The time at which the operation was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time at which the operation was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time at which the operation was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ApiOperationOrBuilder
    • getAttributesCount

      public int getAttributesCount()
      Description copied from interface: ApiOperationOrBuilder
       Optional. The list of user defined attributes associated with the API
       operation resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttributesCount in interface ApiOperationOrBuilder
    • containsAttributes

      public boolean containsAttributes(String key)
       Optional. The list of user defined attributes associated with the API
       operation resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAttributes in interface ApiOperationOrBuilder
    • getAttributes

      @Deprecated public Map<String,AttributeValues> getAttributes()
      Deprecated.
      Use getAttributesMap() instead.
      Specified by:
      getAttributes in interface ApiOperationOrBuilder
    • getAttributesMap

      public Map<String,AttributeValues> getAttributesMap()
       Optional. The list of user defined attributes associated with the API
       operation resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttributesMap in interface ApiOperationOrBuilder
    • getAttributesOrDefault

      public AttributeValues getAttributesOrDefault(String key, AttributeValues defaultValue)
       Optional. The list of user defined attributes associated with the API
       operation resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttributesOrDefault in interface ApiOperationOrBuilder
    • getAttributesOrThrow

      public AttributeValues getAttributesOrThrow(String key)
       Optional. The list of user defined attributes associated with the API
       operation resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttributesOrThrow in interface ApiOperationOrBuilder
    • clearAttributes

      public ApiOperation.Builder clearAttributes()
    • removeAttributes

      public ApiOperation.Builder removeAttributes(String key)
       Optional. The list of user defined attributes associated with the API
       operation resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAttributes

      @Deprecated public Map<String,AttributeValues> getMutableAttributes()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAttributes

      public ApiOperation.Builder putAttributes(String key, AttributeValues value)
       Optional. The list of user defined attributes associated with the API
       operation resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 6 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAttributes

      public ApiOperation.Builder putAllAttributes(Map<String,AttributeValues> values)
       Optional. The list of user defined attributes associated with the API
       operation resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 6 [(.google.api.field_behavior) = OPTIONAL];
    • putAttributesBuilderIfAbsent

      public AttributeValues.Builder putAttributesBuilderIfAbsent(String key)
       Optional. The list of user defined attributes associated with the API
       operation resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceMetadataList

      public List<SourceMetadata> getSourceMetadataList()
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceMetadataList in interface ApiOperationOrBuilder
    • getSourceMetadataCount

      public int getSourceMetadataCount()
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceMetadataCount in interface ApiOperationOrBuilder
    • getSourceMetadata

      public SourceMetadata getSourceMetadata(int index)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceMetadata in interface ApiOperationOrBuilder
    • setSourceMetadata

      public ApiOperation.Builder setSourceMetadata(int index, SourceMetadata value)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setSourceMetadata

      public ApiOperation.Builder setSourceMetadata(int index, SourceMetadata.Builder builderForValue)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSourceMetadata

      public ApiOperation.Builder addSourceMetadata(SourceMetadata value)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSourceMetadata

      public ApiOperation.Builder addSourceMetadata(int index, SourceMetadata value)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSourceMetadata

      public ApiOperation.Builder addSourceMetadata(SourceMetadata.Builder builderForValue)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSourceMetadata

      public ApiOperation.Builder addSourceMetadata(int index, SourceMetadata.Builder builderForValue)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllSourceMetadata

      public ApiOperation.Builder addAllSourceMetadata(Iterable<? extends SourceMetadata> values)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearSourceMetadata

      public ApiOperation.Builder clearSourceMetadata()
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeSourceMetadata

      public ApiOperation.Builder removeSourceMetadata(int index)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSourceMetadataBuilder

      public SourceMetadata.Builder getSourceMetadataBuilder(int index)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSourceMetadataOrBuilder

      public SourceMetadataOrBuilder getSourceMetadataOrBuilder(int index)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceMetadataOrBuilder in interface ApiOperationOrBuilder
    • getSourceMetadataOrBuilderList

      public List<? extends SourceMetadataOrBuilder> getSourceMetadataOrBuilderList()
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceMetadataOrBuilderList in interface ApiOperationOrBuilder
    • addSourceMetadataBuilder

      public SourceMetadata.Builder addSourceMetadataBuilder()
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSourceMetadataBuilder

      public SourceMetadata.Builder addSourceMetadataBuilder(int index)
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSourceMetadataBuilderList

      public List<SourceMetadata.Builder> getSourceMetadataBuilderList()
       Output only. The list of sources and metadata from the sources of the API
       operation.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];