public static final class IndexConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder> implements IndexConfigOrBuilder
Configuration for an indexed field.Protobuf type
google.logging.v2.IndexConfig
Modifier and Type | Method and Description |
---|---|
IndexConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IndexConfig |
build() |
IndexConfig |
buildPartial() |
IndexConfig.Builder |
clear() |
IndexConfig.Builder |
clearCreateTime()
Output only.
|
IndexConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
IndexConfig.Builder |
clearFieldPath()
Required.
|
IndexConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
IndexConfig.Builder |
clearType()
Required.
|
IndexConfig.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
IndexConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFieldPath()
Required.
|
com.google.protobuf.ByteString |
getFieldPathBytes()
Required.
|
IndexType |
getType()
Required.
|
int |
getTypeValue()
Required.
|
boolean |
hasCreateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
IndexConfig.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
IndexConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
IndexConfig.Builder |
mergeFrom(IndexConfig other) |
IndexConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
IndexConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
IndexConfig.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
IndexConfig.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
IndexConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IndexConfig.Builder |
setFieldPath(String value)
Required.
|
IndexConfig.Builder |
setFieldPathBytes(com.google.protobuf.ByteString value)
Required.
|
IndexConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
IndexConfig.Builder |
setType(IndexType value)
Required.
|
IndexConfig.Builder |
setTypeValue(int value)
Required.
|
IndexConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public IndexConfig.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public IndexConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public IndexConfig build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public IndexConfig buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public IndexConfig.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public IndexConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public IndexConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public IndexConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public IndexConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public IndexConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public IndexConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<IndexConfig.Builder>
public IndexConfig.Builder mergeFrom(IndexConfig other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public IndexConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<IndexConfig.Builder>
IOException
public 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];
getFieldPath
in interface IndexConfigOrBuilder
public 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];
getFieldPathBytes
in interface IndexConfigOrBuilder
public IndexConfig.Builder setFieldPath(String value)
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];
value
- The fieldPath to set.public IndexConfig.Builder clearFieldPath()
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];
public IndexConfig.Builder setFieldPathBytes(com.google.protobuf.ByteString value)
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];
value
- The bytes for fieldPath to set.public int getTypeValue()
Required. The type of data in this index.
.google.logging.v2.IndexType type = 2 [(.google.api.field_behavior) = REQUIRED];
getTypeValue
in interface IndexConfigOrBuilder
public IndexConfig.Builder setTypeValue(int value)
Required. The type of data in this index.
.google.logging.v2.IndexType type = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The enum numeric value on the wire for type to set.public IndexType getType()
Required. The type of data in this index.
.google.logging.v2.IndexType type = 2 [(.google.api.field_behavior) = REQUIRED];
getType
in interface IndexConfigOrBuilder
public IndexConfig.Builder setType(IndexType value)
Required. The type of data in this index.
.google.logging.v2.IndexType type = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The type to set.public IndexConfig.Builder clearType()
Required. The type of data in this index.
.google.logging.v2.IndexType type = 2 [(.google.api.field_behavior) = REQUIRED];
public 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];
hasCreateTime
in interface IndexConfigOrBuilder
public 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];
getCreateTime
in interface IndexConfigOrBuilder
public IndexConfig.Builder setCreateTime(com.google.protobuf.Timestamp value)
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];
public IndexConfig.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
public IndexConfig.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
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];
public IndexConfig.Builder clearCreateTime()
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];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
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];
public 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];
getCreateTimeOrBuilder
in interface IndexConfigOrBuilder
public final IndexConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
public final IndexConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexConfig.Builder>
Copyright © 2023 Google LLC. All rights reserved.