Class LookupEnvironmentHistoryRequest.Builder (0.14.1)

public static final class LookupEnvironmentHistoryRequest.Builder extends GeneratedMessageV3.Builder<LookupEnvironmentHistoryRequest.Builder> implements LookupEnvironmentHistoryRequestOrBuilder

The request message for Environments.LookupEnvironmentHistory.

Protobuf type google.cloud.dialogflow.cx.v3beta1.LookupEnvironmentHistoryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupEnvironmentHistoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides

build()

public LookupEnvironmentHistoryRequest build()
Returns
TypeDescription
LookupEnvironmentHistoryRequest

buildPartial()

public LookupEnvironmentHistoryRequest buildPartial()
Returns
TypeDescription
LookupEnvironmentHistoryRequest

clear()

public LookupEnvironmentHistoryRequest.Builder clear()
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LookupEnvironmentHistoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides

clearName()

public LookupEnvironmentHistoryRequest.Builder clearName()

Required. Resource name of the environment to look up the history for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupEnvironmentHistoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides

clearPageSize()

public LookupEnvironmentHistoryRequest.Builder clearPageSize()

The maximum number of items to return in a single page. By default 100 and at most 1000.

int32 page_size = 2;

Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder

This builder for chaining.

clearPageToken()

public LookupEnvironmentHistoryRequest.Builder clearPageToken()

The next_page_token value returned from a previous list request.

string page_token = 3;

Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder

This builder for chaining.

clone()

public LookupEnvironmentHistoryRequest.Builder clone()
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides

getDefaultInstanceForType()

public LookupEnvironmentHistoryRequest getDefaultInstanceForType()
Returns
TypeDescription
LookupEnvironmentHistoryRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the environment to look up the history for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the environment to look up the history for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

The maximum number of items to return in a single page. By default 100 and at most 1000.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

The next_page_token value returned from a previous list request.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The next_page_token value returned from a previous list request.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LookupEnvironmentHistoryRequest other)

public LookupEnvironmentHistoryRequest.Builder mergeFrom(LookupEnvironmentHistoryRequest other)
Parameter
NameDescription
otherLookupEnvironmentHistoryRequest
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupEnvironmentHistoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LookupEnvironmentHistoryRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupEnvironmentHistoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LookupEnvironmentHistoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides

setName(String value)

public LookupEnvironmentHistoryRequest.Builder setName(String value)

Required. Resource name of the environment to look up the history for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LookupEnvironmentHistoryRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the environment to look up the history for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder

This builder for chaining.

setPageSize(int value)

public LookupEnvironmentHistoryRequest.Builder setPageSize(int value)

The maximum number of items to return in a single page. By default 100 and at most 1000.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder

This builder for chaining.

setPageToken(String value)

public LookupEnvironmentHistoryRequest.Builder setPageToken(String value)

The next_page_token value returned from a previous list request.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public LookupEnvironmentHistoryRequest.Builder setPageTokenBytes(ByteString value)

The next_page_token value returned from a previous list request.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LookupEnvironmentHistoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupEnvironmentHistoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupEnvironmentHistoryRequest.Builder
Overrides