Class DeleteFolderTreeMetadata.Builder (0.90.0)

public static final class DeleteFolderTreeMetadata.Builder extends GeneratedMessage.Builder<DeleteFolderTreeMetadata.Builder> implements DeleteFolderTreeMetadataOrBuilder

Contains metadata about the progress of the DeleteFolderTree Long-running operations.

Protobuf type google.cloud.dataform.v1.DeleteFolderTreeMetadata

Static Methods

getDescriptor()

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

Methods

build()

public DeleteFolderTreeMetadata build()
Returns
Type Description
DeleteFolderTreeMetadata

buildPartial()

public DeleteFolderTreeMetadata buildPartial()
Returns
Type Description
DeleteFolderTreeMetadata

clear()

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

clearCreateTime()

public DeleteFolderTreeMetadata.Builder clearCreateTime()

Output only. The time the operation was created.

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

Returns
Type Description
DeleteFolderTreeMetadata.Builder

clearEndTime()

public DeleteFolderTreeMetadata.Builder clearEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeleteFolderTreeMetadata.Builder

clearPercentComplete()

public DeleteFolderTreeMetadata.Builder clearPercentComplete()

Output only. Percent complete of the operation [0, 100].

int32 percent_complete = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeleteFolderTreeMetadata.Builder

This builder for chaining.

clearState()

public DeleteFolderTreeMetadata.Builder clearState()

Output only. The state of the operation.

.google.cloud.dataform.v1.DeleteFolderTreeMetadata.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeleteFolderTreeMetadata.Builder

This builder for chaining.

clearTarget()

public DeleteFolderTreeMetadata.Builder clearTarget()

Output only. Resource name of the target of the operation. Format: projects/{project}/locations/{location}/folders/{folder} or projects/{project}/locations/{location}/teamFolders/{team_folder}

string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeleteFolderTreeMetadata.Builder

This builder for chaining.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the operation was created.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time the operation was created.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the operation was created.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DeleteFolderTreeMetadata getDefaultInstanceForType()
Returns
Type Description
DeleteFolderTreeMetadata

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getPercentComplete()

public int getPercentComplete()

Output only. Percent complete of the operation [0, 100].

int32 percent_complete = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The percentComplete.

getState()

public DeleteFolderTreeMetadata.State getState()

Output only. The state of the operation.

.google.cloud.dataform.v1.DeleteFolderTreeMetadata.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeleteFolderTreeMetadata.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the operation.

.google.cloud.dataform.v1.DeleteFolderTreeMetadata.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTarget()

public String getTarget()

Output only. Resource name of the target of the operation. Format: projects/{project}/locations/{location}/folders/{folder} or projects/{project}/locations/{location}/teamFolders/{team_folder}

string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The target.

getTargetBytes()

public ByteString getTargetBytes()

Output only. Resource name of the target of the operation. Format: projects/{project}/locations/{location}/folders/{folder} or projects/{project}/locations/{location}/teamFolders/{team_folder}

string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for target.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the operation was created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime 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 DeleteFolderTreeMetadata.Builder mergeCreateTime(Timestamp value)

Output only. The time the operation was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
DeleteFolderTreeMetadata.Builder

mergeEndTime(Timestamp value)

public DeleteFolderTreeMetadata.Builder mergeEndTime(Timestamp value)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeleteFolderTreeMetadata.Builder

mergeFrom(DeleteFolderTreeMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCreateTime(Timestamp value)

public DeleteFolderTreeMetadata.Builder setCreateTime(Timestamp value)

Output only. The time the operation was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
DeleteFolderTreeMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public DeleteFolderTreeMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time the operation was created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DeleteFolderTreeMetadata.Builder

setEndTime(Timestamp value)

public DeleteFolderTreeMetadata.Builder setEndTime(Timestamp value)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeleteFolderTreeMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public DeleteFolderTreeMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DeleteFolderTreeMetadata.Builder

setPercentComplete(int value)

public DeleteFolderTreeMetadata.Builder setPercentComplete(int value)

Output only. Percent complete of the operation [0, 100].

int32 percent_complete = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The percentComplete to set.

Returns
Type Description
DeleteFolderTreeMetadata.Builder

This builder for chaining.

setState(DeleteFolderTreeMetadata.State value)

public DeleteFolderTreeMetadata.Builder setState(DeleteFolderTreeMetadata.State value)

Output only. The state of the operation.

.google.cloud.dataform.v1.DeleteFolderTreeMetadata.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DeleteFolderTreeMetadata.State

The state to set.

Returns
Type Description
DeleteFolderTreeMetadata.Builder

This builder for chaining.

setStateValue(int value)

public DeleteFolderTreeMetadata.Builder setStateValue(int value)

Output only. The state of the operation.

.google.cloud.dataform.v1.DeleteFolderTreeMetadata.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
DeleteFolderTreeMetadata.Builder

This builder for chaining.

setTarget(String value)

public DeleteFolderTreeMetadata.Builder setTarget(String value)

Output only. Resource name of the target of the operation. Format: projects/{project}/locations/{location}/folders/{folder} or projects/{project}/locations/{location}/teamFolders/{team_folder}

string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The target to set.

Returns
Type Description
DeleteFolderTreeMetadata.Builder

This builder for chaining.

setTargetBytes(ByteString value)

public DeleteFolderTreeMetadata.Builder setTargetBytes(ByteString value)

Output only. Resource name of the target of the operation. Format: projects/{project}/locations/{location}/folders/{folder} or projects/{project}/locations/{location}/teamFolders/{team_folder}

string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for target to set.

Returns
Type Description
DeleteFolderTreeMetadata.Builder

This builder for chaining.