public static final class LogView.Builder extends GeneratedMessageV3.Builder<LogView.Builder> implements LogViewOrBuilder
Describes a view over logs in a bucket.
Protobuf type google.logging.v2.LogView
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LogView.BuilderImplements
LogViewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LogView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LogView.Builder |
build()
public LogView build()
Type | Description |
LogView |
buildPartial()
public LogView buildPartial()
Type | Description |
LogView |
clear()
public LogView.Builder clear()
Type | Description |
LogView.Builder |
clearCreateTime()
public LogView.Builder clearCreateTime()
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
LogView.Builder |
clearDescription()
public LogView.Builder clearDescription()
Describes this view.
string description = 3;
Type | Description |
LogView.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LogView.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LogView.Builder |
clearFilter()
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 Example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
string filter = 7;
Type | Description |
LogView.Builder | This builder for chaining. |
clearName()
public LogView.Builder clearName()
The resource name of the view. For example "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view
string name = 1;
Type | Description |
LogView.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LogView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LogView.Builder |
clearUpdateTime()
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];
Type | Description |
LogView.Builder |
clone()
public LogView.Builder clone()
Type | Description |
LogView.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public LogView getDefaultInstanceForType()
Type | Description |
LogView |
getDescription()
public String getDescription()
Describes this view.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Describes this view.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFilter()
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 Example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
string filter = 7;
Type | Description |
String | The filter. |
getFilterBytes()
public 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 Example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
string filter = 7;
Type | Description |
ByteString | The bytes for filter. |
getName()
public String getName()
The resource name of the view. For example "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the view. For example "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public LogView.Builder mergeCreateTime(Timestamp value)
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
LogView.Builder |
mergeFrom(LogView other)
public LogView.Builder mergeFrom(LogView other)
Name | Description |
other | LogView |
Type | Description |
LogView.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LogView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogView.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LogView.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LogView.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LogView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LogView.Builder |
mergeUpdateTime(Timestamp value)
public LogView.Builder mergeUpdateTime(Timestamp value)
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
LogView.Builder |
setCreateTime(Timestamp value)
public LogView.Builder setCreateTime(Timestamp value)
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
LogView.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public LogView.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation timestamp of the view.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
LogView.Builder |
setDescription(String value)
public LogView.Builder setDescription(String value)
Describes this view.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
LogView.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public LogView.Builder setDescriptionBytes(ByteString value)
Describes this view.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
LogView.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LogView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LogView.Builder |
setFilter(String value)
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 Example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
string filter = 7;
Name | Description |
value | String The filter to set. |
Type | Description |
LogView.Builder | This builder for chaining. |
setFilterBytes(ByteString value)
public LogView.Builder setFilterBytes(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 Example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
string filter = 7;
Name | Description |
value | ByteString The bytes for filter to set. |
Type | Description |
LogView.Builder | This builder for chaining. |
setName(String value)
public LogView.Builder setName(String value)
The resource name of the view. For example "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
LogView.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public LogView.Builder setNameBytes(ByteString value)
The resource name of the view. For example "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
LogView.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LogView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LogView.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LogView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LogView.Builder |
setUpdateTime(Timestamp value)
public LogView.Builder setUpdateTime(Timestamp value)
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
LogView.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public LogView.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last update timestamp of the view.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
LogView.Builder |