Class PolicyOperationMetadata.Builder (1.60.0)

public static final class PolicyOperationMetadata.Builder extends GeneratedMessage.Builder<PolicyOperationMetadata.Builder> implements PolicyOperationMetadataOrBuilder

Metadata for long-running Policy operations.

Protobuf type google.iam.v2.PolicyOperationMetadata

Static Methods

getDescriptor()

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

Methods

build()

public PolicyOperationMetadata build()
Returns
Type Description
PolicyOperationMetadata

buildPartial()

public PolicyOperationMetadata buildPartial()
Returns
Type Description
PolicyOperationMetadata

clear()

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

clearCreateTime()

public PolicyOperationMetadata.Builder clearCreateTime()

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
PolicyOperationMetadata.Builder

getCreateTime()

public Timestamp getCreateTime()

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public PolicyOperationMetadata getDefaultInstanceForType()
Returns
Type Description
PolicyOperationMetadata

getDescriptorForType()

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

hasCreateTime()

public boolean hasCreateTime()

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

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

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
PolicyOperationMetadata.Builder

mergeFrom(PolicyOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCreateTime(Timestamp value)

public PolicyOperationMetadata.Builder setCreateTime(Timestamp value)

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
PolicyOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public PolicyOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PolicyOperationMetadata.Builder