Package com.google.logging.v2
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetFieldPath()Required.com.google.protobuf.ByteStringgetFieldPathBytes()Required.IndexTypegetType()Required.intgetTypeValue()Required.booleanhasCreateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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];
-
-