Package com.google.cloud.dataplex.v1
Class Aspect.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Aspect.Builder>
com.google.cloud.dataplex.v1.Aspect.Builder
- All Implemented Interfaces:
AspectOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Aspect
public static final class Aspect.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Aspect.Builder>
implements AspectOrBuilder
An aspect is a single piece of metadata describing an entry.Protobuf type
google.cloud.dataplex.v1.Aspect-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Output only.Output only.Required.Output only.Output only.Optional.Optional.Optional.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.StructgetData()Required.com.google.protobuf.Struct.BuilderRequired.com.google.protobuf.StructOrBuilderRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPath()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOptional.booleanOutput only.booleanhasData()Required.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAspectSource(AspectSource value) Optional.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeData(com.google.protobuf.Struct value) Required.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setAspectSource(AspectSource value) Optional.setAspectSource(AspectSource.Builder builderForValue) Optional.setAspectType(String value) Output only.setAspectTypeBytes(com.google.protobuf.ByteString value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setData(com.google.protobuf.Struct value) Required.setData(com.google.protobuf.Struct.Builder builderForValue) Required.Output only.setPathBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.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<Aspect.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<Aspect.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<Aspect.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<Aspect.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Aspect.Builder>
-
mergeFrom
public Aspect.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<Aspect.Builder>- Throws:
IOException
-
getAspectType
Output only. The resource name of the type used to create this Aspect.
string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAspectTypein interfaceAspectOrBuilder- Returns:
- The aspectType.
-
getAspectTypeBytes
public com.google.protobuf.ByteString getAspectTypeBytes()Output only. The resource name of the type used to create this Aspect.
string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAspectTypeBytesin interfaceAspectOrBuilder- Returns:
- The bytes for aspectType.
-
setAspectType
Output only. The resource name of the type used to create this Aspect.
string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The aspectType to set.- Returns:
- This builder for chaining.
-
clearAspectType
Output only. The resource name of the type used to create this Aspect.
string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setAspectTypeBytes
Output only. The resource name of the type used to create this Aspect.
string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for aspectType to set.- Returns:
- This builder for chaining.
-
getPath
Output only. The path in the entry under which the aspect is attached.
string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPathin interfaceAspectOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Output only. The path in the entry under which the aspect is attached.
string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPathBytesin interfaceAspectOrBuilder- Returns:
- The bytes for path.
-
setPath
Output only. The path in the entry under which the aspect is attached.
string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
Output only. The path in the entry under which the aspect is attached.
string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPathBytes
Output only. The path in the entry under which the aspect is attached.
string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time when the Aspect was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceAspectOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time when the Aspect was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceAspectOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time when the Aspect was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time when the Aspect was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time when the Aspect was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time when the Aspect was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time when the Aspect was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the Aspect was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceAspectOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time when the Aspect was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceAspectOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The time when the Aspect was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceAspectOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The time when the Aspect was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The time when the Aspect was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The time when the Aspect was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The time when the Aspect was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The time when the Aspect was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the Aspect was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceAspectOrBuilder
-
hasData
public boolean hasData()Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8).
.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasDatain interfaceAspectOrBuilder- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.Struct getData()Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8).
.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDatain interfaceAspectOrBuilder- Returns:
- The data.
-
setData
Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8).
.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; -
setData
Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8).
.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; -
mergeData
Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8).
.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; -
clearData
Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8).
.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; -
getDataBuilder
public com.google.protobuf.Struct.Builder getDataBuilder()Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8).
.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; -
getDataOrBuilder
public com.google.protobuf.StructOrBuilder getDataOrBuilder()Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8).
.google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDataOrBuilderin interfaceAspectOrBuilder
-
hasAspectSource
public boolean hasAspectSource()Optional. Information related to the source system of the aspect.
.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAspectSourcein interfaceAspectOrBuilder- Returns:
- Whether the aspectSource field is set.
-
getAspectSource
Optional. Information related to the source system of the aspect.
.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAspectSourcein interfaceAspectOrBuilder- Returns:
- The aspectSource.
-
setAspectSource
Optional. Information related to the source system of the aspect.
.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; -
setAspectSource
Optional. Information related to the source system of the aspect.
.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; -
mergeAspectSource
Optional. Information related to the source system of the aspect.
.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; -
clearAspectSource
Optional. Information related to the source system of the aspect.
.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getAspectSourceBuilder
Optional. Information related to the source system of the aspect.
.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getAspectSourceOrBuilder
Optional. Information related to the source system of the aspect.
.google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAspectSourceOrBuilderin interfaceAspectOrBuilder
-