Package com.google.cloud.datacatalog.v1
Class EntryGroup.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EntryGroup.Builder>
com.google.cloud.datacatalog.v1.EntryGroup.Builder
- All Implemented Interfaces:
EntryGroupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EntryGroup
public static final class EntryGroup.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EntryGroup.Builder>
implements EntryGroupOrBuilder
Entry group metadata. An `EntryGroup` resource represents a logical grouping of zero or more Data Catalog [Entry][google.cloud.datacatalog.v1.Entry] resources.Protobuf type
google.cloud.datacatalog.v1.EntryGroup-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Entry group description.A short name to identify the entry group, for example, "analytics data - jan 2011".Identifier.Optional.Output only.Output only.Output only.Entry group description.com.google.protobuf.ByteStringEntry group description.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA short name to identify the entry group, for example, "analytics data - jan 2011".com.google.protobuf.ByteStringA short name to identify the entry group, for example, "analytics data - jan 2011".getName()Identifier.com.google.protobuf.ByteStringIdentifier.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeFrom(EntryGroup other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setDataCatalogTimestamps(SystemTimestamps.Builder builderForValue) Output only.setDescription(String value) Entry group description.setDescriptionBytes(com.google.protobuf.ByteString value) Entry group description.setDisplayName(String value) A short name to identify the entry group, for example, "analytics data - jan 2011".setDisplayNameBytes(com.google.protobuf.ByteString value) A short name to identify the entry group, for example, "analytics data - jan 2011".Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setTransferredToDataplex(boolean value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EntryGroup.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EntryGroup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EntryGroup.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EntryGroup.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EntryGroup.Builder>
-
mergeFrom
public EntryGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EntryGroup.Builder>- Throws:
IOException
-
getName
Identifier. 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 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceEntryGroupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. 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 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceEntryGroupOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. 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 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. 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 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. 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 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDisplayNamein interfaceEntryGroupOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.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;- Specified by:
getDisplayNameBytesin interfaceEntryGroupOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
A short name to identify the entry group, for example, "analytics data - jan 2011". Default value is an empty string.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDisplayNameBytes
A short name to identify the entry group, for example, "analytics data - jan 2011". Default value is an empty string.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDescriptionin interfaceEntryGroupOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.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;- Specified by:
getDescriptionBytesin interfaceEntryGroupOrBuilder- Returns:
- The bytes for description.
-
setDescription
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;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDescriptionBytes
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;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasDataCatalogTimestampsin interfaceEntryGroupOrBuilder- Returns:
- Whether the dataCatalogTimestamps field is set.
-
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];- Specified by:
getDataCatalogTimestampsin interfaceEntryGroupOrBuilder- Returns:
- The dataCatalogTimestamps.
-
setDataCatalogTimestamps
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]; -
setDataCatalogTimestamps
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]; -
mergeDataCatalogTimestamps
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]; -
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]; -
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]; -
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];- Specified by:
getDataCatalogTimestampsOrBuilderin interfaceEntryGroupOrBuilder
-
getTransferredToDataplex
public boolean getTransferredToDataplex()Optional. When set to [true], it means DataCatalog EntryGroup was transferred to Dataplex Catalog Service. It makes EntryGroup and its Entries to be read-only in DataCatalog. However, new Tags on EntryGroup and its Entries can be created. After setting the flag to [true] it cannot be unset.
bool transferred_to_dataplex = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransferredToDataplexin interfaceEntryGroupOrBuilder- Returns:
- The transferredToDataplex.
-
setTransferredToDataplex
Optional. When set to [true], it means DataCatalog EntryGroup was transferred to Dataplex Catalog Service. It makes EntryGroup and its Entries to be read-only in DataCatalog. However, new Tags on EntryGroup and its Entries can be created. After setting the flag to [true] it cannot be unset.
bool transferred_to_dataplex = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The transferredToDataplex to set.- Returns:
- This builder for chaining.
-
clearTransferredToDataplex
Optional. When set to [true], it means DataCatalog EntryGroup was transferred to Dataplex Catalog Service. It makes EntryGroup and its Entries to be read-only in DataCatalog. However, new Tags on EntryGroup and its Entries can be created. After setting the flag to [true] it cannot be unset.
bool transferred_to_dataplex = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-