Class PolicyOperationMetadata.Builder (1.27.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PolicyOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PolicyOperationMetadata.Builder
Overrides

build()

public PolicyOperationMetadata build()
Returns
TypeDescription
PolicyOperationMetadata

buildPartial()

public PolicyOperationMetadata buildPartial()
Returns
TypeDescription
PolicyOperationMetadata

clear()

public PolicyOperationMetadata.Builder clear()
Returns
TypeDescription
PolicyOperationMetadata.Builder
Overrides

clearCreateTime()

public PolicyOperationMetadata.Builder clearCreateTime()

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
PolicyOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public PolicyOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PolicyOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PolicyOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PolicyOperationMetadata.Builder
Overrides

clone()

public PolicyOperationMetadata.Builder clone()
Returns
TypeDescription
PolicyOperationMetadata.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public PolicyOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
PolicyOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCreateTime()

public boolean hasCreateTime()

Timestamp when the google.longrunning.Operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
PolicyOperationMetadata.Builder

mergeFrom(PolicyOperationMetadata other)

public PolicyOperationMetadata.Builder mergeFrom(PolicyOperationMetadata other)
Parameter
NameDescription
otherPolicyOperationMetadata
Returns
TypeDescription
PolicyOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PolicyOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyOperationMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PolicyOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PolicyOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PolicyOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
PolicyOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PolicyOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PolicyOperationMetadata.Builder
Overrides

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

public PolicyOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PolicyOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PolicyOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PolicyOperationMetadata.Builder
Overrides