Class ListChangelogsRequest.Builder (0.52.0)

public static final class ListChangelogsRequest.Builder extends GeneratedMessageV3.Builder<ListChangelogsRequest.Builder> implements ListChangelogsRequestOrBuilder

The request message for Changelogs.ListChangelogs.

Protobuf type google.cloud.dialogflow.cx.v3.ListChangelogsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListChangelogsRequest build()
Returns
TypeDescription
ListChangelogsRequest

buildPartial()

public ListChangelogsRequest buildPartial()
Returns
TypeDescription
ListChangelogsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListChangelogsRequest.Builder clearFilter()

The filter string. Supports filter by user_email, resource, type and create_time. Some examples:

  1. By user email: user_email = "someone@google.com"
  2. By resource name: resource = "projects/123/locations/global/agents/456/flows/789"
  3. By resource display name: display_name = "my agent"
  4. By action: action = "Create"
  5. By type: type = "flows"
  6. By create time. Currently predicates on create_time and create_time_epoch_seconds are supported: create_time_epoch_seconds > 1551790877 AND create_time <= 2017-01-15T01:30:15.01Z
  7. Combination of above filters: resource = "projects/123/locations/global/agents/456/flows/789" AND user_email = "someone@google.com" AND create_time <= 2017-01-15T01:30:15.01Z

string filter = 2;

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListChangelogsRequest.Builder clearPageSize()

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

int32 page_size = 3;

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

clearPageToken()

public ListChangelogsRequest.Builder clearPageToken()

The next_page_token value returned from a previous list request.

string page_token = 4;

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

clearParent()

public ListChangelogsRequest.Builder clearParent()

Required. The agent containing the changelogs. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListChangelogsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListChangelogsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

The filter string. Supports filter by user_email, resource, type and create_time. Some examples:

  1. By user email: user_email = "someone@google.com"
  2. By resource name: resource = "projects/123/locations/global/agents/456/flows/789"
  3. By resource display name: display_name = "my agent"
  4. By action: action = "Create"
  5. By type: type = "flows"
  6. By create time. Currently predicates on create_time and create_time_epoch_seconds are supported: create_time_epoch_seconds > 1551790877 AND create_time <= 2017-01-15T01:30:15.01Z
  7. Combination of above filters: resource = "projects/123/locations/global/agents/456/flows/789" AND user_email = "someone@google.com" AND create_time <= 2017-01-15T01:30:15.01Z

string filter = 2;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

The filter string. Supports filter by user_email, resource, type and create_time. Some examples:

  1. By user email: user_email = "someone@google.com"
  2. By resource name: resource = "projects/123/locations/global/agents/456/flows/789"
  3. By resource display name: display_name = "my agent"
  4. By action: action = "Create"
  5. By type: type = "flows"
  6. By create time. Currently predicates on create_time and create_time_epoch_seconds are supported: create_time_epoch_seconds > 1551790877 AND create_time <= 2017-01-15T01:30:15.01Z
  7. Combination of above filters: resource = "projects/123/locations/global/agents/456/flows/789" AND user_email = "someone@google.com" AND create_time <= 2017-01-15T01:30:15.01Z

string filter = 2;

Returns
TypeDescription
ByteString

The bytes for filter.

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 = 3;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

The next_page_token value returned from a previous list request.

string page_token = 4;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The next_page_token value returned from a previous list request.

string page_token = 4;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The agent containing the changelogs. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The agent containing the changelogs. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent 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(ListChangelogsRequest other)

public ListChangelogsRequest.Builder mergeFrom(ListChangelogsRequest other)
Parameter
NameDescription
otherListChangelogsRequest
Returns
TypeDescription
ListChangelogsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListChangelogsRequest.Builder setFilter(String value)

The filter string. Supports filter by user_email, resource, type and create_time. Some examples:

  1. By user email: user_email = "someone@google.com"
  2. By resource name: resource = "projects/123/locations/global/agents/456/flows/789"
  3. By resource display name: display_name = "my agent"
  4. By action: action = "Create"
  5. By type: type = "flows"
  6. By create time. Currently predicates on create_time and create_time_epoch_seconds are supported: create_time_epoch_seconds > 1551790877 AND create_time <= 2017-01-15T01:30:15.01Z
  7. Combination of above filters: resource = "projects/123/locations/global/agents/456/flows/789" AND user_email = "someone@google.com" AND create_time <= 2017-01-15T01:30:15.01Z

string filter = 2;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListChangelogsRequest.Builder setFilterBytes(ByteString value)

The filter string. Supports filter by user_email, resource, type and create_time. Some examples:

  1. By user email: user_email = "someone@google.com"
  2. By resource name: resource = "projects/123/locations/global/agents/456/flows/789"
  3. By resource display name: display_name = "my agent"
  4. By action: action = "Create"
  5. By type: type = "flows"
  6. By create time. Currently predicates on create_time and create_time_epoch_seconds are supported: create_time_epoch_seconds > 1551790877 AND create_time <= 2017-01-15T01:30:15.01Z
  7. Combination of above filters: resource = "projects/123/locations/global/agents/456/flows/789" AND user_email = "someone@google.com" AND create_time <= 2017-01-15T01:30:15.01Z

string filter = 2;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListChangelogsRequest.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 = 3;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListChangelogsRequest.Builder setPageToken(String value)

The next_page_token value returned from a previous list request.

string page_token = 4;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListChangelogsRequest.Builder setPageTokenBytes(ByteString value)

The next_page_token value returned from a previous list request.

string page_token = 4;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

setParent(String value)

public ListChangelogsRequest.Builder setParent(String value)

Required. The agent containing the changelogs. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListChangelogsRequest.Builder setParentBytes(ByteString value)

Required. The agent containing the changelogs. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListChangelogsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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