public static final class View.Builder extends GeneratedMessage.Builder<View.Builder> implements ViewOrBuilderThe View resource.
Protobuf type google.cloud.contactcenterinsights.v1.View
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > View.BuilderImplements
ViewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public View.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
View.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
View.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
View.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
View.Builder |
This builder for chaining. |