Class ListLicenseConfigsRequest.Builder (0.90.0)

public static final class ListLicenseConfigsRequest.Builder extends GeneratedMessage.Builder<ListLicenseConfigsRequest.Builder> implements ListLicenseConfigsRequestOrBuilder

Request message for LicenseConfigService.ListLicenseConfigs method.

Protobuf type google.cloud.discoveryengine.v1beta.ListLicenseConfigsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListLicenseConfigsRequest build()
Returns
Type Description
ListLicenseConfigsRequest

buildPartial()

public ListLicenseConfigsRequest buildPartial()
Returns
Type Description
ListLicenseConfigsRequest

clear()

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

clearFilter()

public ListLicenseConfigsRequest.Builder clearFilter()

Optional. The filter to apply to the list results.

The supported fields are:

  • subscription_tier
  • state

    Examples:

  • subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE - Lists all active search license configs.

  • state=ACTIVE - Lists all active license configs.

    The filter string should be a comma-separated list of field=value pairs.

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

Returns
Type Description
ListLicenseConfigsRequest.Builder

This builder for chaining.

clearPageSize()

public ListLicenseConfigsRequest.Builder clearPageSize()

Optional. Not supported.

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

Returns
Type Description
ListLicenseConfigsRequest.Builder

This builder for chaining.

clearPageToken()

public ListLicenseConfigsRequest.Builder clearPageToken()

Optional. Not supported.

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

Returns
Type Description
ListLicenseConfigsRequest.Builder

This builder for chaining.

clearParent()

public ListLicenseConfigsRequest.Builder clearParent()

Required. The parent branch resource name, such as projects/{project}/locations/{location}.

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

Returns
Type Description
ListLicenseConfigsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListLicenseConfigsRequest getDefaultInstanceForType()
Returns
Type Description
ListLicenseConfigsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. The filter to apply to the list results.

The supported fields are:

  • subscription_tier
  • state

    Examples:

  • subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE - Lists all active search license configs.

  • state=ACTIVE - Lists all active license configs.

    The filter string should be a comma-separated list of field=value pairs.

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

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. The filter to apply to the list results.

The supported fields are:

  • subscription_tier
  • state

    Examples:

  • subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE - Lists all active search license configs.

  • state=ACTIVE - Lists all active license configs.

    The filter string should be a comma-separated list of field=value pairs.

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

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Optional. Not supported.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Not supported.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Not supported.

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent branch resource name, such as projects/{project}/locations/{location}.

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 branch resource name, such as projects/{project}/locations/{location}.

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(ListLicenseConfigsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilter(String value)

public ListLicenseConfigsRequest.Builder setFilter(String value)

Optional. The filter to apply to the list results.

The supported fields are:

  • subscription_tier
  • state

    Examples:

  • subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE - Lists all active search license configs.

  • state=ACTIVE - Lists all active license configs.

    The filter string should be a comma-separated list of field=value pairs.

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

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListLicenseConfigsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListLicenseConfigsRequest.Builder setFilterBytes(ByteString value)

Optional. The filter to apply to the list results.

The supported fields are:

  • subscription_tier
  • state

    Examples:

  • subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE - Lists all active search license configs.

  • state=ACTIVE - Lists all active license configs.

    The filter string should be a comma-separated list of field=value pairs.

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

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListLicenseConfigsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListLicenseConfigsRequest.Builder setPageSize(int value)

Optional. Not supported.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListLicenseConfigsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListLicenseConfigsRequest.Builder setPageToken(String value)

Optional. Not supported.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListLicenseConfigsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListLicenseConfigsRequest.Builder setPageTokenBytes(ByteString value)

Optional. Not supported.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListLicenseConfigsRequest.Builder

This builder for chaining.

setParent(String value)

public ListLicenseConfigsRequest.Builder setParent(String value)

Required. The parent branch resource name, such as projects/{project}/locations/{location}.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListLicenseConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListLicenseConfigsRequest.Builder setParentBytes(ByteString value)

Required. The parent branch resource name, such as projects/{project}/locations/{location}.

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

This builder for chaining.