Class LookupEnvironmentHistoryResponse.Builder (0.14.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Environment>
Returns
TypeDescription
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
NameDescription
valueEnvironment
Returns
TypeDescription
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
NameDescription
builderForValueEnvironment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEnvironment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEnvironment.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Environment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LookupEnvironmentHistoryResponse build()
Returns
TypeDescription
LookupEnvironmentHistoryResponse

buildPartial()

public LookupEnvironmentHistoryResponse buildPartial()
Returns
TypeDescription
LookupEnvironmentHistoryResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public LookupEnvironmentHistoryResponse.Builder clone()
Returns
TypeDescription
LookupEnvironmentHistoryResponse.Builder
Overrides

getDefaultInstanceForType()

public LookupEnvironmentHistoryResponse getDefaultInstanceForType()
Returns
TypeDescription
LookupEnvironmentHistoryResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LookupEnvironmentHistoryResponse other)

public LookupEnvironmentHistoryResponse.Builder mergeFrom(LookupEnvironmentHistoryResponse other)
Parameter
NameDescription
otherLookupEnvironmentHistoryResponse
Returns
TypeDescription
LookupEnvironmentHistoryResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupEnvironmentHistoryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEnvironment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEnvironment.Builder
Returns
TypeDescription
LookupEnvironmentHistoryResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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