Class TeamFolder.Builder (0.84.0)

public static final class TeamFolder.Builder extends 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.v1beta1.TeamFolder

Implements

TeamFolderOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public TeamFolder build()
Returns
Type Description
TeamFolder

buildPartial()

public TeamFolder buildPartial()
Returns
Type Description
TeamFolder

clear()

public TeamFolder.Builder clear()
Returns
Type Description
TeamFolder.Builder
Overrides

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];

Returns
Type Description
TeamFolder.Builder

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
Type Description
TeamFolder.Builder

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
Type Description
TeamFolder.Builder

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
Type Description
TeamFolder.Builder

This builder for chaining.

clearName()

public TeamFolder.Builder clearName()

Identifier. The TeamFolder's name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
TeamFolder.Builder

This builder for chaining.

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];

Returns
Type Description
TeamFolder.Builder

getCreateTime()

public Timestamp getCreateTime()

Output only. The timestamp of when the TeamFolder was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public 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];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp of when the TeamFolder was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
String

The creatorIamPrincipal.

getCreatorIamPrincipalBytes()

public 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];

Returns
Type Description
ByteString

The bytes for creatorIamPrincipal.

getDefaultInstanceForType()

public TeamFolder getDefaultInstanceForType()
Returns
Type Description
TeamFolder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The TeamFolder's user-friendly name.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The TeamFolder's user-friendly name.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

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];

Returns
Type Description
String

The internalMetadata.

getInternalMetadataBytes()

public 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];

Returns
Type Description
ByteString

The bytes for internalMetadata.

getName()

public String getName()

Identifier. The TeamFolder's name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The TeamFolder's name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public 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];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public 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];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public 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];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
boolean

Whether the createTime field is set.

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];

Returns
Type Description
boolean

Whether the creatorIamPrincipal field is set.

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];

Returns
Type Description
boolean

Whether the internalMetadata field is set.

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];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public TeamFolder.Builder mergeCreateTime(Timestamp value)

Output only. The timestamp of when the TeamFolder was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TeamFolder.Builder

mergeFrom(TeamFolder other)

public TeamFolder.Builder mergeFrom(TeamFolder other)
Parameter
Name Description
other TeamFolder
Returns
Type Description
TeamFolder.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TeamFolder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TeamFolder.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TeamFolder.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TeamFolder.Builder
Overrides

mergeUpdateTime(Timestamp value)

public TeamFolder.Builder mergeUpdateTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
TeamFolder.Builder

setCreateTime(Timestamp value)

public TeamFolder.Builder setCreateTime(Timestamp value)

Output only. The timestamp of when the TeamFolder was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TeamFolder.Builder

setCreateTime(Timestamp.Builder builderForValue)

public TeamFolder.Builder setCreateTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TeamFolder.Builder

setCreatorIamPrincipal(String value)

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];

Parameter
Name Description
value String

The creatorIamPrincipal to set.

Returns
Type Description
TeamFolder.Builder

This builder for chaining.

setCreatorIamPrincipalBytes(ByteString value)

public TeamFolder.Builder setCreatorIamPrincipalBytes(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];

Parameter
Name Description
value ByteString

The bytes for creatorIamPrincipal to set.

Returns
Type Description
TeamFolder.Builder

This builder for chaining.

setDisplayName(String value)

public TeamFolder.Builder setDisplayName(String value)

Required. The TeamFolder's user-friendly name.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
TeamFolder.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public TeamFolder.Builder setDisplayNameBytes(ByteString value)

Required. The TeamFolder's user-friendly name.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
TeamFolder.Builder

This builder for chaining.

setInternalMetadata(String value)

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];

Parameter
Name Description
value String

The internalMetadata to set.

Returns
Type Description
TeamFolder.Builder

This builder for chaining.

setInternalMetadataBytes(ByteString value)

public TeamFolder.Builder setInternalMetadataBytes(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];

Parameter
Name Description
value ByteString

The bytes for internalMetadata to set.

Returns
Type Description
TeamFolder.Builder

This builder for chaining.

setName(String value)

public TeamFolder.Builder setName(String value)

Identifier. The TeamFolder's name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
TeamFolder.Builder

This builder for chaining.

setNameBytes(ByteString value)

public TeamFolder.Builder setNameBytes(ByteString value)

Identifier. The TeamFolder's name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
TeamFolder.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public TeamFolder.Builder setUpdateTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
TeamFolder.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public TeamFolder.Builder setUpdateTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TeamFolder.Builder