Class AccessApprovalRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AccessApprovalRequest.Builder>
com.google.cloud.cloudcontrolspartner.v1beta.AccessApprovalRequest.Builder
- All Implemented Interfaces:
AccessApprovalRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AccessApprovalRequest
public static final class AccessApprovalRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AccessApprovalRequest.Builder>
implements AccessApprovalRequestOrBuilder
Details about the Access request.Protobuf type
google.cloud.cloudcontrolspartner.v1beta.AccessApprovalRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Identifier.The requested expiration for the approval.The justification for which approval is being requested.The time at which approval was requested.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.TimestampThe requested expiration for the approval.com.google.protobuf.Timestamp.BuilderThe requested expiration for the approval.com.google.protobuf.TimestampOrBuilderThe requested expiration for the approval.The justification for which approval is being requested.The justification for which approval is being requested.The justification for which approval is being requested.com.google.protobuf.TimestampThe time at which approval was requested.com.google.protobuf.Timestamp.BuilderThe time at which approval was requested.com.google.protobuf.TimestampOrBuilderThe time at which approval was requested.booleanThe requested expiration for the approval.booleanThe justification for which approval is being requested.booleanThe time at which approval was requested.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AccessApprovalRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRequestedExpirationTime(com.google.protobuf.Timestamp value) The requested expiration for the approval.mergeRequestedReason(AccessReason value) The justification for which approval is being requested.mergeRequestTime(com.google.protobuf.Timestamp value) The time at which approval was requested.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setRequestedExpirationTime(com.google.protobuf.Timestamp value) The requested expiration for the approval.setRequestedExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) The requested expiration for the approval.setRequestedReason(AccessReason value) The justification for which approval is being requested.setRequestedReason(AccessReason.Builder builderForValue) The justification for which approval is being requested.setRequestTime(com.google.protobuf.Timestamp value) The time at which approval was requested.setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which approval was requested.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AccessApprovalRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AccessApprovalRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AccessApprovalRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccessApprovalRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AccessApprovalRequest.Builder>
-
mergeFrom
public AccessApprovalRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccessApprovalRequest.Builder>- Throws:
IOException
-
getName
Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceAccessApprovalRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceAccessApprovalRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasRequestTime
public boolean hasRequestTime()The time at which approval was requested.
.google.protobuf.Timestamp request_time = 2;- Specified by:
hasRequestTimein interfaceAccessApprovalRequestOrBuilder- Returns:
- Whether the requestTime field is set.
-
getRequestTime
public com.google.protobuf.Timestamp getRequestTime()The time at which approval was requested.
.google.protobuf.Timestamp request_time = 2;- Specified by:
getRequestTimein interfaceAccessApprovalRequestOrBuilder- Returns:
- The requestTime.
-
setRequestTime
The time at which approval was requested.
.google.protobuf.Timestamp request_time = 2; -
setRequestTime
public AccessApprovalRequest.Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which approval was requested.
.google.protobuf.Timestamp request_time = 2; -
mergeRequestTime
The time at which approval was requested.
.google.protobuf.Timestamp request_time = 2; -
clearRequestTime
The time at which approval was requested.
.google.protobuf.Timestamp request_time = 2; -
getRequestTimeBuilder
public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder()The time at which approval was requested.
.google.protobuf.Timestamp request_time = 2; -
getRequestTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder()The time at which approval was requested.
.google.protobuf.Timestamp request_time = 2;- Specified by:
getRequestTimeOrBuilderin interfaceAccessApprovalRequestOrBuilder
-
hasRequestedReason
public boolean hasRequestedReason()The justification for which approval is being requested.
.google.cloud.cloudcontrolspartner.v1beta.AccessReason requested_reason = 3;- Specified by:
hasRequestedReasonin interfaceAccessApprovalRequestOrBuilder- Returns:
- Whether the requestedReason field is set.
-
getRequestedReason
The justification for which approval is being requested.
.google.cloud.cloudcontrolspartner.v1beta.AccessReason requested_reason = 3;- Specified by:
getRequestedReasonin interfaceAccessApprovalRequestOrBuilder- Returns:
- The requestedReason.
-
setRequestedReason
The justification for which approval is being requested.
.google.cloud.cloudcontrolspartner.v1beta.AccessReason requested_reason = 3; -
setRequestedReason
The justification for which approval is being requested.
.google.cloud.cloudcontrolspartner.v1beta.AccessReason requested_reason = 3; -
mergeRequestedReason
The justification for which approval is being requested.
.google.cloud.cloudcontrolspartner.v1beta.AccessReason requested_reason = 3; -
clearRequestedReason
The justification for which approval is being requested.
.google.cloud.cloudcontrolspartner.v1beta.AccessReason requested_reason = 3; -
getRequestedReasonBuilder
The justification for which approval is being requested.
.google.cloud.cloudcontrolspartner.v1beta.AccessReason requested_reason = 3; -
getRequestedReasonOrBuilder
The justification for which approval is being requested.
.google.cloud.cloudcontrolspartner.v1beta.AccessReason requested_reason = 3;- Specified by:
getRequestedReasonOrBuilderin interfaceAccessApprovalRequestOrBuilder
-
hasRequestedExpirationTime
public boolean hasRequestedExpirationTime()The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
.google.protobuf.Timestamp requested_expiration_time = 4;- Specified by:
hasRequestedExpirationTimein interfaceAccessApprovalRequestOrBuilder- Returns:
- Whether the requestedExpirationTime field is set.
-
getRequestedExpirationTime
public com.google.protobuf.Timestamp getRequestedExpirationTime()The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
.google.protobuf.Timestamp requested_expiration_time = 4;- Specified by:
getRequestedExpirationTimein interfaceAccessApprovalRequestOrBuilder- Returns:
- The requestedExpirationTime.
-
setRequestedExpirationTime
public AccessApprovalRequest.Builder setRequestedExpirationTime(com.google.protobuf.Timestamp value) The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
.google.protobuf.Timestamp requested_expiration_time = 4; -
setRequestedExpirationTime
public AccessApprovalRequest.Builder setRequestedExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
.google.protobuf.Timestamp requested_expiration_time = 4; -
mergeRequestedExpirationTime
public AccessApprovalRequest.Builder mergeRequestedExpirationTime(com.google.protobuf.Timestamp value) The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
.google.protobuf.Timestamp requested_expiration_time = 4; -
clearRequestedExpirationTime
The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
.google.protobuf.Timestamp requested_expiration_time = 4; -
getRequestedExpirationTimeBuilder
public com.google.protobuf.Timestamp.Builder getRequestedExpirationTimeBuilder()The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
.google.protobuf.Timestamp requested_expiration_time = 4; -
getRequestedExpirationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRequestedExpirationTimeOrBuilder()The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
.google.protobuf.Timestamp requested_expiration_time = 4;- Specified by:
getRequestedExpirationTimeOrBuilderin interfaceAccessApprovalRequestOrBuilder
-