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.GeneratedMessageV3.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.GeneratedMessageV3.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 typegoogle.cloud.datacatalog.v1.EntryGroup
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EntryGroup.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
EntryGroup
build()
EntryGroup
buildPartial()
EntryGroup.Builder
clear()
EntryGroup.Builder
clearDataCatalogTimestamps()
Output only.EntryGroup.Builder
clearDescription()
Entry group description.EntryGroup.Builder
clearDisplayName()
A short name to identify the entry group, for example, "analytics data - jan 2011".EntryGroup.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EntryGroup.Builder
clearName()
The resource name of the entry group in URL format.EntryGroup.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EntryGroup.Builder
clone()
SystemTimestamps
getDataCatalogTimestamps()
Output only.SystemTimestamps.Builder
getDataCatalogTimestampsBuilder()
Output only.SystemTimestampsOrBuilder
getDataCatalogTimestampsOrBuilder()
Output only.EntryGroup
getDefaultInstanceForType()
String
getDescription()
Entry group description.com.google.protobuf.ByteString
getDescriptionBytes()
Entry group description.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
A short name to identify the entry group, for example, "analytics data - jan 2011".com.google.protobuf.ByteString
getDisplayNameBytes()
A short name to identify the entry group, for example, "analytics data - jan 2011".String
getName()
The resource name of the entry group in URL format.com.google.protobuf.ByteString
getNameBytes()
The resource name of the entry group in URL format.boolean
hasDataCatalogTimestamps()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EntryGroup.Builder
mergeDataCatalogTimestamps(SystemTimestamps value)
Output only.EntryGroup.Builder
mergeFrom(EntryGroup other)
EntryGroup.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EntryGroup.Builder
mergeFrom(com.google.protobuf.Message other)
EntryGroup.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EntryGroup.Builder
setDataCatalogTimestamps(SystemTimestamps value)
Output only.EntryGroup.Builder
setDataCatalogTimestamps(SystemTimestamps.Builder builderForValue)
Output only.EntryGroup.Builder
setDescription(String value)
Entry group description.EntryGroup.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Entry group description.EntryGroup.Builder
setDisplayName(String value)
A short name to identify the entry group, for example, "analytics data - jan 2011".EntryGroup.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
A short name to identify the entry group, for example, "analytics data - jan 2011".EntryGroup.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
EntryGroup.Builder
setName(String value)
The resource name of the entry group in URL format.EntryGroup.Builder
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the entry group in URL format.EntryGroup.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
EntryGroup.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
clear
public EntryGroup.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
getDefaultInstanceForType
public EntryGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EntryGroup build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EntryGroup buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EntryGroup.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
setField
public EntryGroup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
clearField
public EntryGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
clearOneof
public EntryGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
setRepeatedField
public EntryGroup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
addRepeatedField
public EntryGroup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
mergeFrom
public EntryGroup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EntryGroup.Builder>
-
mergeFrom
public EntryGroup.Builder mergeFrom(EntryGroup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
mergeFrom
public EntryGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EntryGroup.Builder>
- Throws:
IOException
-
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;
- Specified by:
getName
in interfaceEntryGroupOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;
- Specified by:
getNameBytes
in interfaceEntryGroupOrBuilder
- Returns:
- The bytes for name.
-
setName
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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
public EntryGroup.Builder setNameBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getDisplayName
in 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:
getDisplayNameBytes
in interfaceEntryGroupOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
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;
- Parameters:
value
- The displayName to set.- Returns:
- 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:
- This builder for chaining.
-
setDisplayNameBytes
public EntryGroup.Builder setDisplayNameBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getDescription
in 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:
getDescriptionBytes
in interfaceEntryGroupOrBuilder
- Returns:
- The bytes for description.
-
setDescription
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;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDescriptionBytes
public EntryGroup.Builder setDescriptionBytes(com.google.protobuf.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;
- 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:
hasDataCatalogTimestamps
in interfaceEntryGroupOrBuilder
- Returns:
- Whether the dataCatalogTimestamps field is set.
-
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];
- Specified by:
getDataCatalogTimestamps
in interfaceEntryGroupOrBuilder
- Returns:
- The dataCatalogTimestamps.
-
setDataCatalogTimestamps
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];
-
setDataCatalogTimestamps
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];
-
mergeDataCatalogTimestamps
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];
-
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];
-
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];
-
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];
- Specified by:
getDataCatalogTimestampsOrBuilder
in interfaceEntryGroupOrBuilder
-
setUnknownFields
public final EntryGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
mergeUnknownFields
public final EntryGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntryGroup.Builder>
-
-