public final class EnvironmentHistory extends GeneratedMessageV3 implements EnvironmentHistoryOrBuilder
The response message for
Environments.GetEnvironmentHistory.
Protobuf type google.cloud.dialogflow.v2.EnvironmentHistory
Static Fields
ENTRIES_FIELD_NUMBER
public static final int ENTRIES_FIELD_NUMBER
Field Value
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EnvironmentHistory getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EnvironmentHistory.Builder newBuilder()
Returns
newBuilder(EnvironmentHistory prototype)
public static EnvironmentHistory.Builder newBuilder(EnvironmentHistory prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static EnvironmentHistory parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EnvironmentHistory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EnvironmentHistory parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EnvironmentHistory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EnvironmentHistory parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EnvironmentHistory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static EnvironmentHistory parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EnvironmentHistory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static EnvironmentHistory parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EnvironmentHistory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EnvironmentHistory parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EnvironmentHistory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EnvironmentHistory> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public EnvironmentHistory getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<EnvironmentHistory> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EnvironmentHistory.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EnvironmentHistory.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EnvironmentHistory.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions