Class TeamFolder.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TeamFolder.Builder>
com.google.cloud.dataform.v1.TeamFolder.Builder
All Implemented Interfaces:
TeamFolderOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TeamFolder

public static final class TeamFolder.Builder extends com.google.protobuf.GeneratedMessage.Builder<TeamFolder.Builder> implements TeamFolderOrBuilder
 Represents a Dataform TeamFolder. This is a resource that sits at the project
 level and is used to organize Repositories and Folders with hierarchical
 access controls. They provide a team context and stricter access controls.
 
Protobuf type google.cloud.dataform.v1.TeamFolder
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TeamFolder.Builder>
    • clear

      public TeamFolder.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TeamFolder.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TeamFolder.Builder>
    • getDefaultInstanceForType

      public TeamFolder getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TeamFolder build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TeamFolder buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TeamFolder.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TeamFolder.Builder>
    • mergeFrom

      public TeamFolder.Builder mergeFrom(TeamFolder other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TeamFolder.Builder>
    • mergeFrom

      public TeamFolder.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TeamFolder.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The TeamFolder's name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface TeamFolderOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The TeamFolder's name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface TeamFolderOrBuilder
      Returns:
      The bytes for name.
    • setName

      public TeamFolder.Builder setName(String value)
       Identifier. The TeamFolder's name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public TeamFolder.Builder clearName()
       Identifier. The TeamFolder's name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public TeamFolder.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The TeamFolder's name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The TeamFolder's user-friendly name.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface TeamFolderOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The TeamFolder's user-friendly name.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface TeamFolderOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public TeamFolder.Builder setDisplayName(String value)
       Required. The TeamFolder'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

      public TeamFolder.Builder clearDisplayName()
       Required. The TeamFolder's user-friendly name.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public TeamFolder.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The TeamFolder'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.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp of when the TeamFolder was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface TeamFolderOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp of when the TeamFolder was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface TeamFolderOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public TeamFolder.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of when the TeamFolder was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public TeamFolder.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp of when the TeamFolder was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public TeamFolder.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of when the TeamFolder was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public TeamFolder.Builder clearCreateTime()
       Output only. The timestamp of when the TeamFolder 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 timestamp of when the TeamFolder was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp of when the TeamFolder was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface TeamFolderOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp of when the TeamFolder was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface TeamFolderOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp of when the TeamFolder was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface TeamFolderOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public TeamFolder.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of when the TeamFolder was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public TeamFolder.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp of when the TeamFolder was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public TeamFolder.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of when the TeamFolder was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public TeamFolder.Builder clearUpdateTime()
       Output only. The timestamp of when the TeamFolder 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 timestamp of when the TeamFolder 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 timestamp of when the TeamFolder was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface TeamFolderOrBuilder
    • 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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasInternalMetadata in interface TeamFolderOrBuilder
      Returns:
      Whether the internalMetadata field is set.
    • getInternalMetadata

      public String 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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInternalMetadata in interface TeamFolderOrBuilder
      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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInternalMetadataBytes in interface TeamFolderOrBuilder
      Returns:
      The bytes for internalMetadata.
    • setInternalMetadata

      public TeamFolder.Builder setInternalMetadata(String value)
       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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The internalMetadata to set.
      Returns:
      This builder for chaining.
    • clearInternalMetadata

      public TeamFolder.Builder 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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setInternalMetadataBytes

      public TeamFolder.Builder setInternalMetadataBytes(com.google.protobuf.ByteString value)
       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 = 5 [(.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 TeamFolder.
       
      optional string creator_iam_principal = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreatorIamPrincipal in interface TeamFolderOrBuilder
      Returns:
      Whether the creatorIamPrincipal field is set.
    • getCreatorIamPrincipal

      public String getCreatorIamPrincipal()
       Output only. The IAM principal identifier of the creator of the TeamFolder.
       
      optional string creator_iam_principal = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreatorIamPrincipal in interface TeamFolderOrBuilder
      Returns:
      The creatorIamPrincipal.
    • getCreatorIamPrincipalBytes

      public com.google.protobuf.ByteString getCreatorIamPrincipalBytes()
       Output only. The IAM principal identifier of the creator of the TeamFolder.
       
      optional string creator_iam_principal = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreatorIamPrincipalBytes in interface TeamFolderOrBuilder
      Returns:
      The bytes for creatorIamPrincipal.
    • setCreatorIamPrincipal

      public TeamFolder.Builder setCreatorIamPrincipal(String value)
       Output only. The IAM principal identifier of the creator of the TeamFolder.
       
      optional string creator_iam_principal = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The creatorIamPrincipal to set.
      Returns:
      This builder for chaining.
    • clearCreatorIamPrincipal

      public TeamFolder.Builder clearCreatorIamPrincipal()
       Output only. The IAM principal identifier of the creator of the TeamFolder.
       
      optional string creator_iam_principal = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCreatorIamPrincipalBytes

      public TeamFolder.Builder setCreatorIamPrincipalBytes(com.google.protobuf.ByteString value)
       Output only. The IAM principal identifier of the creator of the TeamFolder.
       
      optional string creator_iam_principal = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for creatorIamPrincipal to set.
      Returns:
      This builder for chaining.