Class AccessApprovalRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest
All Implemented Interfaces:
AccessApprovalRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AccessApprovalRequest extends com.google.protobuf.GeneratedMessage implements AccessApprovalRequestOrBuilder
 Details about the Access request.
 
Protobuf type google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • REQUEST_TIME_FIELD_NUMBER

      public static final int REQUEST_TIME_FIELD_NUMBER
      See Also:
    • REQUESTED_REASON_FIELD_NUMBER

      public static final int REQUESTED_REASON_FIELD_NUMBER
      See Also:
    • REQUESTED_EXPIRATION_TIME_FIELD_NUMBER

      public static final int REQUESTED_EXPIRATION_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String 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:
      getName in interface AccessApprovalRequestOrBuilder
      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:
      getNameBytes in interface AccessApprovalRequestOrBuilder
      Returns:
      The bytes for name.
    • hasRequestTime

      public boolean hasRequestTime()
       The time at which approval was requested.
       
      .google.protobuf.Timestamp request_time = 2;
      Specified by:
      hasRequestTime in interface AccessApprovalRequestOrBuilder
      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:
      getRequestTime in interface AccessApprovalRequestOrBuilder
      Returns:
      The requestTime.
    • getRequestTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder()
       The time at which approval was requested.
       
      .google.protobuf.Timestamp request_time = 2;
      Specified by:
      getRequestTimeOrBuilder in interface AccessApprovalRequestOrBuilder
    • hasRequestedReason

      public boolean hasRequestedReason()
       The justification for which approval is being requested.
       
      .google.cloud.cloudcontrolspartner.v1.AccessReason requested_reason = 3;
      Specified by:
      hasRequestedReason in interface AccessApprovalRequestOrBuilder
      Returns:
      Whether the requestedReason field is set.
    • getRequestedReason

      public AccessReason getRequestedReason()
       The justification for which approval is being requested.
       
      .google.cloud.cloudcontrolspartner.v1.AccessReason requested_reason = 3;
      Specified by:
      getRequestedReason in interface AccessApprovalRequestOrBuilder
      Returns:
      The requestedReason.
    • getRequestedReasonOrBuilder

      public AccessReasonOrBuilder getRequestedReasonOrBuilder()
       The justification for which approval is being requested.
       
      .google.cloud.cloudcontrolspartner.v1.AccessReason requested_reason = 3;
      Specified by:
      getRequestedReasonOrBuilder in interface AccessApprovalRequestOrBuilder
    • 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:
      hasRequestedExpirationTime in interface AccessApprovalRequestOrBuilder
      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:
      getRequestedExpirationTime in interface AccessApprovalRequestOrBuilder
      Returns:
      The requestedExpirationTime.
    • 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:
      getRequestedExpirationTimeOrBuilder in interface AccessApprovalRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AccessApprovalRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessApprovalRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessApprovalRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessApprovalRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessApprovalRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessApprovalRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessApprovalRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessApprovalRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AccessApprovalRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AccessApprovalRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessApprovalRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessApprovalRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AccessApprovalRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AccessApprovalRequest.Builder newBuilder()
    • newBuilder

      public static AccessApprovalRequest.Builder newBuilder(AccessApprovalRequest prototype)
    • toBuilder

      public AccessApprovalRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AccessApprovalRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AccessApprovalRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AccessApprovalRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<AccessApprovalRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AccessApprovalRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder