Class EntryGroup.Builder (1.49.0)

public static final class EntryGroup.Builder extends GeneratedMessageV3.Builder<EntryGroup.Builder> implements EntryGroupOrBuilder

Entry group metadata.

An EntryGroup resource represents a logical grouping of zero or more Data Catalog Entry resources.

Protobuf type google.cloud.datacatalog.v1.EntryGroup

Implements

EntryGroupOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntryGroup build()
Returns
Type Description
EntryGroup

buildPartial()

public EntryGroup buildPartial()
Returns
Type Description
EntryGroup

clear()

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

clearDataCatalogTimestamps()

public EntryGroup.Builder clearDataCatalogTimestamps()

Output only. Timestamps of the entry group. Default value is empty.

.google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EntryGroup.Builder

clearDescription()

public EntryGroup.Builder clearDescription()

Entry group description. Can consist of several sentences or paragraphs that describe the entry group contents. Default value is an empty string.

string description = 3;

Returns
Type Description
EntryGroup.Builder

This builder for chaining.

clearDisplayName()

public EntryGroup.Builder clearDisplayName()

A short name to identify the entry group, for example, "analytics data - jan 2011". Default value is an empty string.

string display_name = 2;

Returns
Type Description
EntryGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public EntryGroup.Builder clearName()

The resource name of the entry group in URL format.

Note: The entry group itself and its child resources might not be stored in the location specified in its name.

string name = 1;

Returns
Type Description
EntryGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDataCatalogTimestamps()

public SystemTimestamps getDataCatalogTimestamps()

Output only. Timestamps of the entry group. Default value is empty.

.google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SystemTimestamps

The dataCatalogTimestamps.

getDataCatalogTimestampsBuilder()

public SystemTimestamps.Builder getDataCatalogTimestampsBuilder()

Output only. Timestamps of the entry group. Default value is empty.

.google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SystemTimestamps.Builder

getDataCatalogTimestampsOrBuilder()

public SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder()

Output only. Timestamps of the entry group. Default value is empty.

.google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SystemTimestampsOrBuilder

getDefaultInstanceForType()

public EntryGroup getDefaultInstanceForType()
Returns
Type Description
EntryGroup

getDescription()

public String getDescription()

Entry group description. Can consist of several sentences or paragraphs that describe the entry group contents. Default value is an empty string.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Entry group description. Can consist of several sentences or paragraphs that describe the entry group contents. Default value is an empty string.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

A short name to identify the entry group, for example, "analytics data - jan 2011". Default value is an empty string.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

A short name to identify the entry group, for example, "analytics data - jan 2011". Default value is an empty string.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

The resource name of the entry group in URL format.

Note: The entry group itself and its child resources might not be stored in the location specified in its name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the entry group in URL format.

Note: The entry group itself and its child resources might not be stored in the location specified in its name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasDataCatalogTimestamps()

public boolean hasDataCatalogTimestamps()

Output only. Timestamps of the entry group. Default value is empty.

.google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataCatalogTimestamps field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataCatalogTimestamps(SystemTimestamps value)

public EntryGroup.Builder mergeDataCatalogTimestamps(SystemTimestamps value)

Output only. Timestamps of the entry group. Default value is empty.

.google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SystemTimestamps
Returns
Type Description
EntryGroup.Builder

mergeFrom(EntryGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataCatalogTimestamps(SystemTimestamps value)

public EntryGroup.Builder setDataCatalogTimestamps(SystemTimestamps value)

Output only. Timestamps of the entry group. Default value is empty.

.google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SystemTimestamps
Returns
Type Description
EntryGroup.Builder

setDataCatalogTimestamps(SystemTimestamps.Builder builderForValue)

public EntryGroup.Builder setDataCatalogTimestamps(SystemTimestamps.Builder builderForValue)

Output only. Timestamps of the entry group. Default value is empty.

.google.cloud.datacatalog.v1.SystemTimestamps data_catalog_timestamps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SystemTimestamps.Builder
Returns
Type Description
EntryGroup.Builder

setDescription(String value)

public EntryGroup.Builder setDescription(String value)

Entry group description. Can consist of several sentences or paragraphs that describe the entry group contents. Default value is an empty string.

string description = 3;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
EntryGroup.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public EntryGroup.Builder setDescriptionBytes(ByteString value)

Entry group description. Can consist of several sentences or paragraphs that describe the entry group contents. Default value is an empty string.

string description = 3;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
EntryGroup.Builder

This builder for chaining.

setDisplayName(String value)

public EntryGroup.Builder setDisplayName(String value)

A short name to identify the entry group, for example, "analytics data - jan 2011". Default value is an empty string.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
EntryGroup.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public EntryGroup.Builder setDisplayNameBytes(ByteString value)

A short name to identify the entry group, for example, "analytics data - jan 2011". Default value is an empty string.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
EntryGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public EntryGroup.Builder setName(String value)

The resource name of the entry group in URL format.

Note: The entry group itself and its child resources might not be stored in the location specified in its name.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EntryGroup.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EntryGroup.Builder setNameBytes(ByteString value)

The resource name of the entry group in URL format.

Note: The entry group itself and its child resources might not be stored in the location specified in its name.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EntryGroup.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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