Class ListDestinationsRequest.Builder (1.73.0)

public static final class ListDestinationsRequest.Builder extends GeneratedMessageV3.Builder<ListDestinationsRequest.Builder> implements ListDestinationsRequestOrBuilder

Request message to list Destination resources.

Protobuf type google.cloud.networkconnectivity.v1.ListDestinationsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDestinationsRequest build()
Returns
Type Description
ListDestinationsRequest

buildPartial()

public ListDestinationsRequest buildPartial()
Returns
Type Description
ListDestinationsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListDestinationsRequest.Builder clearFilter()

Optional. An expression that filters the results listed in the response.

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

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrderBy()

public ListDestinationsRequest.Builder clearOrderBy()

Optional. The sort order of the results.

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

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

clearPageSize()

public ListDestinationsRequest.Builder clearPageSize()

Optional. The maximum number of results listed per page.

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

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

clearPageToken()

public ListDestinationsRequest.Builder clearPageToken()

Optional. The page token.

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

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

clearParent()

public ListDestinationsRequest.Builder clearParent()

Required. The name of the parent resource.

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

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

clearReturnPartialSuccess()

public ListDestinationsRequest.Builder clearReturnPartialSuccess()

Optional. If true, allow partial responses for multi-regional aggregated list requests.

bool return_partial_success = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDestinationsRequest getDefaultInstanceForType()
Returns
Type Description
ListDestinationsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. An expression that filters the results listed in the response.

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

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. An expression that filters the results listed in the response.

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

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Optional. The sort order of the results.

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

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Optional. The sort order of the results.

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

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. The maximum number of results listed per page.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The page token.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The page token.

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the parent resource.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the parent resource.

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

Returns
Type Description
ByteString

The bytes for parent.

getReturnPartialSuccess()

public boolean getReturnPartialSuccess()

Optional. If true, allow partial responses for multi-regional aggregated list requests.

bool return_partial_success = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The returnPartialSuccess.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDestinationsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListDestinationsRequest.Builder setFilter(String value)

Optional. An expression that filters the results listed in the response.

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

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListDestinationsRequest.Builder setFilterBytes(ByteString value)

Optional. An expression that filters the results listed in the response.

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

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListDestinationsRequest.Builder setOrderBy(String value)

Optional. The sort order of the results.

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

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListDestinationsRequest.Builder setOrderByBytes(ByteString value)

Optional. The sort order of the results.

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

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListDestinationsRequest.Builder setPageSize(int value)

Optional. The maximum number of results listed per page.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListDestinationsRequest.Builder setPageToken(String value)

Optional. The page token.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListDestinationsRequest.Builder setPageTokenBytes(ByteString value)

Optional. The page token.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

setParent(String value)

public ListDestinationsRequest.Builder setParent(String value)

Required. The name of the parent resource.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListDestinationsRequest.Builder setParentBytes(ByteString value)

Required. The name of the parent resource.

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

This builder for chaining.

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

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

setReturnPartialSuccess(boolean value)

public ListDestinationsRequest.Builder setReturnPartialSuccess(boolean value)

Optional. If true, allow partial responses for multi-regional aggregated list requests.

bool return_partial_success = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The returnPartialSuccess to set.

Returns
Type Description
ListDestinationsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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