public static final class IndexConfig.Builder extends GeneratedMessageV3.Builder<IndexConfig.Builder> implements IndexConfigOrBuilder
Configuration for an indexed field.
Protobuf type google.logging.v2.IndexConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IndexConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IndexConfig build()
buildPartial()
public IndexConfig buildPartial()
clear()
public IndexConfig.Builder clear()
Overrides
clearCreateTime()
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];
clearField(Descriptors.FieldDescriptor field)
public IndexConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFieldPath()
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
for details.
For example: jsonPayload.request.status
string field_path = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public IndexConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public IndexConfig.Builder clearType()
Required. The type of data in this index.
.google.logging.v2.IndexType type = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public IndexConfig.Builder clone()
Overrides
getCreateTime()
public 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 |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeBuilder()
public 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];
getCreateTimeOrBuilder()
public 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];
getDefaultInstanceForType()
public IndexConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFieldPath()
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
for details.
For example: jsonPayload.request.status
string field_path = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The fieldPath.
|
getFieldPathBytes()
public 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
for details.
For example: jsonPayload.request.status
string field_path = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for fieldPath.
|
getType()
public IndexType getType()
Required. The type of data in this index.
.google.logging.v2.IndexType type = 2 [(.google.api.field_behavior) = REQUIRED];
getTypeValue()
public int getTypeValue()
Required. The type of data in this index.
.google.logging.v2.IndexType type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for type.
|
hasCreateTime()
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];
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCreateTime(Timestamp value)
public IndexConfig.Builder mergeCreateTime(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];
mergeFrom(IndexConfig other)
public IndexConfig.Builder mergeFrom(IndexConfig other)
public IndexConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IndexConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IndexConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCreateTime(Timestamp value)
public IndexConfig.Builder setCreateTime(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];
setCreateTime(Timestamp.Builder builderForValue)
public IndexConfig.Builder setCreateTime(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];
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public IndexConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFieldPath(String value)
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
for details.
For example: jsonPayload.request.status
string field_path = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The fieldPath to set.
|
setFieldPathBytes(ByteString value)
public IndexConfig.Builder setFieldPathBytes(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
for details.
For example: jsonPayload.request.status
string field_path = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for fieldPath to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IndexConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setType(IndexType value)
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];
Parameter |
---|
Name | Description |
value | IndexType
The type to set.
|
setTypeValue(int value)
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];
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final IndexConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides