Class EntryType.Builder (1.53.0)

public static final class EntryType.Builder extends GeneratedMessageV3.Builder<EntryType.Builder> implements EntryTypeOrBuilder

Entry Type is a template for creating Entries.

Protobuf type google.cloud.dataplex.v1.EntryType

Implements

EntryTypeOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllRequiredAspects(Iterable<? extends EntryType.AspectInfo> values)

public EntryType.Builder addAllRequiredAspects(Iterable<? extends EntryType.AspectInfo> values)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataplex.v1.EntryType.AspectInfo>
Returns
Type Description
EntryType.Builder

addAllTypeAliases(Iterable<String> values)

public EntryType.Builder addAllTypeAliases(Iterable<String> values)

Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.

repeated string type_aliases = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The typeAliases to add.

Returns
Type Description
EntryType.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRequiredAspects(EntryType.AspectInfo value)

public EntryType.Builder addRequiredAspects(EntryType.AspectInfo value)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameter
Name Description
value EntryType.AspectInfo
Returns
Type Description
EntryType.Builder

addRequiredAspects(EntryType.AspectInfo.Builder builderForValue)

public EntryType.Builder addRequiredAspects(EntryType.AspectInfo.Builder builderForValue)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameter
Name Description
builderForValue EntryType.AspectInfo.Builder
Returns
Type Description
EntryType.Builder

addRequiredAspects(int index, EntryType.AspectInfo value)

public EntryType.Builder addRequiredAspects(int index, EntryType.AspectInfo value)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameters
Name Description
index int
value EntryType.AspectInfo
Returns
Type Description
EntryType.Builder

addRequiredAspects(int index, EntryType.AspectInfo.Builder builderForValue)

public EntryType.Builder addRequiredAspects(int index, EntryType.AspectInfo.Builder builderForValue)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameters
Name Description
index int
builderForValue EntryType.AspectInfo.Builder
Returns
Type Description
EntryType.Builder

addRequiredAspectsBuilder()

public EntryType.AspectInfo.Builder addRequiredAspectsBuilder()

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Returns
Type Description
EntryType.AspectInfo.Builder

addRequiredAspectsBuilder(int index)

public EntryType.AspectInfo.Builder addRequiredAspectsBuilder(int index)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameter
Name Description
index int
Returns
Type Description
EntryType.AspectInfo.Builder

addTypeAliases(String value)

public EntryType.Builder addTypeAliases(String value)

Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.

repeated string type_aliases = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The typeAliases to add.

Returns
Type Description
EntryType.Builder

This builder for chaining.

addTypeAliasesBytes(ByteString value)

public EntryType.Builder addTypeAliasesBytes(ByteString value)

Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.

repeated string type_aliases = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the typeAliases to add.

Returns
Type Description
EntryType.Builder

This builder for chaining.

build()

public EntryType build()
Returns
Type Description
EntryType

buildPartial()

public EntryType buildPartial()
Returns
Type Description
EntryType

clear()

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

clearAuthorization()

public EntryType.Builder clearAuthorization()

Immutable. Authorization defined for this type.

.google.cloud.dataplex.v1.EntryType.Authorization authorization = 51 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EntryType.Builder

clearCreateTime()

public EntryType.Builder clearCreateTime()

Output only. The time when the EntryType was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EntryType.Builder

clearDescription()

public EntryType.Builder clearDescription()

Optional. Description of the EntryType.

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntryType.Builder

This builder for chaining.

clearDisplayName()

public EntryType.Builder clearDisplayName()

Optional. User friendly display name.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntryType.Builder

This builder for chaining.

clearEtag()

public EntryType.Builder clearEtag()

Optional. This checksum is computed by the service, and might be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntryType.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public EntryType.Builder clearLabels()
Returns
Type Description
EntryType.Builder

clearName()

public EntryType.Builder clearName()

Output only. The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
EntryType.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPlatform()

public EntryType.Builder clearPlatform()

Optional. The platform that Entries of this type belongs to.

string platform = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntryType.Builder

This builder for chaining.

clearRequiredAspects()

public EntryType.Builder clearRequiredAspects()

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Returns
Type Description
EntryType.Builder

clearSystem()

public EntryType.Builder clearSystem()

Optional. The system that Entries of this type belongs to. Examples include CloudSQL, MariaDB etc

string system = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntryType.Builder

This builder for chaining.

clearTypeAliases()

public EntryType.Builder clearTypeAliases()

Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.

repeated string type_aliases = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntryType.Builder

This builder for chaining.

clearUid()

public EntryType.Builder clearUid()

Output only. System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EntryType.Builder

This builder for chaining.

