Class LookupEnvironmentHistoryResponse.Builder (0.25.0)

public static final class LookupEnvironmentHistoryResponse.Builder extends GeneratedMessageV3.Builder<LookupEnvironmentHistoryResponse.Builder> implements LookupEnvironmentHistoryResponseOrBuilder

The response message for Environments.LookupEnvironmentHistory.

Protobuf type google.cloud.dialogflow.cx.v3beta1.LookupEnvironmentHistoryResponse

Static Methods

getDescriptor()

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

Methods

addAllEnvironments(Iterable<? extends Environment> values)

public LookupEnvironmentHistoryResponse.Builder addAllEnvironments(Iterable<? extends Environment> values)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Environment>
Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

addEnvironments(Environment value)

public LookupEnvironmentHistoryResponse.Builder addEnvironments(Environment value)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameter
Name Description
value Environment
Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

addEnvironments(Environment.Builder builderForValue)

public LookupEnvironmentHistoryResponse.Builder addEnvironments(Environment.Builder builderForValue)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameter
Name Description
builderForValue Environment.Builder
Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

addEnvironments(int index, Environment value)

public LookupEnvironmentHistoryResponse.Builder addEnvironments(int index, Environment value)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameters
Name Description
index int
value Environment
Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

addEnvironments(int index, Environment.Builder builderForValue)

public LookupEnvironmentHistoryResponse.Builder addEnvironments(int index, Environment.Builder builderForValue)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameters
Name Description
index int
builderForValue Environment.Builder
Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

addEnvironmentsBuilder()

public Environment.Builder addEnvironmentsBuilder()

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Returns
Type Description
Environment.Builder

addEnvironmentsBuilder(int index)

public Environment.Builder addEnvironmentsBuilder(int index)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameter
Name Description
index int
Returns
Type Description
Environment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LookupEnvironmentHistoryResponse build()
Returns
Type Description
LookupEnvironmentHistoryResponse

buildPartial()

public LookupEnvironmentHistoryResponse buildPartial()
Returns
Type Description
LookupEnvironmentHistoryResponse

clear()

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

clearEnvironments()

public LookupEnvironmentHistoryResponse.Builder clearEnvironments()

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public LookupEnvironmentHistoryResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public LookupEnvironmentHistoryResponse getDefaultInstanceForType()
Returns
Type Description
LookupEnvironmentHistoryResponse

getDescriptorForType()

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

getEnvironments(int index)

public Environment getEnvironments(int index)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameter
Name Description
index int
Returns
Type Description
Environment

getEnvironmentsBuilder(int index)

public Environment.Builder getEnvironmentsBuilder(int index)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameter
Name Description
index int
Returns
Type Description
Environment.Builder

getEnvironmentsBuilderList()

public List<Environment.Builder> getEnvironmentsBuilderList()

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Returns
Type Description
List<Builder>

getEnvironmentsCount()

public int getEnvironmentsCount()

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Returns
Type Description
int

getEnvironmentsList()

public List<Environment> getEnvironmentsList()

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Returns
Type Description
List<Environment>

getEnvironmentsOrBuilder(int index)

public EnvironmentOrBuilder getEnvironmentsOrBuilder(int index)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameter
Name Description
index int
Returns
Type Description
EnvironmentOrBuilder

getEnvironmentsOrBuilderList()

public List<? extends EnvironmentOrBuilder> getEnvironmentsOrBuilderList()

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.EnvironmentOrBuilder>

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LookupEnvironmentHistoryResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEnvironments(int index)

public LookupEnvironmentHistoryResponse.Builder removeEnvironments(int index)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameter
Name Description
index int
Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

setEnvironments(int index, Environment value)

public LookupEnvironmentHistoryResponse.Builder setEnvironments(int index, Environment value)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameters
Name Description
index int
value Environment
Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

setEnvironments(int index, Environment.Builder builderForValue)

public LookupEnvironmentHistoryResponse.Builder setEnvironments(int index, Environment.Builder builderForValue)

Represents a list of snapshots for an environment. Time of the snapshots is stored in update_time.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment environments = 1;

Parameters
Name Description
index int
builderForValue Environment.Builder
Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public LookupEnvironmentHistoryResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public LookupEnvironmentHistoryResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
LookupEnvironmentHistoryResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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