Class ExportTaxonomiesRequest.Builder (1.57.0)

public static final class ExportTaxonomiesRequest.Builder extends GeneratedMessageV3.Builder<ExportTaxonomiesRequest.Builder> implements ExportTaxonomiesRequestOrBuilder

Request message for ExportTaxonomies.

Protobuf type google.cloud.datacatalog.v1.ExportTaxonomiesRequest

Static Methods

getDescriptor()

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

Methods

addAllTaxonomies(Iterable<String> values)

public ExportTaxonomiesRequest.Builder addAllTaxonomies(Iterable<String> values)

Required. Resource names of the taxonomies to export.

repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
values Iterable<String>

The taxonomies to add.

Returns
Type Description
ExportTaxonomiesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTaxonomies(String value)

public ExportTaxonomiesRequest.Builder addTaxonomies(String value)

Required. Resource names of the taxonomies to export.

repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The taxonomies to add.

Returns
Type Description
ExportTaxonomiesRequest.Builder

This builder for chaining.

addTaxonomiesBytes(ByteString value)

public ExportTaxonomiesRequest.Builder addTaxonomiesBytes(ByteString value)

Required. Resource names of the taxonomies to export.

repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes of the taxonomies to add.

Returns
Type Description
ExportTaxonomiesRequest.Builder

This builder for chaining.

build()

public ExportTaxonomiesRequest build()
Returns
Type Description
ExportTaxonomiesRequest

buildPartial()

public ExportTaxonomiesRequest buildPartial()
Returns
Type Description
ExportTaxonomiesRequest

clear()

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

clearDestination()

public ExportTaxonomiesRequest.Builder clearDestination()
Returns
Type Description
ExportTaxonomiesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ExportTaxonomiesRequest.Builder clearParent()

Required. Resource name of the project that the exported taxonomies belong to.

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

Returns
Type Description
ExportTaxonomiesRequest.Builder

This builder for chaining.

clearSerializedTaxonomies()

public ExportTaxonomiesRequest.Builder clearSerializedTaxonomies()

Serialized export taxonomies that contain all the policy tags as nested protocol buffers.

bool serialized_taxonomies = 3;

Returns
Type Description
ExportTaxonomiesRequest.Builder

This builder for chaining.

clearTaxonomies()

public ExportTaxonomiesRequest.Builder clearTaxonomies()

Required. Resource names of the taxonomies to export.

repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ExportTaxonomiesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExportTaxonomiesRequest getDefaultInstanceForType()
Returns
Type Description
ExportTaxonomiesRequest

getDescriptorForType()

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

getDestinationCase()

public ExportTaxonomiesRequest.DestinationCase getDestinationCase()
Returns
Type Description
ExportTaxonomiesRequest.DestinationCase

getParent()

public String getParent()

Required. Resource name of the project that the exported taxonomies belong to.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the project that the exported taxonomies belong to.

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

Returns
Type Description
ByteString

The bytes for parent.

getSerializedTaxonomies()

public boolean getSerializedTaxonomies()

Serialized export taxonomies that contain all the policy tags as nested protocol buffers.

bool serialized_taxonomies = 3;

Returns
Type Description
boolean

The serializedTaxonomies.

getTaxonomies(int index)

public String getTaxonomies(int index)

Required. Resource names of the taxonomies to export.

repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The taxonomies at the given index.

getTaxonomiesBytes(int index)

public ByteString getTaxonomiesBytes(int index)

Required. Resource names of the taxonomies to export.

repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the taxonomies at the given index.

getTaxonomiesCount()

public int getTaxonomiesCount()

Required. Resource names of the taxonomies to export.

repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of taxonomies.

getTaxonomiesList()

public ProtocolStringList getTaxonomiesList()

Required. Resource names of the taxonomies to export.

repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the taxonomies.

hasSerializedTaxonomies()

public boolean hasSerializedTaxonomies()

Serialized export taxonomies that contain all the policy tags as nested protocol buffers.

bool serialized_taxonomies = 3;

Returns
Type Description
boolean

Whether the serializedTaxonomies field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportTaxonomiesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ExportTaxonomiesRequest.Builder setParent(String value)

Required. Resource name of the project that the exported taxonomies belong to.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ExportTaxonomiesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ExportTaxonomiesRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the project that the exported taxonomies belong to.

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

This builder for chaining.

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

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

setSerializedTaxonomies(boolean value)

public ExportTaxonomiesRequest.Builder setSerializedTaxonomies(boolean value)

Serialized export taxonomies that contain all the policy tags as nested protocol buffers.

bool serialized_taxonomies = 3;

Parameter
Name Description
value boolean

The serializedTaxonomies to set.

Returns
Type Description
ExportTaxonomiesRequest.Builder

This builder for chaining.

setTaxonomies(int index, String value)

public ExportTaxonomiesRequest.Builder setTaxonomies(int index, String value)

Required. Resource names of the taxonomies to export.

repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameters
Name Description
index int

The index to set the value at.

value String

The taxonomies to set.

Returns
Type Description
ExportTaxonomiesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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