Class View.Builder (2.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public View build()
Returns
TypeDescription
View

buildPartial()

public View buildPartial()
Returns
TypeDescription
View

clear()

public View.Builder clear()
Returns
TypeDescription
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
TypeDescription
View.Builder

clearDisplayName()

public View.Builder clearDisplayName()

The human-readable display name of the view.

string display_name = 2;

Returns
TypeDescription
View.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public View.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
View.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public View.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
View.Builder

clearValue()

public View.Builder clearValue()

String with specific view properties.

string value = 5;

Returns
TypeDescription
View.Builder

This builder for chaining.

clone()

public View.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public View getDefaultInstanceForType()
Returns
TypeDescription
View

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The human-readable display name of the view.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The human-readable display name of the view.

string display_name = 2;

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

getValue()

public String getValue()

String with specific view properties.

string value = 5;

Returns
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

String with specific view properties.

string value = 5;

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

mergeFrom(View other)

public View.Builder mergeFrom(View other)
Parameter
NameDescription
otherView
Returns
TypeDescription
View.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final View.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
View.Builder

setDisplayName(String value)

public View.Builder setDisplayName(String value)

The human-readable display name of the view.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
View.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public View.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final View.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
View.Builder

setValue(String value)

public View.Builder setValue(String value)

String with specific view properties.

string value = 5;

Parameter
NameDescription
valueString

The value to set.

Returns
TypeDescription
View.Builder

This builder for chaining.

setValueBytes(ByteString value)

public View.Builder setValueBytes(ByteString value)

String with specific view properties.

string value = 5;

Parameter
NameDescription
valueByteString

The bytes for value to set.

Returns
TypeDescription
View.Builder

This builder for chaining.