clearUpdateTime()

public EntryType.Builder clearUpdateTime()

Output only. The time when the EntryType was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EntryType.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

Optional. User-defined labels for the EntryType.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAuthorization()

public EntryType.Authorization getAuthorization()

Immutable. Authorization defined for this type.

.google.cloud.dataplex.v1.EntryType.Authorization authorization = 51 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EntryType.Authorization

The authorization.

getAuthorizationBuilder()

public EntryType.Authorization.Builder getAuthorizationBuilder()

Immutable. Authorization defined for this type.

.google.cloud.dataplex.v1.EntryType.Authorization authorization = 51 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EntryType.Authorization.Builder

getAuthorizationOrBuilder()

public EntryType.AuthorizationOrBuilder getAuthorizationOrBuilder()

Immutable. Authorization defined for this type.

.google.cloud.dataplex.v1.EntryType.Authorization authorization = 51 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EntryType.AuthorizationOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the EntryType was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time when the EntryType was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the EntryType was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public EntryType getDefaultInstanceForType()
Returns
Type Description
EntryType

getDescription()

public String getDescription()

Optional. Description of the EntryType.

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the EntryType.

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. User friendly display name.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. User friendly display name.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getEtag()

public String getEtag()

Optional. This checksum is computed by the service, and might be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Optional. This checksum is computed by the service, and might be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. User-defined labels for the EntryType.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. User-defined labels for the EntryType.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. User-defined labels for the EntryType.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. User-defined labels for the EntryType.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Output only. The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getPlatform()

public String getPlatform()

Optional. The platform that Entries of this type belongs to.

string platform = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The platform.

getPlatformBytes()

public ByteString getPlatformBytes()

Optional. The platform that Entries of this type belongs to.

string platform = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for platform.

getRequiredAspects(int index)

public EntryType.AspectInfo getRequiredAspects(int index)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameter
Name Description
index int
Returns
Type Description
EntryType.AspectInfo

getRequiredAspectsBuilder(int index)

public EntryType.AspectInfo.Builder getRequiredAspectsBuilder(int index)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameter
Name Description
index int
Returns
Type Description
EntryType.AspectInfo.Builder

getRequiredAspectsBuilderList()

public List<EntryType.AspectInfo.Builder> getRequiredAspectsBuilderList()

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Returns
Type Description
List<Builder>

getRequiredAspectsCount()

public int getRequiredAspectsCount()

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Returns
Type Description
int

getRequiredAspectsList()

public List<EntryType.AspectInfo> getRequiredAspectsList()

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Returns
Type Description
List<AspectInfo>

getRequiredAspectsOrBuilder(int index)

public EntryType.AspectInfoOrBuilder getRequiredAspectsOrBuilder(int index)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameter
Name Description
index int
Returns
Type Description
EntryType.AspectInfoOrBuilder

getRequiredAspectsOrBuilderList()

public List<? extends EntryType.AspectInfoOrBuilder> getRequiredAspectsOrBuilderList()

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Returns
Type Description
List<? extends com.google.cloud.dataplex.v1.EntryType.AspectInfoOrBuilder>

getSystem()

public String getSystem()

Optional. The system that Entries of this type belongs to. Examples include CloudSQL, MariaDB etc

string system = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The system.

getSystemBytes()

public ByteString getSystemBytes()

Optional. The system that Entries of this type belongs to. Examples include CloudSQL, MariaDB etc

string system = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for system.

getTypeAliases(int index)

public String getTypeAliases(int index)

Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.

repeated string type_aliases = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The typeAliases at the given index.

getTypeAliasesBytes(int index)

public ByteString getTypeAliasesBytes(int index)

Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.

repeated string type_aliases = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the typeAliases at the given index.

getTypeAliasesCount()

public int getTypeAliasesCount()

Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.

repeated string type_aliases = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of typeAliases.

getTypeAliasesList()

public ProtocolStringList getTypeAliasesList()

Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.

repeated string type_aliases = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the typeAliases.

getUid()

public String getUid()

Output only. System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time when the EntryType was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time when the EntryType was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the EntryType was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasAuthorization()

public boolean hasAuthorization()

Immutable. Authorization defined for this type.

.google.cloud.dataplex.v1.EntryType.Authorization authorization = 51 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the authorization field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time when the EntryType was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time when the EntryType was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthorization(EntryType.Authorization value)

public EntryType.Builder mergeAuthorization(EntryType.Authorization value)

Immutable. Authorization defined for this type.

.google.cloud.dataplex.v1.EntryType.Authorization authorization = 51 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value EntryType.Authorization
Returns
Type Description
EntryType.Builder

mergeCreateTime(Timestamp value)

