Package com.google.cloud.dataform.v1
Class Folder.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Folder.Builder>
com.google.cloud.dataform.v1.Folder.Builder
- All Implemented Interfaces:
FolderOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Folder
public static final class Folder.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Folder.Builder>
implements FolderOrBuilder
Represents a Dataform Folder. This is a resource that is used to organize Files and other Folders and provide hierarchical access controls.Protobuf type
google.cloud.dataform.v1.Folder-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Output only.Output only.Required.Output only.Identifier.Output only.Output only.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Output only.com.google.protobuf.ByteStringOutput only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.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.setContainingFolder(String value) Optional.setContainingFolderBytes(com.google.protobuf.ByteString value) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setCreatorIamPrincipal(String value) Output only.setCreatorIamPrincipalBytes(com.google.protobuf.ByteString value) Output only.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setInternalMetadata(String value) Output only.setInternalMetadataBytes(com.google.protobuf.ByteString value) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setTeamFolderName(String value) Output only.setTeamFolderNameBytes(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<Folder.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<Folder.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<Folder.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<Folder.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Folder.Builder>
-
mergeFrom
public Folder.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<Folder.Builder>- Throws:
IOException
-
getName
Identifier. The Folder's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceFolderOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The Folder's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceFolderOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. The Folder's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. The Folder's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. The Folder's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Required. The Folder's user-friendly name.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceFolderOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The Folder's user-friendly name.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceFolderOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. The Folder's user-friendly name.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. The Folder's user-friendly name.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. The Folder's user-friendly name.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getContainingFolder
Optional. The containing Folder resource name. This should take the format: projects/{project}/locations/{location}/folders/{folder}, projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just projects/{project}/locations/{location} if this is a root Folder. This field can only be updated through MoveFolder.string containing_folder = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContainingFolderin interfaceFolderOrBuilder- Returns:
- The containingFolder.
-
getContainingFolderBytes
public com.google.protobuf.ByteString getContainingFolderBytes()Optional. The containing Folder resource name. This should take the format: projects/{project}/locations/{location}/folders/{folder}, projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just projects/{project}/locations/{location} if this is a root Folder. This field can only be updated through MoveFolder.string containing_folder = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContainingFolderBytesin interfaceFolderOrBuilder- Returns:
- The bytes for containingFolder.
-
setContainingFolder
Optional. The containing Folder resource name. This should take the format: projects/{project}/locations/{location}/folders/{folder}, projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just projects/{project}/locations/{location} if this is a root Folder. This field can only be updated through MoveFolder.string containing_folder = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The containingFolder to set.- Returns:
- This builder for chaining.
-
clearContainingFolder
Optional. The containing Folder resource name. This should take the format: projects/{project}/locations/{location}/folders/{folder}, projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just projects/{project}/locations/{location} if this is a root Folder. This field can only be updated through MoveFolder.string containing_folder = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setContainingFolderBytes
Optional. The containing Folder resource name. This should take the format: projects/{project}/locations/{location}/folders/{folder}, projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just projects/{project}/locations/{location} if this is a root Folder. This field can only be updated through MoveFolder.string containing_folder = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for containingFolder to set.- Returns:
- This builder for chaining.
-
getTeamFolderName
Output only. The resource name of the TeamFolder that this Folder is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Folder is not associated with a TeamFolder and is a UserFolder.string team_folder_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTeamFolderNamein interfaceFolderOrBuilder- Returns:
- The teamFolderName.
-
getTeamFolderNameBytes
public com.google.protobuf.ByteString getTeamFolderNameBytes()Output only. The resource name of the TeamFolder that this Folder is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Folder is not associated with a TeamFolder and is a UserFolder.string team_folder_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTeamFolderNameBytesin interfaceFolderOrBuilder- Returns:
- The bytes for teamFolderName.
-
setTeamFolderName
Output only. The resource name of the TeamFolder that this Folder is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Folder is not associated with a TeamFolder and is a UserFolder.string team_folder_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The teamFolderName to set.- Returns:
- This builder for chaining.
-
clearTeamFolderName
Output only. The resource name of the TeamFolder that this Folder is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Folder is not associated with a TeamFolder and is a UserFolder.string team_folder_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTeamFolderNameBytes
Output only. The resource name of the TeamFolder that this Folder is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Folder is not associated with a TeamFolder and is a UserFolder.string team_folder_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for teamFolderName to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The timestamp of when the Folder was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceFolderOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The timestamp of when the Folder was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceFolderOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp of when the Folder was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp of when the Folder was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp of when the Folder was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The timestamp of when the Folder was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp of when the Folder was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp of when the Folder was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceFolderOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The timestamp of when the Folder was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceFolderOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The timestamp of when the Folder was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceFolderOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The timestamp of when the Folder was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The timestamp of when the Folder was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The timestamp of when the Folder was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The timestamp of when the Folder was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The timestamp of when the Folder was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp of when the Folder was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceFolderOrBuilder
-
hasInternalMetadata
public boolean hasInternalMetadata()Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasInternalMetadatain interfaceFolderOrBuilder- Returns:
- Whether the internalMetadata field is set.
-
getInternalMetadata
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInternalMetadatain interfaceFolderOrBuilder- Returns:
- The internalMetadata.
-
getInternalMetadataBytes
public com.google.protobuf.ByteString getInternalMetadataBytes()Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInternalMetadataBytesin interfaceFolderOrBuilder- Returns:
- The bytes for internalMetadata.
-
setInternalMetadata
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The internalMetadata to set.- Returns:
- This builder for chaining.
-
clearInternalMetadata
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setInternalMetadataBytes
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for internalMetadata to set.- Returns:
- This builder for chaining.
-
hasCreatorIamPrincipal
public boolean hasCreatorIamPrincipal()Output only. The IAM principal identifier of the creator of the Folder.
optional string creator_iam_principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreatorIamPrincipalin interfaceFolderOrBuilder- Returns:
- Whether the creatorIamPrincipal field is set.
-
getCreatorIamPrincipal
Output only. The IAM principal identifier of the creator of the Folder.
optional string creator_iam_principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreatorIamPrincipalin interfaceFolderOrBuilder- Returns:
- The creatorIamPrincipal.
-
getCreatorIamPrincipalBytes
public com.google.protobuf.ByteString getCreatorIamPrincipalBytes()Output only. The IAM principal identifier of the creator of the Folder.
optional string creator_iam_principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreatorIamPrincipalBytesin interfaceFolderOrBuilder- Returns:
- The bytes for creatorIamPrincipal.
-
setCreatorIamPrincipal
Output only. The IAM principal identifier of the creator of the Folder.
optional string creator_iam_principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The creatorIamPrincipal to set.- Returns:
- This builder for chaining.
-
clearCreatorIamPrincipal
Output only. The IAM principal identifier of the creator of the Folder.
optional string creator_iam_principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCreatorIamPrincipalBytes
Output only. The IAM principal identifier of the creator of the Folder.
optional string creator_iam_principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for creatorIamPrincipal to set.- Returns:
- This builder for chaining.
-