Class EnvironmentHistory.Builder (4.3.1)

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

The response message for Environments.GetEnvironmentHistory.

Protobuf type google.cloud.dialogflow.v2.EnvironmentHistory

Methods

addAllEntries(Iterable<? extends EnvironmentHistory.Entry> values)

public EnvironmentHistory.Builder addAllEntries(Iterable<? extends EnvironmentHistory.Entry> values)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.EnvironmentHistory.Entry>
Returns
TypeDescription
EnvironmentHistory.Builder

addEntries(EnvironmentHistory.Entry value)

public EnvironmentHistory.Builder addEntries(EnvironmentHistory.Entry value)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueEnvironmentHistory.Entry
Returns
TypeDescription
EnvironmentHistory.Builder

addEntries(EnvironmentHistory.Entry.Builder builderForValue)

public EnvironmentHistory.Builder addEntries(EnvironmentHistory.Entry.Builder builderForValue)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueEnvironmentHistory.Entry.Builder
Returns
TypeDescription
EnvironmentHistory.Builder

addEntries(int index, EnvironmentHistory.Entry value)

public EnvironmentHistory.Builder addEntries(int index, EnvironmentHistory.Entry value)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueEnvironmentHistory.Entry
Returns
TypeDescription
EnvironmentHistory.Builder

addEntries(int index, EnvironmentHistory.Entry.Builder builderForValue)

public EnvironmentHistory.Builder addEntries(int index, EnvironmentHistory.Entry.Builder builderForValue)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueEnvironmentHistory.Entry.Builder
Returns
TypeDescription
EnvironmentHistory.Builder

addEntriesBuilder()

public EnvironmentHistory.Entry.Builder addEntriesBuilder()

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
EnvironmentHistory.Entry.Builder

addEntriesBuilder(int index)

public EnvironmentHistory.Entry.Builder addEntriesBuilder(int index)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvironmentHistory.Entry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnvironmentHistory build()
Returns
TypeDescription
EnvironmentHistory

buildPartial()

public EnvironmentHistory buildPartial()
Returns
TypeDescription
EnvironmentHistory

clear()

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

clearEntries()

public EnvironmentHistory.Builder clearEntries()

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
EnvironmentHistory.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public EnvironmentHistory.Builder clearNextPageToken()

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

string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
EnvironmentHistory.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public EnvironmentHistory.Builder clearParent()

Output only. The name of the environment this history is for. Supported formats:

  • projects/<Project ID>/agent/environments/<Environment ID>
  • projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID> The environment ID for the default environment is -.

string parent = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
EnvironmentHistory.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public EnvironmentHistory getDefaultInstanceForType()
Returns
TypeDescription
EnvironmentHistory

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntries(int index)

public EnvironmentHistory.Entry getEntries(int index)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvironmentHistory.Entry

getEntriesBuilder(int index)

public EnvironmentHistory.Entry.Builder getEntriesBuilder(int index)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvironmentHistory.Entry.Builder

getEntriesBuilderList()

public List<EnvironmentHistory.Entry.Builder> getEntriesBuilderList()

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getEntriesCount()

public int getEntriesCount()

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getEntriesList()

public List<EnvironmentHistory.Entry> getEntriesList()

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Entry>

getEntriesOrBuilder(int index)

public EnvironmentHistory.EntryOrBuilder getEntriesOrBuilder(int index)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvironmentHistory.EntryOrBuilder

getEntriesOrBuilderList()

public List<? extends EnvironmentHistory.EntryOrBuilder> getEntriesOrBuilderList()

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.EnvironmentHistory.EntryOrBuilder>

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParent()

public String getParent()

Output only. The name of the environment this history is for. Supported formats:

  • projects/<Project ID>/agent/environments/<Environment ID>
  • projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID> The environment ID for the default environment is -.

string parent = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Output only. The name of the environment this history is for. Supported formats:

  • projects/<Project ID>/agent/environments/<Environment ID>
  • projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID> The environment ID for the default environment is -.

string parent = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EnvironmentHistory other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public EnvironmentHistory.Builder removeEntries(int index)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvironmentHistory.Builder

setEntries(int index, EnvironmentHistory.Entry value)

public EnvironmentHistory.Builder setEntries(int index, EnvironmentHistory.Entry value)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueEnvironmentHistory.Entry
Returns
TypeDescription
EnvironmentHistory.Builder

setEntries(int index, EnvironmentHistory.Entry.Builder builderForValue)

public EnvironmentHistory.Builder setEntries(int index, EnvironmentHistory.Entry.Builder builderForValue)

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueEnvironmentHistory.Entry.Builder
Returns
TypeDescription
EnvironmentHistory.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public EnvironmentHistory.Builder setNextPageToken(String value)

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

string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
EnvironmentHistory.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public EnvironmentHistory.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
EnvironmentHistory.Builder

This builder for chaining.

setParent(String value)

public EnvironmentHistory.Builder setParent(String value)

Output only. The name of the environment this history is for. Supported formats:

  • projects/<Project ID>/agent/environments/<Environment ID>
  • projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID> The environment ID for the default environment is -.

string parent = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
EnvironmentHistory.Builder

This builder for chaining.

setParentBytes(ByteString value)

public EnvironmentHistory.Builder setParentBytes(ByteString value)

Output only. The name of the environment this history is for. Supported formats:

  • projects/<Project ID>/agent/environments/<Environment ID>
  • projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID> The environment ID for the default environment is -.

string parent = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
EnvironmentHistory.Builder

This builder for chaining.

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

public EnvironmentHistory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EnvironmentHistory.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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