Class ExportTaxonomiesRequest.Builder (1.27.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
TypeDescription
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
NameDescription
valuesIterable<String>

The taxonomies to add.

Returns
TypeDescription
ExportTaxonomiesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportTaxonomiesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The taxonomies to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the taxonomies to add.

Returns
TypeDescription
ExportTaxonomiesRequest.Builder

This builder for chaining.

build()

public ExportTaxonomiesRequest build()
Returns
TypeDescription
ExportTaxonomiesRequest

buildPartial()

public ExportTaxonomiesRequest buildPartial()
Returns
TypeDescription
ExportTaxonomiesRequest

clear()

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

clearDestination()

public ExportTaxonomiesRequest.Builder clearDestination()
Returns
TypeDescription
ExportTaxonomiesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportTaxonomiesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ExportTaxonomiesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExportTaxonomiesRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportTaxonomiesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public ExportTaxonomiesRequest.DestinationCase getDestinationCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the serializedTaxonomies field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportTaxonomiesRequest other)

public ExportTaxonomiesRequest.Builder mergeFrom(ExportTaxonomiesRequest other)
Parameter
NameDescription
otherExportTaxonomiesRequest
Returns
TypeDescription
ExportTaxonomiesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ExportTaxonomiesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The serializedTaxonomies to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The taxonomies to set.

Returns
TypeDescription
ExportTaxonomiesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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