Class EnvironmentHistory.Entry.Builder (4.18.0)

public static final class EnvironmentHistory.Entry.Builder extends GeneratedMessageV3.Builder<EnvironmentHistory.Entry.Builder> implements EnvironmentHistory.EntryOrBuilder

Represents an environment history entry.

Protobuf type google.cloud.dialogflow.v2.EnvironmentHistory.Entry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnvironmentHistory.Entry build()
Returns
Type Description
EnvironmentHistory.Entry

buildPartial()

public EnvironmentHistory.Entry buildPartial()
Returns
Type Description
EnvironmentHistory.Entry

clear()

public EnvironmentHistory.Entry.Builder clear()
Returns
Type Description
EnvironmentHistory.Entry.Builder
Overrides

clearAgentVersion()

public EnvironmentHistory.Entry.Builder clearAgentVersion()

The agent version loaded into this environment history entry.

string agent_version = 1;

Returns
Type Description
EnvironmentHistory.Entry.Builder

This builder for chaining.

clearCreateTime()

public EnvironmentHistory.Entry.Builder clearCreateTime()

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
EnvironmentHistory.Entry.Builder

clearDescription()

public EnvironmentHistory.Entry.Builder clearDescription()

The developer-provided description for this environment history entry.

string description = 2;

Returns
Type Description
EnvironmentHistory.Entry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public EnvironmentHistory.Entry.Builder clone()
Returns
Type Description
EnvironmentHistory.Entry.Builder
Overrides

getAgentVersion()

public String getAgentVersion()

The agent version loaded into this environment history entry.

string agent_version = 1;

Returns
Type Description
String

The agentVersion.

getAgentVersionBytes()

public ByteString getAgentVersionBytes()

The agent version loaded into this environment history entry.

string agent_version = 1;

Returns
Type Description
ByteString

The bytes for agentVersion.

getCreateTime()

public Timestamp getCreateTime()

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public EnvironmentHistory.Entry getDefaultInstanceForType()
Returns
Type Description
EnvironmentHistory.Entry

getDescription()

public String getDescription()

The developer-provided description for this environment history entry.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The developer-provided description for this environment history entry.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

hasCreateTime()

public boolean hasCreateTime()

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime 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 EnvironmentHistory.Entry.Builder mergeCreateTime(Timestamp value)

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
EnvironmentHistory.Entry.Builder

mergeFrom(EnvironmentHistory.Entry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAgentVersion(String value)

public EnvironmentHistory.Entry.Builder setAgentVersion(String value)

The agent version loaded into this environment history entry.

string agent_version = 1;

Parameter
Name Description
value String

The agentVersion to set.

Returns
Type Description
EnvironmentHistory.Entry.Builder

This builder for chaining.

setAgentVersionBytes(ByteString value)

public EnvironmentHistory.Entry.Builder setAgentVersionBytes(ByteString value)

The agent version loaded into this environment history entry.

string agent_version = 1;

Parameter
Name Description
value ByteString

The bytes for agentVersion to set.

Returns
Type Description
EnvironmentHistory.Entry.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public EnvironmentHistory.Entry.Builder setCreateTime(Timestamp value)

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
EnvironmentHistory.Entry.Builder

setCreateTime(Timestamp.Builder builderForValue)

public EnvironmentHistory.Entry.Builder setCreateTime(Timestamp.Builder builderForValue)

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EnvironmentHistory.Entry.Builder

setDescription(String value)

public EnvironmentHistory.Entry.Builder setDescription(String value)

The developer-provided description for this environment history entry.

string description = 2;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
EnvironmentHistory.Entry.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public EnvironmentHistory.Entry.Builder setDescriptionBytes(ByteString value)

The developer-provided description for this environment history entry.

string description = 2;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
EnvironmentHistory.Entry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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