public static final class ExportTaxonomiesRequest.Builder extends GeneratedMessageV3.Builder<ExportTaxonomiesRequest.Builder> implements ExportTaxonomiesRequestOrBuilder
Request message for
[ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
Protobuf type google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest
Methods
addAllTaxonomies(Iterable<String> values)
public ExportTaxonomiesRequest.Builder addAllTaxonomies(Iterable<String> values)
Required. Resource names of the taxonomies to be exported.
repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportTaxonomiesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTaxonomies(String value)
public ExportTaxonomiesRequest.Builder addTaxonomies(String value)
Required. Resource names of the taxonomies to be exported.
repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The taxonomies to add.
|
Returns
addTaxonomiesBytes(ByteString value)
public ExportTaxonomiesRequest.Builder addTaxonomiesBytes(ByteString value)
Required. Resource names of the taxonomies to be exported.
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
build()
public ExportTaxonomiesRequest build()
Returns
buildPartial()
public ExportTaxonomiesRequest buildPartial()
Returns
clear()
public ExportTaxonomiesRequest.Builder clear()
Returns
Overrides
clearDestination()
public ExportTaxonomiesRequest.Builder clearDestination()
Returns
clearField(Descriptors.FieldDescriptor field)
public ExportTaxonomiesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportTaxonomiesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public ExportTaxonomiesRequest.Builder clearParent()
Required. Resource name of the project that taxonomies to be exported
will share.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearSerializedTaxonomies()
public ExportTaxonomiesRequest.Builder clearSerializedTaxonomies()
Export taxonomies as serialized taxonomies.
bool serialized_taxonomies = 3;
Returns
clearTaxonomies()
public ExportTaxonomiesRequest.Builder clearTaxonomies()
Required. Resource names of the taxonomies to be exported.
repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public ExportTaxonomiesRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ExportTaxonomiesRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDestinationCase()
public ExportTaxonomiesRequest.DestinationCase getDestinationCase()
Returns
getParent()
public String getParent()
Required. Resource name of the project that taxonomies to be exported
will share.
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 taxonomies to be exported
will share.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getSerializedTaxonomies()
public boolean getSerializedTaxonomies()
Export taxonomies as serialized taxonomies.
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 be exported.
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 be exported.
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 be exported.
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 be exported.
repeated string taxonomies = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
hasSerializedTaxonomies()
public boolean hasSerializedTaxonomies()
Export taxonomies as serialized taxonomies.
bool serialized_taxonomies = 3;
Returns
Type | Description |
boolean | Whether the serializedTaxonomies field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ExportTaxonomiesRequest other)
public ExportTaxonomiesRequest.Builder mergeFrom(ExportTaxonomiesRequest other)
Parameter
Returns
public ExportTaxonomiesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExportTaxonomiesRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportTaxonomiesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ExportTaxonomiesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public ExportTaxonomiesRequest.Builder setParent(String value)
Required. Resource name of the project that taxonomies to be exported
will share.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public ExportTaxonomiesRequest.Builder setParentBytes(ByteString value)
Required. Resource name of the project that taxonomies to be exported
will share.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportTaxonomiesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSerializedTaxonomies(boolean value)
public ExportTaxonomiesRequest.Builder setSerializedTaxonomies(boolean value)
Export taxonomies as serialized taxonomies.
bool serialized_taxonomies = 3;
Parameter
Name | Description |
value | boolean
The serializedTaxonomies to set.
|
Returns
setTaxonomies(int index, String value)
public ExportTaxonomiesRequest.Builder setTaxonomies(int index, String value)
Required. Resource names of the taxonomies to be exported.
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportTaxonomiesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides