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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.EnvironmentHistory.Entry>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EnvironmentHistory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EnvironmentHistory build()
Returns
buildPartial()
public EnvironmentHistory buildPartial()
Returns
clear()
public EnvironmentHistory.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public EnvironmentHistory.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public EnvironmentHistory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public EnvironmentHistory.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public EnvironmentHistory getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Name |
Description |
index |
int
|
Returns
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
Name |
Description |
index |
int
|
Returns
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
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
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
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
Name |
Description |
index |
int
|
Returns
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
Type |
Description |
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
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 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
Type |
Description |
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(EnvironmentHistory other)
public EnvironmentHistory.Builder mergeFrom(EnvironmentHistory other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EnvironmentHistory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EnvironmentHistory.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EnvironmentHistory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name |
Description |
index |
int
|
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EnvironmentHistory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Name |
Description |
value |
String
The parent to set.
|
Returns
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
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EnvironmentHistory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EnvironmentHistory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides