Class EntryGroup.Builder (1.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EntryGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EntryGroup.Builder
Overrides

build()

public EntryGroup build()
Returns
TypeDescription
EntryGroup

buildPartial()

public EntryGroup buildPartial()
Returns
TypeDescription
EntryGroup

clear()

public EntryGroup.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
EntryGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EntryGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
EntryGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EntryGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EntryGroup.Builder
Overrides

clone()

public EntryGroup.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SystemTimestampsOrBuilder

getDefaultInstanceForType()

public EntryGroup getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the dataCatalogTimestamps field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueSystemTimestamps
Returns
TypeDescription
EntryGroup.Builder

mergeFrom(EntryGroup other)

public EntryGroup.Builder mergeFrom(EntryGroup other)
Parameter
NameDescription
otherEntryGroup
Returns
TypeDescription
EntryGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntryGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueSystemTimestamps
Returns
TypeDescription
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
NameDescription
builderForValueSystemTimestamps.Builder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

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

The bytes for description to set.

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

The displayName to set.

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

The bytes for displayName to set.

Returns
TypeDescription
EntryGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EntryGroup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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