public static final class LogView.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LogView.Builder> implements LogViewOrBuilder
Describes a view over log entries in a bucket.Protobuf type
google.logging.v2.LogView
Modifier and Type | Method and Description |
---|---|
LogView.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LogView |
build() |
LogView |
buildPartial() |
LogView.Builder |
clear() |
LogView.Builder |
clearCreateTime()
Output only.
|
LogView.Builder |
clearDescription()
Describes this view.
|
LogView.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LogView.Builder |
clearFilter()
Filter that restricts which log entries in a bucket are visible in this
view.
|
LogView.Builder |
clearName()
The resource name of the view.
|
LogView.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LogView.Builder |
clearUpdateTime()
Output only.
|
LogView.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
LogView |
getDefaultInstanceForType() |
String |
getDescription()
Describes this view.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Describes this view.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
Filter that restricts which log entries in a bucket are visible in this
view.
|
com.google.protobuf.ByteString |
getFilterBytes()
Filter that restricts which log entries in a bucket are visible in this
view.
|
String |
getName()
The resource name of the view.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the view.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LogView.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
LogView.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LogView.Builder |
mergeFrom(LogView other) |
LogView.Builder |
mergeFrom(com.google.protobuf.Message other) |
LogView.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LogView.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
LogView.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
LogView.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
LogView.Builder |
setDescription(String value)
Describes this view.
|
LogView.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Describes this view.
|
LogView.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LogView.Builder |
setFilter(String value)
Filter that restricts which log entries in a bucket are visible in this
view.
|
LogView.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Filter that restricts which log entries in a bucket are visible in this
view.
|
LogView.Builder |
setName(String value)
The resource name of the view.
|
LogView.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the view.
|
LogView.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LogView.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LogView.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
LogView.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<LogView.Builder>
public LogView.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<LogView.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<LogView.Builder>
public LogView getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LogView build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LogView buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LogView.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<LogView.Builder>
public LogView.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<LogView.Builder>
public LogView.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<LogView.Builder>
public LogView.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<LogView.Builder>
public LogView.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<LogView.Builder>
public LogView.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<LogView.Builder>
public LogView.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LogView.Builder>
public LogView.Builder mergeFrom(LogView other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LogView.Builder>
public LogView.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<LogView.Builder>
IOException
public String getName()
The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
string name = 1;
getName
in interface LogViewOrBuilder
public com.google.protobuf.ByteString getNameBytes()
The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
string name = 1;
getNameBytes
in interface LogViewOrBuilder
public LogView.Builder setName(String value)
The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
string name = 1;
value
- The name to set.public LogView.Builder clearName()
The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
string name = 1;
public LogView.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the view. For example: `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
string name = 1;
value
- The bytes for name to set.public String getDescription()
Describes this view.
string description = 3;
getDescription
in interface LogViewOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
Describes this view.
string description = 3;
getDescriptionBytes
in interface LogViewOrBuilder
public LogView.Builder setDescription(String value)
Describes this view.
string description = 3;
value
- The description to set.public LogView.Builder clearDescription()
Describes this view.
string description = 3;
public LogView.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Describes this view.
string description = 3;
value
- The bytes for description to set.public boolean hasCreateTime()
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface LogViewOrBuilder
public com.google.protobuf.Timestamp getCreateTime()
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface LogViewOrBuilder
public LogView.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogView.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogView.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogView.Builder clearCreateTime()
Output only. The creation timestamp of the view.
.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 view.
.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 view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface LogViewOrBuilder
public boolean hasUpdateTime()
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime
in interface LogViewOrBuilder
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime
in interface LogViewOrBuilder
public LogView.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogView.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogView.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LogView.Builder clearUpdateTime()
Output only. The last update timestamp of the view.
.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 view.
.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 view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder
in interface LogViewOrBuilder
public String getFilter()
Filter that restricts which log entries in a bucket are visible in this view. Filters are restricted to be a logical AND of ==/!= of any of the following: - originating project/folder/organization/billing account. - resource type - log id For example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
string filter = 7;
getFilter
in interface LogViewOrBuilder
public com.google.protobuf.ByteString getFilterBytes()
Filter that restricts which log entries in a bucket are visible in this view. Filters are restricted to be a logical AND of ==/!= of any of the following: - originating project/folder/organization/billing account. - resource type - log id For example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
string filter = 7;
getFilterBytes
in interface LogViewOrBuilder
public LogView.Builder setFilter(String value)
Filter that restricts which log entries in a bucket are visible in this view. Filters are restricted to be a logical AND of ==/!= of any of the following: - originating project/folder/organization/billing account. - resource type - log id For example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
string filter = 7;
value
- The filter to set.public LogView.Builder clearFilter()
Filter that restricts which log entries in a bucket are visible in this view. Filters are restricted to be a logical AND of ==/!= of any of the following: - originating project/folder/organization/billing account. - resource type - log id For example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
string filter = 7;
public LogView.Builder setFilterBytes(com.google.protobuf.ByteString value)
Filter that restricts which log entries in a bucket are visible in this view. Filters are restricted to be a logical AND of ==/!= of any of the following: - originating project/folder/organization/billing account. - resource type - log id For example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
string filter = 7;
value
- The bytes for filter to set.public final LogView.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LogView.Builder>
public final LogView.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LogView.Builder>
Copyright © 2023 Google LLC. All rights reserved.