Class GetEnvironmentHistoryRequest.Builder (4.3.1)

public static final class GetEnvironmentHistoryRequest.Builder extends GeneratedMessageV3.Builder<GetEnvironmentHistoryRequest.Builder> implements GetEnvironmentHistoryRequestOrBuilder

The request message for Environments.GetEnvironmentHistory.

Protobuf type google.cloud.dialogflow.v2beta1.GetEnvironmentHistoryRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetEnvironmentHistoryRequest build()
Returns
TypeDescription
GetEnvironmentHistoryRequest

buildPartial()

public GetEnvironmentHistoryRequest buildPartial()
Returns
TypeDescription
GetEnvironmentHistoryRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public GetEnvironmentHistoryRequest.Builder clearPageSize()

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

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GetEnvironmentHistoryRequest.Builder

This builder for chaining.

clearPageToken()

public GetEnvironmentHistoryRequest.Builder clearPageToken()

Optional. The next_page_token value returned from a previous list request.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GetEnvironmentHistoryRequest.Builder

This builder for chaining.

clearParent()

public GetEnvironmentHistoryRequest.Builder clearParent()

Required. The name of the environment to retrieve history for. Supported formats:

  • projects/<Project Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

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

Returns
TypeDescription
GetEnvironmentHistoryRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetEnvironmentHistoryRequest getDefaultInstanceForType()
Returns
TypeDescription
GetEnvironmentHistoryRequest

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

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

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The next_page_token value returned from a previous list request.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The next_page_token value returned from a previous list request.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the environment to retrieve history for. Supported formats:

  • projects/<Project Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the environment to retrieve history for. Supported formats:

  • projects/<Project Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

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

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetEnvironmentHistoryRequest other)

public GetEnvironmentHistoryRequest.Builder mergeFrom(GetEnvironmentHistoryRequest other)
Parameter
NameDescription
otherGetEnvironmentHistoryRequest
Returns
TypeDescription
GetEnvironmentHistoryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public GetEnvironmentHistoryRequest.Builder setPageSize(int value)

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

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
GetEnvironmentHistoryRequest.Builder

This builder for chaining.

setPageToken(String value)

public GetEnvironmentHistoryRequest.Builder setPageToken(String value)

Optional. The next_page_token value returned from a previous list request.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
GetEnvironmentHistoryRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public GetEnvironmentHistoryRequest.Builder setPageTokenBytes(ByteString value)

Optional. The next_page_token value returned from a previous list request.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
GetEnvironmentHistoryRequest.Builder

This builder for chaining.

setParent(String value)

public GetEnvironmentHistoryRequest.Builder setParent(String value)

Required. The name of the environment to retrieve history for. Supported formats:

  • projects/<Project Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
GetEnvironmentHistoryRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public GetEnvironmentHistoryRequest.Builder setParentBytes(ByteString value)

Required. The name of the environment to retrieve history for. Supported formats:

  • projects/<Project Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
GetEnvironmentHistoryRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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