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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApproveApprovalRequestMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ApproveApprovalRequestMessage build()
Returns
buildPartial()
public ApproveApprovalRequestMessage buildPartial()
Returns
clear()
public ApproveApprovalRequestMessage.Builder clear()
Returns
Overrides
clearExpireTime()
public ApproveApprovalRequestMessage.Builder clearExpireTime()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public ApproveApprovalRequestMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public ApproveApprovalRequestMessage.Builder clearName()
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ApproveApprovalRequestMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ApproveApprovalRequestMessage.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ApproveApprovalRequestMessage getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExpireTime()
public Timestamp getExpireTime()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Returns
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Returns
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Returns
getName()
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
hasExpireTime()
public boolean hasExpireTime()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Returns
Type | Description |
boolean | Whether the expireTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeExpireTime(Timestamp value)
public ApproveApprovalRequestMessage.Builder mergeExpireTime(Timestamp value)
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Parameter
Returns
mergeFrom(ApproveApprovalRequestMessage other)
public ApproveApprovalRequestMessage.Builder mergeFrom(ApproveApprovalRequestMessage other)
Parameter
Returns
public ApproveApprovalRequestMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ApproveApprovalRequestMessage.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApproveApprovalRequestMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setExpireTime(Timestamp value)
public ApproveApprovalRequestMessage.Builder setExpireTime(Timestamp value)
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Parameter
Returns
setExpireTime(Timestamp.Builder builderForValue)
public ApproveApprovalRequestMessage.Builder setExpireTime(Timestamp.Builder builderForValue)
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ApproveApprovalRequestMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public ApproveApprovalRequestMessage.Builder setName(String value)
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public ApproveApprovalRequestMessage.Builder setNameBytes(ByteString value)
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApproveApprovalRequestMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ApproveApprovalRequestMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides