Interface SourceMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SourceMetadata, SourceMetadata.Builder

@Generated public interface SourceMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasPluginInstanceActionSource

      boolean hasPluginInstanceActionSource()
       Output only. The source of the resource is a plugin instance action.
       
      .google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSource plugin_instance_action_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the pluginInstanceActionSource field is set.
    • getPluginInstanceActionSource

      SourceMetadata.PluginInstanceActionSource getPluginInstanceActionSource()
       Output only. The source of the resource is a plugin instance action.
       
      .google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSource plugin_instance_action_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The pluginInstanceActionSource.
    • getPluginInstanceActionSourceOrBuilder

      SourceMetadata.PluginInstanceActionSourceOrBuilder getPluginInstanceActionSourceOrBuilder()
       Output only. The source of the resource is a plugin instance action.
       
      .google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSource plugin_instance_action_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSourceTypeValue

      int getSourceTypeValue()
       Output only. The type of the source.
       
      .google.cloud.apihub.v1.SourceMetadata.SourceType source_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for sourceType.
    • getSourceType

      SourceMetadata.SourceType getSourceType()
       Output only. The type of the source.
       
      .google.cloud.apihub.v1.SourceMetadata.SourceType source_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The sourceType.
    • getOriginalResourceId

      String getOriginalResourceId()
       Output only. The unique identifier of the resource at the source.
       
      string original_resource_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The originalResourceId.
    • getOriginalResourceIdBytes

      com.google.protobuf.ByteString getOriginalResourceIdBytes()
       Output only. The unique identifier of the resource at the source.
       
      string original_resource_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for originalResourceId.
    • hasOriginalResourceCreateTime

      boolean hasOriginalResourceCreateTime()
       Output only. The time at which the resource was created at the source.
       
      .google.protobuf.Timestamp original_resource_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the originalResourceCreateTime field is set.
    • getOriginalResourceCreateTime

      com.google.protobuf.Timestamp getOriginalResourceCreateTime()
       Output only. The time at which the resource was created at the source.
       
      .google.protobuf.Timestamp original_resource_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The originalResourceCreateTime.
    • getOriginalResourceCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getOriginalResourceCreateTimeOrBuilder()
       Output only. The time at which the resource was created at the source.
       
      .google.protobuf.Timestamp original_resource_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasOriginalResourceUpdateTime

      boolean hasOriginalResourceUpdateTime()
       Output only. The time at which the resource was last updated at the source.
       
      .google.protobuf.Timestamp original_resource_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the originalResourceUpdateTime field is set.
    • getOriginalResourceUpdateTime

      com.google.protobuf.Timestamp getOriginalResourceUpdateTime()
       Output only. The time at which the resource was last updated at the source.
       
      .google.protobuf.Timestamp original_resource_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The originalResourceUpdateTime.
    • getOriginalResourceUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getOriginalResourceUpdateTimeOrBuilder()
       Output only. The time at which the resource was last updated at the source.
       
      .google.protobuf.Timestamp original_resource_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSourceCase

      SourceMetadata.SourceCase getSourceCase()