- 2.53.0 (latest)
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.4
- 2.1.12
public static final class ApproveApprovalRequestMessage.Builder extends GeneratedMessageV3.Builder<ApproveApprovalRequestMessage.Builder> implements ApproveApprovalRequestMessageOrBuilder
Request to approve an ApprovalRequest.
Protobuf type google.cloud.accessapproval.v1.ApproveApprovalRequestMessage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ApproveApprovalRequestMessage.BuilderImplements
ApproveApprovalRequestMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApproveApprovalRequestMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ApproveApprovalRequestMessage.Builder |
build()
public ApproveApprovalRequestMessage build()
Type | Description |
ApproveApprovalRequestMessage |
buildPartial()
public ApproveApprovalRequestMessage buildPartial()
Type | Description |
ApproveApprovalRequestMessage |
clear()
public ApproveApprovalRequestMessage.Builder clear()
Type | Description |
ApproveApprovalRequestMessage.Builder |
clearExpireTime()
public ApproveApprovalRequestMessage.Builder clearExpireTime()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Type | Description |
ApproveApprovalRequestMessage.Builder |
clearField(Descriptors.FieldDescriptor field)
public ApproveApprovalRequestMessage.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ApproveApprovalRequestMessage.Builder |
clearName()
public ApproveApprovalRequestMessage.Builder clearName()
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ApproveApprovalRequestMessage.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ApproveApprovalRequestMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ApproveApprovalRequestMessage.Builder |
clone()
public ApproveApprovalRequestMessage.Builder clone()
Type | Description |
ApproveApprovalRequestMessage.Builder |
getDefaultInstanceForType()
public ApproveApprovalRequestMessage getDefaultInstanceForType()
Type | Description |
ApproveApprovalRequestMessage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExpireTime()
public Timestamp getExpireTime()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Type | Description |
Timestamp | The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Type | Description |
Builder |
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Type | Description |
TimestampOrBuilder |
getName()
public String getName()
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
hasExpireTime()
public boolean hasExpireTime()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Type | Description |
boolean | Whether the expireTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeExpireTime(Timestamp value)
public ApproveApprovalRequestMessage.Builder mergeExpireTime(Timestamp value)
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Name | Description |
value | Timestamp |
Type | Description |
ApproveApprovalRequestMessage.Builder |
mergeFrom(ApproveApprovalRequestMessage other)
public ApproveApprovalRequestMessage.Builder mergeFrom(ApproveApprovalRequestMessage other)
Name | Description |
other | ApproveApprovalRequestMessage |
Type | Description |
ApproveApprovalRequestMessage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ApproveApprovalRequestMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ApproveApprovalRequestMessage.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ApproveApprovalRequestMessage.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ApproveApprovalRequestMessage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApproveApprovalRequestMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ApproveApprovalRequestMessage.Builder |
setExpireTime(Timestamp value)
public ApproveApprovalRequestMessage.Builder setExpireTime(Timestamp value)
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Name | Description |
value | Timestamp |
Type | Description |
ApproveApprovalRequestMessage.Builder |
setExpireTime(Timestamp.Builder builderForValue)
public ApproveApprovalRequestMessage.Builder setExpireTime(Timestamp.Builder builderForValue)
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Name | Description |
builderForValue | Builder |
Type | Description |
ApproveApprovalRequestMessage.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ApproveApprovalRequestMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ApproveApprovalRequestMessage.Builder |
setName(String value)
public ApproveApprovalRequestMessage.Builder setName(String value)
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
ApproveApprovalRequestMessage.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ApproveApprovalRequestMessage.Builder setNameBytes(ByteString value)
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ApproveApprovalRequestMessage.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApproveApprovalRequestMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ApproveApprovalRequestMessage.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ApproveApprovalRequestMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ApproveApprovalRequestMessage.Builder |