Class View.Builder (2.49.0)

public static final class View.Builder extends GeneratedMessageV3.Builder<View.Builder> implements ViewOrBuilder

The View resource.

Protobuf type google.cloud.contactcenterinsights.v1.View

Implements

ViewOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public View.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
View.Builder
Overrides

build()

public View build()
Returns
Type Description
View

buildPartial()

public View buildPartial()
Returns
Type Description
View

clear()

public View.Builder clear()
Returns
Type Description
View.Builder
Overrides

clearCreateTime()

public View.Builder clearCreateTime()

Output only. The time at which this view was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
View.Builder

clearDisplayName()

public View.Builder clearDisplayName()

The human-readable display name of the view.

string display_name = 2;

Returns
Type Description
View.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public View.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
View.Builder
Overrides

clearName()

public View.Builder clearName()

Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
View.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public View.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
View.Builder
Overrides

clearUpdateTime()

public View.Builder clearUpdateTime()

Output only. The most recent time at which the view was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
View.Builder

clearValue()

public View.Builder clearValue()

String with specific view properties, must be non-empty.

string value = 5;

Returns
Type Description
View.Builder

This builder for chaining.

clone()

public View.Builder clone()
Returns
Type Description
View.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which this view was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time at which this view was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which this view was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public View getDefaultInstanceForType()
Returns
Type Description
View

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The human-readable display name of the view.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The human-readable display name of the view.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The most recent time at which the view was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The most recent time at which the view was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The most recent time at which the view was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getValue()

public String getValue()

String with specific view properties, must be non-empty.

string value = 5;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

String with specific view properties, must be non-empty.

string value = 5;

Returns
Type Description
ByteString

The bytes for value.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which this view was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The most recent time at which the view was updated.

.google.protobuf.Timestamp update_time = 4 [(.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public View.Builder mergeCreateTime(Timestamp value)

Output only. The time at which this view was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
View.Builder

mergeFrom(View other)

public View.Builder mergeFrom(View other)
Parameter
Name Description
other View
Returns
Type Description
View.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public View.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
View.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public View.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
View.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final View.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
View.Builder
Overrides

mergeUpdateTime(Timestamp value)

public View.Builder mergeUpdateTime(Timestamp value)

Output only. The most recent time at which the view was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
View.Builder

setCreateTime(Timestamp value)

public View.Builder setCreateTime(Timestamp value)

Output only. The time at which this view was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
View.Builder

setCreateTime(Timestamp.Builder builderForValue)

public View.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time at which this view was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
View.Builder

setDisplayName(String value)

public View.Builder setDisplayName(String value)

The human-readable display name of the view.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
View.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public View.Builder setDisplayNameBytes(ByteString value)

The human-readable display name of the view.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
View.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public View.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
View.Builder
Overrides

setName(String value)

public View.Builder setName(String value)

Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
View.Builder

This builder for chaining.

setNameBytes(ByteString value)

public View.Builder setNameBytes(ByteString value)

Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
View.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public View.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
View.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final View.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
View.Builder
Overrides

setUpdateTime(Timestamp value)

public View.Builder setUpdateTime(Timestamp value)

Output only. The most recent time at which the view was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
View.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public View.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The most recent time at which the view was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
View.Builder

setValue(String value)

public View.Builder setValue(String value)

String with specific view properties, must be non-empty.

string value = 5;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
View.Builder

This builder for chaining.

setValueBytes(ByteString value)

public View.Builder setValueBytes(ByteString value)

String with specific view properties, must be non-empty.

string value = 5;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
View.Builder

This builder for chaining.