public static final class GetApprovalRequestMessage.Builder extends GeneratedMessageV3.Builder<GetApprovalRequestMessage.Builder> implements GetApprovalRequestMessageOrBuilder
Request to get an approval request.
Protobuf type google.cloud.accessapproval.v1.GetApprovalRequestMessage
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetApprovalRequestMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetApprovalRequestMessage build()
Returns
buildPartial()
public GetApprovalRequestMessage buildPartial()
Returns
clear()
public GetApprovalRequestMessage.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetApprovalRequestMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public GetApprovalRequestMessage.Builder clearName()
The name of the approval request to retrieve.
Format:
"{projects|folders|organizations}/{id}/approvalRequests/{approval_request}"
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetApprovalRequestMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GetApprovalRequestMessage.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetApprovalRequestMessage getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
The name of the approval request to retrieve.
Format:
"{projects|folders|organizations}/{id}/approvalRequests/{approval_request}"
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The name of the approval request to retrieve.
Format:
"{projects|folders|organizations}/{id}/approvalRequests/{approval_request}"
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetApprovalRequestMessage other)
public GetApprovalRequestMessage.Builder mergeFrom(GetApprovalRequestMessage other)
Parameter
Returns
public GetApprovalRequestMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetApprovalRequestMessage.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetApprovalRequestMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetApprovalRequestMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public GetApprovalRequestMessage.Builder setName(String value)
The name of the approval request to retrieve.
Format:
"{projects|folders|organizations}/{id}/approvalRequests/{approval_request}"
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public GetApprovalRequestMessage.Builder setNameBytes(ByteString value)
The name of the approval request to retrieve.
Format:
"{projects|folders|organizations}/{id}/approvalRequests/{approval_request}"
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 GetApprovalRequestMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetApprovalRequestMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides