public static final class PolicyOperationMetadata.Builder extends GeneratedMessageV3.Builder<PolicyOperationMetadata.Builder> implements PolicyOperationMetadataOrBuilder
Metadata for long-running Policy
operations.
Protobuf type google.iam.v2.PolicyOperationMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PolicyOperationMetadata.BuilderImplements
PolicyOperationMetadataOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public PolicyOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PolicyOperationMetadata.Builder |
clone()
public PolicyOperationMetadata.Builder clone()
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 |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PolicyOperationMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PolicyOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PolicyOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PolicyOperationMetadata.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final PolicyOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PolicyOperationMetadata.Builder |