Class EnvironmentHistory (4.46.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
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EnvironmentHistory getDefaultInstance()
Returns
TypeDescription
EnvironmentHistory

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EnvironmentHistory.Builder newBuilder()
Returns
TypeDescription
EnvironmentHistory.Builder

newBuilder(EnvironmentHistory prototype)

public static EnvironmentHistory.Builder newBuilder(EnvironmentHistory prototype)
Parameter
NameDescription
prototypeEnvironmentHistory
Returns
TypeDescription
EnvironmentHistory.Builder

parseDelimitedFrom(InputStream input)

public static EnvironmentHistory parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EnvironmentHistory parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EnvironmentHistory parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EnvironmentHistory parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EnvironmentHistory parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EnvironmentHistory parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EnvironmentHistory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvironmentHistory
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EnvironmentHistory> parser()
Returns
TypeDescription
Parser<EnvironmentHistory>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EnvironmentHistory getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<EnvironmentHistory> getParserForType()
Returns
TypeDescription
Parser<EnvironmentHistory>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EnvironmentHistory.Builder newBuilderForType()
Returns
TypeDescription
EnvironmentHistory.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EnvironmentHistory.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EnvironmentHistory.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EnvironmentHistory.Builder toBuilder()
Returns
TypeDescription
EnvironmentHistory.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException