Class EnvironmentHistory.Builder (4.22.0)

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

The response message for Environments.GetEnvironmentHistory.

Protobuf type google.cloud.dialogflow.v2beta1.EnvironmentHistory

Static Methods

getDescriptor()

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

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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry>
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value EnvironmentHistory.Entry
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue EnvironmentHistory.Entry.Builder
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value EnvironmentHistory.Entry
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue EnvironmentHistory.Entry.Builder
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
EnvironmentHistory.Entry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnvironmentHistory build()
Returns
Type Description
EnvironmentHistory

buildPartial()

public EnvironmentHistory buildPartial()
Returns
Type Description
EnvironmentHistory

clear()

public EnvironmentHistory.Builder clear()
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EnvironmentHistory.Builder

clearField(Descriptors.FieldDescriptor field)

public EnvironmentHistory.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
EnvironmentHistory.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public EnvironmentHistory.Builder clearParent()

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

  • projects/<Project Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

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

Returns
Type Description
EnvironmentHistory.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public EnvironmentHistory getDefaultInstanceForType()
Returns
Type Description
EnvironmentHistory

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

getParent()

public String getParent()

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

  • projects/<Project Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

  • projects/<Project Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EnvironmentHistory other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EnvironmentHistory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value EnvironmentHistory.Entry
Returns
Type Description
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.v2beta1.EnvironmentHistory.Entry entries = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue EnvironmentHistory.Entry.Builder
Returns
Type Description
EnvironmentHistory.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EnvironmentHistory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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 Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
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 Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EnvironmentHistory.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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