public static final class LogView.Builder extends GeneratedMessageV3.Builder<LogView.Builder> implements LogViewOrBuilderDescribes a view over log entries 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()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LogView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | |
build()
public LogView build()| Returns | |
|---|---|
| Type | Description | 
| LogView | |
buildPartial()
public LogView buildPartial()| Returns | |
|---|---|
| Type | Description | 
| LogView | |
clear()
public LogView.Builder clear()| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | |
clearDescription()
public LogView.Builder clearDescription()Describes this view.
 string description = 3;
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public LogView.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| 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 - For example: - SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout") 
 string filter = 7;
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | This builder for chaining. | 
clearName()
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;
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public LogView.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | |
clone()
public LogView.Builder clone()| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDefaultInstanceForType()
public LogView getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| LogView | |
getDescription()
public String getDescription()Describes this view.
 string description = 3;
| Returns | |
|---|---|
| Type | Description | 
| String | The description. | 
getDescriptionBytes()
public ByteString getDescriptionBytes()Describes this view.
 string description = 3;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for description. | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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 - For example: - SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout") 
 string filter = 7;
| Returns | |
|---|---|
| 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 - For example: - SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout") 
 string filter = 7;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for filter. | 
getName()
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;
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes()The resource name of the view.
For example:
   projects/my-project/locations/global/buckets/my-bucket/views/my-view
 string name = 1;
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the updateTime field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | |
mergeFrom(LogView other)
public LogView.Builder mergeFrom(LogView other)| Parameter | |
|---|---|
| Name | Description | 
| other | LogView | 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LogView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public LogView.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LogView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | |
setDescription(String value)
public LogView.Builder setDescription(String value)Describes this view.
 string description = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | This builder for chaining. | 
setDescriptionBytes(ByteString value)
public LogView.Builder setDescriptionBytes(ByteString value)Describes this view.
 string description = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public LogView.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| 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 - For example: - SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout") 
 string filter = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe filter to set. | 
| Returns | |
|---|---|
| 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 - For example: - SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout") 
 string filter = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for filter to set. | 
| Returns | |
|---|---|
| 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/locations/global/buckets/my-bucket/views/my-view
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| 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/locations/global/buckets/my-bucket/views/my-view
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final LogView.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| LogView.Builder | |