Package com.google.cloud.dialogflow.v2
Class EnvironmentHistory.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EnvironmentHistory.Builder>
com.google.cloud.dialogflow.v2.EnvironmentHistory.Builder
- All Implemented Interfaces:
EnvironmentHistoryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EnvironmentHistory
public static final class EnvironmentHistory.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EnvironmentHistory.Builder>
implements EnvironmentHistoryOrBuilder
The response message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2.Environments.GetEnvironmentHistory].Protobuf type
google.cloud.dialogflow.v2.EnvironmentHistory-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntries(Iterable<? extends EnvironmentHistory.Entry> values) Output only.addEntries(int index, EnvironmentHistory.Entry value) Output only.addEntries(int index, EnvironmentHistory.Entry.Builder builderForValue) Output only.Output only.addEntries(EnvironmentHistory.Entry.Builder builderForValue) Output only.Output only.addEntriesBuilder(int index) Output only.build()clear()Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntries(int index) Output only.getEntriesBuilder(int index) Output only.Output only.intOutput only.Output only.getEntriesOrBuilder(int index) Output only.List<? extends EnvironmentHistory.EntryOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(EnvironmentHistory other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeEntries(int index) Output only.setEntries(int index, EnvironmentHistory.Entry value) Output only.setEntries(int index, EnvironmentHistory.Entry.Builder builderForValue) Output only.setNextPageToken(String value) Output only.setNextPageTokenBytes(com.google.protobuf.ByteString value) Output only.Output only.setParentBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EnvironmentHistory.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EnvironmentHistory.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EnvironmentHistory.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EnvironmentHistory.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EnvironmentHistory.Builder>
-
mergeFrom
public EnvironmentHistory.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EnvironmentHistory.Builder>- Throws:
IOException
-
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];- Specified by:
getParentin interfaceEnvironmentHistoryOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.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];- Specified by:
getParentBytesin interfaceEnvironmentHistoryOrBuilder- Returns:
- The bytes for parent.
-
setParent
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];- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setParentBytes
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];- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getEntriesListin interfaceEnvironmentHistoryOrBuilder
-
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];- Specified by:
getEntriesCountin interfaceEnvironmentHistoryOrBuilder
-
getEntries
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];- Specified by:
getEntriesin interfaceEnvironmentHistoryOrBuilder
-
setEntries
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]; -
setEntries
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]; -
addEntries
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]; -
addEntries
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]; -
addEntries
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]; -
addEntries
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]; -
addAllEntries
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]; -
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]; -
removeEntries
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]; -
getEntriesBuilder
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]; -
getEntriesOrBuilder
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];- Specified by:
getEntriesOrBuilderin interfaceEnvironmentHistoryOrBuilder
-
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];- Specified by:
getEntriesOrBuilderListin interfaceEnvironmentHistoryOrBuilder
-
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]; -
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]; -
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]; -
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];- Specified by:
getNextPageTokenin interfaceEnvironmentHistoryOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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];- Specified by:
getNextPageTokenBytesin interfaceEnvironmentHistoryOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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];- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
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];- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-