Interface IndexConfigOrBuilder

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

public interface IndexConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    int
    Required.
    boolean
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getFieldPath

      String getFieldPath()
       Required. The LogEntry field path to index.
      
       Note that some paths are automatically indexed, and other paths are not
       eligible for indexing. See [indexing documentation](
       https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
       for details.
      
       For example: `jsonPayload.request.status`
       
      string field_path = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The fieldPath.
    • getFieldPathBytes

      com.google.protobuf.ByteString getFieldPathBytes()
       Required. The LogEntry field path to index.
      
       Note that some paths are automatically indexed, and other paths are not
       eligible for indexing. See [indexing documentation](
       https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
       for details.
      
       For example: `jsonPayload.request.status`
       
      string field_path = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for fieldPath.
    • getTypeValue

      int getTypeValue()
       Required. The type of data in this index.
       
      .google.logging.v2.IndexType type = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for type.
    • getType

      IndexType getType()
       Required. The type of data in this index.
       
      .google.logging.v2.IndexType type = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The type.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The timestamp when the index was last modified.
      
       This is used to return the timestamp, and will be ignored if supplied
       during update.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when the index was last modified.
      
       This is used to return the timestamp, and will be ignored if supplied
       during update.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when the index was last modified.
      
       This is used to return the timestamp, and will be ignored if supplied
       during update.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];