Class ListPolicyTagsRequest.Builder (1.8.1)

public static final class ListPolicyTagsRequest.Builder extends GeneratedMessageV3.Builder<ListPolicyTagsRequest.Builder> implements ListPolicyTagsRequestOrBuilder

Request message for ListPolicyTags.

Protobuf type google.cloud.datacatalog.v1.ListPolicyTagsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPolicyTagsRequest build()
Returns
TypeDescription
ListPolicyTagsRequest

buildPartial()

public ListPolicyTagsRequest buildPartial()
Returns
TypeDescription
ListPolicyTagsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListPolicyTagsRequest.Builder clearPageSize()

The maximum number of items to return. Must be a value between 1 and 1000 inclusively. If not set, defaults to 50.

int32 page_size = 2;

Returns
TypeDescription
ListPolicyTagsRequest.Builder

This builder for chaining.

clearPageToken()

public ListPolicyTagsRequest.Builder clearPageToken()

The pagination token of the next results page. If not set, returns the first page. The token is returned in the response to a previous list request.

string page_token = 3;

Returns
TypeDescription
ListPolicyTagsRequest.Builder

This builder for chaining.

clearParent()

public ListPolicyTagsRequest.Builder clearParent()

Required. Resource name of the taxonomy to list the policy tags of.

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

Returns
TypeDescription
ListPolicyTagsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListPolicyTagsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListPolicyTagsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of items to return. Must be a value between 1 and 1000 inclusively. If not set, defaults to 50.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

The pagination token of the next results page. If not set, returns the first page. The token is returned in the response to a previous list request.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The pagination token of the next results page. If not set, returns the first page. The token is returned in the response to a previous list request.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Resource name of the taxonomy to list the policy tags of.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the taxonomy to list the policy tags of.

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

public ListPolicyTagsRequest.Builder mergeFrom(ListPolicyTagsRequest other)
Parameter
NameDescription
otherListPolicyTagsRequest
Returns
TypeDescription
ListPolicyTagsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListPolicyTagsRequest.Builder setPageSize(int value)

The maximum number of items to return. Must be a value between 1 and 1000 inclusively. If not set, defaults to 50.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListPolicyTagsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListPolicyTagsRequest.Builder setPageToken(String value)

The pagination token of the next results page. If not set, returns the first page. The token is returned in the response to a previous list request.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListPolicyTagsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListPolicyTagsRequest.Builder setPageTokenBytes(ByteString value)

The pagination token of the next results page. If not set, returns the first page. The token is returned in the response to a previous list request.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListPolicyTagsRequest.Builder

This builder for chaining.

setParent(String value)

public ListPolicyTagsRequest.Builder setParent(String value)

Required. Resource name of the taxonomy to list the policy tags of.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListPolicyTagsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListPolicyTagsRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the taxonomy to list the policy tags of.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListPolicyTagsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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