Class LogView.Builder (3.5.3)

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

Implements

LogViewOrBuilder

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LogView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LogView.Builder
Overrides

build()

public LogView build()
Returns
TypeDescription
LogView

buildPartial()

public LogView buildPartial()
Returns
TypeDescription
LogView

clear()

public LogView.Builder clear()
Returns
TypeDescription
LogView.Builder
Overrides

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
TypeDescription
LogView.Builder

clearDescription()

public LogView.Builder clearDescription()

Describes this view.

string description = 3;

Returns
TypeDescription
LogView.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LogView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LogView.Builder
Overrides

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;

Returns
TypeDescription
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;

Returns
TypeDescription
LogView.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LogView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LogView.Builder
Overrides

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
TypeDescription
LogView.Builder

clone()

public LogView.Builder clone()
Returns
TypeDescription
LogView.Builder
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public LogView getDefaultInstanceForType()
Returns
TypeDescription
LogView

getDescription()

public String getDescription()

Describes this view.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Describes this view.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
LogView.Builder

mergeFrom(LogView other)

public LogView.Builder mergeFrom(LogView other)
Parameter
NameDescription
otherLogView
Returns
TypeDescription
LogView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LogView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogView.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LogView.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LogView.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LogView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LogView.Builder
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
LogView.Builder

setDescription(String value)

public LogView.Builder setDescription(String value)

Describes this view.

string description = 3;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
LogView.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public LogView.Builder setDescriptionBytes(ByteString value)

Describes this view.

string description = 3;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
LogView.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LogView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LogView.Builder
Overrides

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;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LogView.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LogView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LogView.Builder
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
LogView.Builder