Class ShowFeedRequest.Builder (0.48.0)

public static final class ShowFeedRequest.Builder extends GeneratedMessageV3.Builder<ShowFeedRequest.Builder> implements ShowFeedRequestOrBuilder

The request message for the ShowFeed endpoint.

Protobuf type google.cloud.support.v2beta.ShowFeedRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ShowFeedRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ShowFeedRequest.Builder
Overrides

build()

public ShowFeedRequest build()
Returns
Type Description
ShowFeedRequest

buildPartial()

public ShowFeedRequest buildPartial()
Returns
Type Description
ShowFeedRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ShowFeedRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ShowFeedRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ShowFeedRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ShowFeedRequest.Builder
Overrides

clearOrderBy()

public ShowFeedRequest.Builder clearOrderBy()

Optional. Field to order feed items by, followed by asc or desc postfix. The only valid field is creation_time. This list is case-insensitive, default sorting order is ascending, and the redundant space characters are insignificant.

Example: creation_time desc

string order_by = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ShowFeedRequest.Builder

This builder for chaining.

clearPageSize()

public ShowFeedRequest.Builder clearPageSize()

Optional. The maximum number of feed items fetched with each request.

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

Returns
Type Description
ShowFeedRequest.Builder

This builder for chaining.

clearPageToken()

public ShowFeedRequest.Builder clearPageToken()

Optional. A token identifying the page of results to return. If unspecified, it retrieves the first page.

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

Returns
Type Description
ShowFeedRequest.Builder

This builder for chaining.

clearParent()

public ShowFeedRequest.Builder clearParent()

Required. The resource name of the case for which feed items should be listed.

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

Returns
Type Description
ShowFeedRequest.Builder

This builder for chaining.

clone()

public ShowFeedRequest.Builder clone()
Returns
Type Description
ShowFeedRequest.Builder
Overrides

getDefaultInstanceForType()

public ShowFeedRequest getDefaultInstanceForType()
Returns
Type Description
ShowFeedRequest

getDescriptorForType()

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

getOrderBy()

public String getOrderBy()

Optional. Field to order feed items by, followed by asc or desc postfix. The only valid field is creation_time. This list is case-insensitive, default sorting order is ascending, and the redundant space characters are insignificant.

Example: creation_time desc

string order_by = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Optional. Field to order feed items by, followed by asc or desc postfix. The only valid field is creation_time. This list is case-insensitive, default sorting order is ascending, and the redundant space characters are insignificant.

Example: creation_time desc

string order_by = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. The maximum number of feed items fetched with each request.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A token identifying the page of results to return. If unspecified, it retrieves the first page.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A token identifying the page of results to return. If unspecified, it retrieves the first page.

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The resource name of the case for which feed items should be listed.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the case for which feed items should be listed.

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ShowFeedRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ShowFeedRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShowFeedRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ShowFeedRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ShowFeedRequest.Builder
Overrides

setOrderBy(String value)

public ShowFeedRequest.Builder setOrderBy(String value)

Optional. Field to order feed items by, followed by asc or desc postfix. The only valid field is creation_time. This list is case-insensitive, default sorting order is ascending, and the redundant space characters are insignificant.

Example: creation_time desc

string order_by = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ShowFeedRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ShowFeedRequest.Builder setOrderByBytes(ByteString value)

Optional. Field to order feed items by, followed by asc or desc postfix. The only valid field is creation_time. This list is case-insensitive, default sorting order is ascending, and the redundant space characters are insignificant.

Example: creation_time desc

string order_by = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ShowFeedRequest.Builder

This builder for chaining.

setPageSize(int value)

public ShowFeedRequest.Builder setPageSize(int value)

Optional. The maximum number of feed items fetched with each request.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ShowFeedRequest.Builder

This builder for chaining.

setPageToken(String value)

public ShowFeedRequest.Builder setPageToken(String value)

Optional. A token identifying the page of results to return. If unspecified, it retrieves the first page.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ShowFeedRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ShowFeedRequest.Builder setPageTokenBytes(ByteString value)

Optional. A token identifying the page of results to return. If unspecified, it retrieves the first page.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ShowFeedRequest.Builder

This builder for chaining.

setParent(String value)

public ShowFeedRequest.Builder setParent(String value)

Required. The resource name of the case for which feed items should be listed.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ShowFeedRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ShowFeedRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the case for which feed items should be listed.

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
ShowFeedRequest.Builder

This builder for chaining.

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

public ShowFeedRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ShowFeedRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ShowFeedRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShowFeedRequest.Builder
Overrides