Class EnvironmentHistory (4.61.0)

public final class EnvironmentHistory extends GeneratedMessageV3 implements EnvironmentHistoryOrBuilder

The response message for Environments.GetEnvironmentHistory.

Protobuf type google.cloud.dialogflow.v2beta1.EnvironmentHistory

Static Fields

ENTRIES_FIELD_NUMBER

public static final int ENTRIES_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EnvironmentHistory getDefaultInstance()
Returns
Type Description
EnvironmentHistory

getDescriptor()

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

newBuilder()

public static EnvironmentHistory.Builder newBuilder()
Returns
Type Description
EnvironmentHistory.Builder

newBuilder(EnvironmentHistory prototype)

public static EnvironmentHistory.Builder newBuilder(EnvironmentHistory prototype)
Parameter
Name Description
prototype EnvironmentHistory
Returns
Type Description
EnvironmentHistory.Builder

parseDelimitedFrom(InputStream input)

public static EnvironmentHistory parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EnvironmentHistory parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EnvironmentHistory parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EnvironmentHistory parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EnvironmentHistory parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EnvironmentHistory parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvironmentHistory
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EnvironmentHistory> parser()
Returns
Type Description
Parser<EnvironmentHistory>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EnvironmentHistory getDefaultInstanceForType()
Returns
Type Description
EnvironmentHistory

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

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 ID>/agent/environments/<Environment ID>
  • projects/<Project 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 ID>/agent/environments/<Environment ID>
  • projects/<Project 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.

getParserForType()

public Parser<EnvironmentHistory> getParserForType()
Returns
Type Description
Parser<EnvironmentHistory>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EnvironmentHistory.Builder newBuilderForType()
Returns
Type Description
EnvironmentHistory.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EnvironmentHistory.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EnvironmentHistory.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EnvironmentHistory.Builder toBuilder()
Returns
Type Description
EnvironmentHistory.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException