public static final class LogBucket.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LogBucket.Builder> implements LogBucketOrBuilder
Describes a repository in which log entries are stored.Protobuf type
google.logging.v2.LogBucket
Modifier and Type | Method and Description |
---|---|
LogBucket.Builder |
addAllIndexConfigs(Iterable<? extends IndexConfig> values)
A list of indexed fields and related configuration data.
|
LogBucket.Builder |
addAllRestrictedFields(Iterable<String> values)
Log entry field paths that are denied access in this bucket.
|
LogBucket.Builder |
addIndexConfigs(IndexConfig.Builder builderForValue)
A list of indexed fields and related configuration data.
|
LogBucket.Builder |
addIndexConfigs(IndexConfig value)
A list of indexed fields and related configuration data.
|
LogBucket.Builder |
addIndexConfigs(int index,
IndexConfig.Builder builderForValue)
A list of indexed fields and related configuration data.
|
LogBucket.Builder |
addIndexConfigs(int index,
IndexConfig value)
A list of indexed fields and related configuration data.
|
IndexConfig.Builder |
addIndexConfigsBuilder()
A list of indexed fields and related configuration data.
|
IndexConfig.Builder |
addIndexConfigsBuilder(int index)
A list of indexed fields and related configuration data.
|
LogBucket.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LogBucket.Builder |
addRestrictedFields(String value)
Log entry field paths that are denied access in this bucket.
|
LogBucket.Builder |
addRestrictedFieldsBytes(com.google.protobuf.ByteString value)
Log entry field paths that are denied access in this bucket.
|
LogBucket |
build() |
LogBucket |
buildPartial() |
LogBucket.Builder |
clear() |
LogBucket.Builder |
clearAnalyticsEnabled()
Whether log analytics is enabled for this bucket.
|
LogBucket.Builder |
clearCmekSettings()
The CMEK settings of the log bucket.
|
LogBucket.Builder |
clearCreateTime()
Output only.
|
LogBucket.Builder |
clearDescription()
Describes this bucket.
|
LogBucket.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LogBucket.Builder |
clearIndexConfigs()
A list of indexed fields and related configuration data.
|
LogBucket.Builder |
clearLifecycleState()
Output only.
|
LogBucket.Builder |
clearLocked()
Whether the bucket is locked.
|
LogBucket.Builder |
clearName()
Output only.
|
LogBucket.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LogBucket.Builder |
clearRestrictedFields()
Log entry field paths that are denied access in this bucket.
|
LogBucket.Builder |
clearRetentionDays()
Logs will be retained by default for this amount of time, after which they
will automatically be deleted.
|
LogBucket.Builder |
clearUpdateTime()
Output only.
|
LogBucket.Builder |
clone() |
boolean |
getAnalyticsEnabled()
Whether log analytics is enabled for this bucket.
|
CmekSettings |
getCmekSettings()
The CMEK settings of the log bucket.
|
CmekSettings.Builder |
getCmekSettingsBuilder()
The CMEK settings of the log bucket.
|
CmekSettingsOrBuilder |
getCmekSettingsOrBuilder()
The CMEK settings of the log bucket.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
LogBucket |
getDefaultInstanceForType() |
String |
getDescription()
Describes this bucket.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Describes this bucket.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
IndexConfig |
getIndexConfigs(int index)
A list of indexed fields and related configuration data.
|
IndexConfig.Builder |
getIndexConfigsBuilder(int index)
A list of indexed fields and related configuration data.
|
List<IndexConfig.Builder> |
getIndexConfigsBuilderList()
A list of indexed fields and related configuration data.
|
int |
getIndexConfigsCount()
A list of indexed fields and related configuration data.
|
List<IndexConfig> |
getIndexConfigsList()
A list of indexed fields and related configuration data.
|
IndexConfigOrBuilder |
getIndexConfigsOrBuilder(int index)
A list of indexed fields and related configuration data.
|
List<? extends IndexConfigOrBuilder> |
getIndexConfigsOrBuilderList()
A list of indexed fields and related configuration data.
|
LifecycleState |
getLifecycleState()
Output only.
|
int |
getLifecycleStateValue()
Output only.
|
boolean |
getLocked()
Whether the bucket is locked.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
String |
getRestrictedFields(int index)
Log entry field paths that are denied access in this bucket.
|
com.google.protobuf.ByteString |
getRestrictedFieldsBytes(int index)
Log entry field paths that are denied access in this bucket.
|
int |
getRestrictedFieldsCount()
Log entry field paths that are denied access in this bucket.
|
com.google.protobuf.ProtocolStringList |
getRestrictedFieldsList()
Log entry field paths that are denied access in this bucket.
|
int |
getRetentionDays()
Logs will be retained by default for this amount of time, after which they
will automatically be deleted.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCmekSettings()
The CMEK settings of the log bucket.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LogBucket.Builder |
mergeCmekSettings(CmekSettings value)
The CMEK settings of the log bucket.
|
LogBucket.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
LogBucket.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LogBucket.Builder |
mergeFrom(LogBucket other) |
LogBucket.Builder |
mergeFrom(com.google.protobuf.Message other) |
LogBucket.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LogBucket.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
LogBucket.Builder |
removeIndexConfigs(int index)
A list of indexed fields and related configuration data.
|
LogBucket.Builder |
setAnalyticsEnabled(boolean value)
Whether log analytics is enabled for this bucket.
|
LogBucket.Builder |
setCmekSettings(CmekSettings.Builder builderForValue)
The CMEK settings of the log bucket.
|
LogBucket.Builder |
setCmekSettings(CmekSettings value)
The CMEK settings of the log bucket.
|
LogBucket.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
LogBucket.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
LogBucket.Builder |
setDescription(String value)
Describes this bucket.
|
LogBucket.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Describes this bucket.
|
LogBucket.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LogBucket.Builder |
setIndexConfigs(int index,
IndexConfig.Builder builderForValue)
A list of indexed fields and related configuration data.
|
LogBucket.Builder |
setIndexConfigs(int index,
IndexConfig value)
A list of indexed fields and related configuration data.
|
LogBucket.Builder |
setLifecycleState(LifecycleState value)
Output only.
|
LogBucket.Builder |
setLifecycleStateValue(int value)
Output only.
|
LogBucket.Builder |
setLocked(boolean value)
Whether the bucket is locked.
|
LogBucket.Builder |
setName(String value)
Output only.
|
LogBucket.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
LogBucket.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LogBucket.Builder |
setRestrictedFields(int index,
String value)
Log entry field paths that are denied access in this bucket.
|
LogBucket.Builder |
setRetentionDays(int value)
Logs will be retained by default for this amount of time, after which they
will automatically be deleted.
|
LogBucket.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LogBucket.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
LogBucket.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
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<LogBucket.Builder>
public LogBucket.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<LogBucket.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<LogBucket.Builder>
public LogBucket getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LogBucket build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LogBucket buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LogBucket.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<LogBucket.Builder>
public LogBucket.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<LogBucket.Builder>
public LogBucket.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<LogBucket.Builder>
public LogBucket.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<LogBucket.Builder>
public LogBucket.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<LogBucket.Builder>
public LogBucket.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<LogBucket.Builder>
public LogBucket.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LogBucket.Builder>
public LogBucket.Builder mergeFrom(LogBucket other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LogBucket.Builder>
public LogBucket.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<LogBucket.Builder>
IOException
public String getName()
Output only. The resource name of the bucket. For example: `projects/my-project/locations/global/buckets/my-bucket` For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support) For the location of `global` it is unspecified where log entries are actually stored. After a bucket has been created, the location cannot be changed.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getName
in interface LogBucketOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the bucket. For example: `projects/my-project/locations/global/buckets/my-bucket` For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support) For the location of `global` it is unspecified where log entries are actually stored. After a bucket has been created, the location cannot be changed.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNameBytes
in interface LogBucketOrBuilder
public LogBucket.Builder setName(String value)
Output only. The resource name of the bucket. For example: `projects/my-project/locations/global/buckets/my-bucket` For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support) For the location of `global` it is unspecified where log entries are actually stored. After a bucket has been created, the location cannot be changed.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The name to set.public LogBucket.Builder clearName()
Output only. The resource name of the bucket. For example: `projects/my-project/locations/global/buckets/my-bucket` For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support) For the location of `global` it is unspecified where log entries are actually stored. After a bucket has been created, the location cannot be changed.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogBucket.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the bucket. For example: `projects/my-project/locations/global/buckets/my-bucket` For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support) For the location of `global` it is unspecified where log entries are actually stored. After a bucket has been created, the location cannot be changed.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for name to set.public String getDescription()
Describes this bucket.
string description = 3;
getDescription
in interface LogBucketOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
Describes this bucket.
string description = 3;
getDescriptionBytes
in interface LogBucketOrBuilder
public LogBucket.Builder setDescription(String value)
Describes this bucket.
string description = 3;
value
- The description to set.public LogBucket.Builder clearDescription()
Describes this bucket.
string description = 3;
public LogBucket.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Describes this bucket.
string description = 3;
value
- The bytes for description to set.public boolean hasCreateTime()
Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface LogBucketOrBuilder
public com.google.protobuf.Timestamp getCreateTime()
Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface LogBucketOrBuilder
public LogBucket.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogBucket.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogBucket.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogBucket.Builder clearCreateTime()
Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface LogBucketOrBuilder
public boolean hasUpdateTime()
Output only. The last update timestamp of the bucket.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime
in interface LogBucketOrBuilder
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of the bucket.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime
in interface LogBucketOrBuilder
public LogBucket.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of the bucket.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogBucket.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last update timestamp of the bucket.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogBucket.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of the bucket.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogBucket.Builder clearUpdateTime()
Output only. The last update timestamp of the bucket.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update timestamp of the bucket.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of the bucket.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder
in interface LogBucketOrBuilder
public int getRetentionDays()
Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
int32 retention_days = 11;
getRetentionDays
in interface LogBucketOrBuilder
public LogBucket.Builder setRetentionDays(int value)
Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
int32 retention_days = 11;
value
- The retentionDays to set.public LogBucket.Builder clearRetentionDays()
Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
int32 retention_days = 11;
public boolean getLocked()
Whether the bucket is locked. The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
bool locked = 9;
getLocked
in interface LogBucketOrBuilder
public LogBucket.Builder setLocked(boolean value)
Whether the bucket is locked. The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
bool locked = 9;
value
- The locked to set.public LogBucket.Builder clearLocked()
Whether the bucket is locked. The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
bool locked = 9;
public int getLifecycleStateValue()
Output only. The bucket lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLifecycleStateValue
in interface LogBucketOrBuilder
public LogBucket.Builder setLifecycleStateValue(int value)
Output only. The bucket lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The enum numeric value on the wire for lifecycleState to set.public LifecycleState getLifecycleState()
Output only. The bucket lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLifecycleState
in interface LogBucketOrBuilder
public LogBucket.Builder setLifecycleState(LifecycleState value)
Output only. The bucket lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The lifecycleState to set.public LogBucket.Builder clearLifecycleState()
Output only. The bucket lifecycle state.
.google.logging.v2.LifecycleState lifecycle_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean getAnalyticsEnabled()
Whether log analytics is enabled for this bucket. Once enabled, log analytics features cannot be disabled.
bool analytics_enabled = 14;
getAnalyticsEnabled
in interface LogBucketOrBuilder
public LogBucket.Builder setAnalyticsEnabled(boolean value)
Whether log analytics is enabled for this bucket. Once enabled, log analytics features cannot be disabled.
bool analytics_enabled = 14;
value
- The analyticsEnabled to set.public LogBucket.Builder clearAnalyticsEnabled()
Whether log analytics is enabled for this bucket. Once enabled, log analytics features cannot be disabled.
bool analytics_enabled = 14;
public com.google.protobuf.ProtocolStringList getRestrictedFieldsList()
Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: `textPayload`, `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
repeated string restricted_fields = 15;
getRestrictedFieldsList
in interface LogBucketOrBuilder
public int getRestrictedFieldsCount()
Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: `textPayload`, `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
repeated string restricted_fields = 15;
getRestrictedFieldsCount
in interface LogBucketOrBuilder
public String getRestrictedFields(int index)
Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: `textPayload`, `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
repeated string restricted_fields = 15;
getRestrictedFields
in interface LogBucketOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getRestrictedFieldsBytes(int index)
Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: `textPayload`, `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
repeated string restricted_fields = 15;
getRestrictedFieldsBytes
in interface LogBucketOrBuilder
index
- The index of the value to return.public LogBucket.Builder setRestrictedFields(int index, String value)
Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: `textPayload`, `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
repeated string restricted_fields = 15;
index
- The index to set the value at.value
- The restrictedFields to set.public LogBucket.Builder addRestrictedFields(String value)
Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: `textPayload`, `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
repeated string restricted_fields = 15;
value
- The restrictedFields to add.public LogBucket.Builder addAllRestrictedFields(Iterable<String> values)
Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: `textPayload`, `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
repeated string restricted_fields = 15;
values
- The restrictedFields to add.public LogBucket.Builder clearRestrictedFields()
Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: `textPayload`, `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
repeated string restricted_fields = 15;
public LogBucket.Builder addRestrictedFieldsBytes(com.google.protobuf.ByteString value)
Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: `textPayload`, `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
repeated string restricted_fields = 15;
value
- The bytes of the restrictedFields to add.public List<IndexConfig> getIndexConfigsList()
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
getIndexConfigsList
in interface LogBucketOrBuilder
public int getIndexConfigsCount()
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
getIndexConfigsCount
in interface LogBucketOrBuilder
public IndexConfig getIndexConfigs(int index)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
getIndexConfigs
in interface LogBucketOrBuilder
public LogBucket.Builder setIndexConfigs(int index, IndexConfig value)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public LogBucket.Builder setIndexConfigs(int index, IndexConfig.Builder builderForValue)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public LogBucket.Builder addIndexConfigs(IndexConfig value)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public LogBucket.Builder addIndexConfigs(int index, IndexConfig value)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public LogBucket.Builder addIndexConfigs(IndexConfig.Builder builderForValue)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public LogBucket.Builder addIndexConfigs(int index, IndexConfig.Builder builderForValue)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public LogBucket.Builder addAllIndexConfigs(Iterable<? extends IndexConfig> values)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public LogBucket.Builder clearIndexConfigs()
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public LogBucket.Builder removeIndexConfigs(int index)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public IndexConfig.Builder getIndexConfigsBuilder(int index)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public IndexConfigOrBuilder getIndexConfigsOrBuilder(int index)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
getIndexConfigsOrBuilder
in interface LogBucketOrBuilder
public List<? extends IndexConfigOrBuilder> getIndexConfigsOrBuilderList()
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
getIndexConfigsOrBuilderList
in interface LogBucketOrBuilder
public IndexConfig.Builder addIndexConfigsBuilder()
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public IndexConfig.Builder addIndexConfigsBuilder(int index)
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public List<IndexConfig.Builder> getIndexConfigsBuilderList()
A list of indexed fields and related configuration data.
repeated .google.logging.v2.IndexConfig index_configs = 17;
public boolean hasCmekSettings()
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
.google.logging.v2.CmekSettings cmek_settings = 19;
hasCmekSettings
in interface LogBucketOrBuilder
public CmekSettings getCmekSettings()
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
.google.logging.v2.CmekSettings cmek_settings = 19;
getCmekSettings
in interface LogBucketOrBuilder
public LogBucket.Builder setCmekSettings(CmekSettings value)
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
.google.logging.v2.CmekSettings cmek_settings = 19;
public LogBucket.Builder setCmekSettings(CmekSettings.Builder builderForValue)
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
.google.logging.v2.CmekSettings cmek_settings = 19;
public LogBucket.Builder mergeCmekSettings(CmekSettings value)
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
.google.logging.v2.CmekSettings cmek_settings = 19;
public LogBucket.Builder clearCmekSettings()
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
.google.logging.v2.CmekSettings cmek_settings = 19;
public CmekSettings.Builder getCmekSettingsBuilder()
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
.google.logging.v2.CmekSettings cmek_settings = 19;
public CmekSettingsOrBuilder getCmekSettingsOrBuilder()
The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
.google.logging.v2.CmekSettings cmek_settings = 19;
getCmekSettingsOrBuilder
in interface LogBucketOrBuilder
public final LogBucket.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LogBucket.Builder>
public final LogBucket.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LogBucket.Builder>
Copyright © 2023 Google LLC. All rights reserved.