Class PolicyOperationMetadata.Builder (1.40.1)

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

Metadata for long-running Policy operations.

Protobuf type google.iam.v2beta.PolicyOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PolicyOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PolicyOperationMetadata.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public PolicyOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PolicyOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PolicyOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PolicyOperationMetadata.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PolicyOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public PolicyOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PolicyOperationMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PolicyOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PolicyOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PolicyOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PolicyOperationMetadata.Builder
Overrides