Class ListFeedsRequest.Builder (0.37.0)

public static final class ListFeedsRequest.Builder extends GeneratedMessage.Builder<ListFeedsRequest.Builder> implements ListFeedsRequestOrBuilder

Request message for ListFeed.

Protobuf type google.cloud.chronicle.v1.ListFeedsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListFeedsRequest build()
Returns
Type Description
ListFeedsRequest

buildPartial()

public ListFeedsRequest buildPartial()
Returns
Type Description
ListFeedsRequest

clear()

public ListFeedsRequest.Builder clear()
Returns
Type Description
ListFeedsRequest.Builder
Overrides

clearPageSize()

public ListFeedsRequest.Builder clearPageSize()

The maximum number of feeds to return. The service may return fewer than this value. If unspecified, at most 100 feeds will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 2;

Returns
Type Description
ListFeedsRequest.Builder

This builder for chaining.

clearPageToken()

public ListFeedsRequest.Builder clearPageToken()

A page token, received from a previous ListFeeds call. Provide this to retrieve the subsequent page.

string page_token = 3;

Returns
Type Description
ListFeedsRequest.Builder

This builder for chaining.

clearParent()

public ListFeedsRequest.Builder clearParent()

Required. The parent resource where this Feed will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
ListFeedsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListFeedsRequest getDefaultInstanceForType()
Returns
Type Description
ListFeedsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of feeds to return. The service may return fewer than this value. If unspecified, at most 100 feeds will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous ListFeeds call. Provide this to retrieve the subsequent page.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous ListFeeds call. Provide this to retrieve the subsequent page.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent resource where this Feed will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this Feed will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFeedsRequest other)

public ListFeedsRequest.Builder mergeFrom(ListFeedsRequest other)
Parameter
Name Description
other ListFeedsRequest
Returns
Type Description
ListFeedsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFeedsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFeedsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListFeedsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListFeedsRequest.Builder
Overrides

setPageSize(int value)

public ListFeedsRequest.Builder setPageSize(int value)

The maximum number of feeds to return. The service may return fewer than this value. If unspecified, at most 100 feeds will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListFeedsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListFeedsRequest.Builder setPageToken(String value)

A page token, received from a previous ListFeeds call. Provide this to retrieve the subsequent page.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListFeedsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListFeedsRequest.Builder setPageTokenBytes(ByteString value)

A page token, received from a previous ListFeeds call. Provide this to retrieve the subsequent page.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListFeedsRequest.Builder

This builder for chaining.

setParent(String value)

public ListFeedsRequest.Builder setParent(String value)

Required. The parent resource where this Feed will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListFeedsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListFeedsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this Feed will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListFeedsRequest.Builder

This builder for chaining.