public EntryType.Builder mergeCreateTime(Timestamp value)

Output only. The time when the EntryType was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
EntryType.Builder

mergeFrom(EntryType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public EntryType.Builder mergeUpdateTime(Timestamp value)

Output only. The time when the EntryType was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
EntryType.Builder

putAllLabels(Map<String,String> values)

public EntryType.Builder putAllLabels(Map<String,String> values)

Optional. User-defined labels for the EntryType.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
EntryType.Builder

putLabels(String key, String value)

public EntryType.Builder putLabels(String key, String value)

Optional. User-defined labels for the EntryType.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
EntryType.Builder

removeLabels(String key)

public EntryType.Builder removeLabels(String key)

Optional. User-defined labels for the EntryType.

map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
EntryType.Builder

removeRequiredAspects(int index)

public EntryType.Builder removeRequiredAspects(int index)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameter
Name Description
index int
Returns
Type Description
EntryType.Builder

setAuthorization(EntryType.Authorization value)

public EntryType.Builder setAuthorization(EntryType.Authorization value)

Immutable. Authorization defined for this type.

.google.cloud.dataplex.v1.EntryType.Authorization authorization = 51 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value EntryType.Authorization
Returns
Type Description
EntryType.Builder

setAuthorization(EntryType.Authorization.Builder builderForValue)

public EntryType.Builder setAuthorization(EntryType.Authorization.Builder builderForValue)

Immutable. Authorization defined for this type.

.google.cloud.dataplex.v1.EntryType.Authorization authorization = 51 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
builderForValue EntryType.Authorization.Builder
Returns
Type Description
EntryType.Builder

setCreateTime(Timestamp value)

public EntryType.Builder setCreateTime(Timestamp value)

Output only. The time when the EntryType was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
EntryType.Builder

setCreateTime(Timestamp.Builder builderForValue)

public EntryType.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the EntryType was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntryType.Builder

setDescription(String value)

public EntryType.Builder setDescription(String value)

Optional. Description of the EntryType.

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public EntryType.Builder setDescriptionBytes(ByteString value)

Optional. Description of the EntryType.

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setDisplayName(String value)

public EntryType.Builder setDisplayName(String value)

Optional. User friendly display name.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public EntryType.Builder setDisplayNameBytes(ByteString value)

Optional. User friendly display name.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setEtag(String value)

public EntryType.Builder setEtag(String value)

Optional. This checksum is computed by the service, and might be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public EntryType.Builder setEtagBytes(ByteString value)

Optional. This checksum is computed by the service, and might be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public EntryType.Builder setName(String value)

Output only. The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EntryType.Builder setNameBytes(ByteString value)

Output only. The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setPlatform(String value)

public EntryType.Builder setPlatform(String value)

Optional. The platform that Entries of this type belongs to.

string platform = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The platform to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setPlatformBytes(ByteString value)

public EntryType.Builder setPlatformBytes(ByteString value)

Optional. The platform that Entries of this type belongs to.

string platform = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for platform to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

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

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

setRequiredAspects(int index, EntryType.AspectInfo value)

public EntryType.Builder setRequiredAspects(int index, EntryType.AspectInfo value)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameters
Name Description
index int
value EntryType.AspectInfo
Returns
Type Description
EntryType.Builder

setRequiredAspects(int index, EntryType.AspectInfo.Builder builderForValue)

public EntryType.Builder setRequiredAspects(int index, EntryType.AspectInfo.Builder builderForValue)

AspectInfo for the entry type.

repeated .google.cloud.dataplex.v1.EntryType.AspectInfo required_aspects = 50;

Parameters
Name Description
index int
builderForValue EntryType.AspectInfo.Builder
Returns
Type Description
EntryType.Builder

setSystem(String value)

public EntryType.Builder setSystem(String value)

Optional. The system that Entries of this type belongs to. Examples include CloudSQL, MariaDB etc

string system = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The system to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setSystemBytes(ByteString value)

public EntryType.Builder setSystemBytes(ByteString value)

Optional. The system that Entries of this type belongs to. Examples include CloudSQL, MariaDB etc

string system = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for system to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setTypeAliases(int index, String value)

public EntryType.Builder setTypeAliases(int index, String value)

Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.

repeated string type_aliases = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The typeAliases to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setUid(String value)

public EntryType.Builder setUid(String value)

Output only. System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setUidBytes(ByteString value)

public EntryType.Builder setUidBytes(ByteString value)

Output only. System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
EntryType.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public EntryType.Builder setUpdateTime(Timestamp value)

Output only. The time when the EntryType was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
EntryType.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public EntryType.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time when the EntryType was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntryType.Builder