Class EnvironmentHistory.Entry.Builder (4.5.11)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnvironmentHistory.Entry build()
Returns
TypeDescription
EnvironmentHistory.Entry

buildPartial()

public EnvironmentHistory.Entry buildPartial()
Returns
TypeDescription
EnvironmentHistory.Entry

clear()

public EnvironmentHistory.Entry.Builder clear()
Returns
TypeDescription
EnvironmentHistory.Entry.Builder
Overrides

clearAgentVersion()

public EnvironmentHistory.Entry.Builder clearAgentVersion()

The agent version loaded into this environment history entry.

string agent_version = 1;

Returns
TypeDescription
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
TypeDescription
EnvironmentHistory.Entry.Builder

clearDescription()

public EnvironmentHistory.Entry.Builder clearDescription()

The developer-provided description for this environment history entry.

string description = 2;

Returns
TypeDescription
EnvironmentHistory.Entry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public EnvironmentHistory.Entry.Builder clone()
Returns
TypeDescription
EnvironmentHistory.Entry.Builder
Overrides

getAgentVersion()

public String getAgentVersion()

The agent version loaded into this environment history entry.

string agent_version = 1;

Returns
TypeDescription
String

The agentVersion.

getAgentVersionBytes()

public ByteString getAgentVersionBytes()

The agent version loaded into this environment history entry.

string agent_version = 1;

Returns
TypeDescription
ByteString

The bytes for agentVersion.

getCreateTime()

public Timestamp getCreateTime()

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public EnvironmentHistory.Entry getDefaultInstanceForType()
Returns
TypeDescription
EnvironmentHistory.Entry

getDescription()

public String getDescription()

The developer-provided description for this environment history entry.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The developer-provided description for this environment history entry.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCreateTime()

public boolean hasCreateTime()

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
boolean

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

The creation time of this environment history entry.

.google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
EnvironmentHistory.Entry.Builder

mergeFrom(EnvironmentHistory.Entry other)

public EnvironmentHistory.Entry.Builder mergeFrom(EnvironmentHistory.Entry other)
Parameter
NameDescription
otherEnvironmentHistory.Entry
Returns
TypeDescription
EnvironmentHistory.Entry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EnvironmentHistory.Entry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The agentVersion to set.

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

The bytes for agentVersion to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

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

The bytes for description to set.

Returns
TypeDescription
EnvironmentHistory.Entry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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