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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApproveApprovalRequestMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ApproveApprovalRequestMessage build()
buildPartial()
public ApproveApprovalRequestMessage buildPartial()
clear()
public ApproveApprovalRequestMessage.Builder clear()
Overrides
clearExpireTime()
public ApproveApprovalRequestMessage.Builder clearExpireTime()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
clearField(Descriptors.FieldDescriptor field)
public ApproveApprovalRequestMessage.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public ApproveApprovalRequestMessage.Builder clearName()
Name of the approval request to approve.
string name = 1 [(.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public ApproveApprovalRequestMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ApproveApprovalRequestMessage.Builder clone()
Overrides
getDefaultInstanceForType()
public ApproveApprovalRequestMessage getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExpireTime()
public Timestamp getExpireTime()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
Returns |
---|
Type | Description |
Timestamp | The expireTime.
|
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeExpireTime(Timestamp value)
public ApproveApprovalRequestMessage.Builder mergeExpireTime(Timestamp value)
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
mergeFrom(ApproveApprovalRequestMessage other)
public ApproveApprovalRequestMessage.Builder mergeFrom(ApproveApprovalRequestMessage other)
public ApproveApprovalRequestMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ApproveApprovalRequestMessage.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApproveApprovalRequestMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setExpireTime(Timestamp value)
public ApproveApprovalRequestMessage.Builder setExpireTime(Timestamp value)
The expiration time of this approval.
.google.protobuf.Timestamp expire_time = 2;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ApproveApprovalRequestMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApproveApprovalRequestMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ApproveApprovalRequestMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides