Class AuthzPolicy.AuthzRule.RequestResource

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource
All Implemented Interfaces:
AuthzPolicy.AuthzRule.RequestResourceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
AuthzPolicy.AuthzRule

public static final class AuthzPolicy.AuthzRule.RequestResource extends com.google.protobuf.GeneratedMessage implements AuthzPolicy.AuthzRule.RequestResourceOrBuilder
 Describes the properties of a client VM resource accessing the internal
 application load balancers.
 
Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource
See Also:
  • Field Details

    • TAG_VALUE_ID_SET_FIELD_NUMBER

      public static final int TAG_VALUE_ID_SET_FIELD_NUMBER
      See Also:
    • IAM_SERVICE_ACCOUNT_FIELD_NUMBER

      public static final int IAM_SERVICE_ACCOUNT_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
    • hasTagValueIdSet

      public boolean hasTagValueIdSet()
       Optional. A list of resource tag value permanent IDs to match against
       the resource manager tags value associated with the source VM of a
       request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet tag_value_id_set = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTagValueIdSet in interface AuthzPolicy.AuthzRule.RequestResourceOrBuilder
      Returns:
      Whether the tagValueIdSet field is set.
    • getTagValueIdSet

       Optional. A list of resource tag value permanent IDs to match against
       the resource manager tags value associated with the source VM of a
       request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet tag_value_id_set = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTagValueIdSet in interface AuthzPolicy.AuthzRule.RequestResourceOrBuilder
      Returns:
      The tagValueIdSet.
    • getTagValueIdSetOrBuilder

       Optional. A list of resource tag value permanent IDs to match against
       the resource manager tags value associated with the source VM of a
       request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet tag_value_id_set = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTagValueIdSetOrBuilder in interface AuthzPolicy.AuthzRule.RequestResourceOrBuilder
    • hasIamServiceAccount

      public boolean hasIamServiceAccount()
       Optional. An IAM service account to match against the source
       service account of the VM sending the request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch iam_service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasIamServiceAccount in interface AuthzPolicy.AuthzRule.RequestResourceOrBuilder
      Returns:
      Whether the iamServiceAccount field is set.
    • getIamServiceAccount

      public AuthzPolicy.AuthzRule.StringMatch getIamServiceAccount()
       Optional. An IAM service account to match against the source
       service account of the VM sending the request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch iam_service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIamServiceAccount in interface AuthzPolicy.AuthzRule.RequestResourceOrBuilder
      Returns:
      The iamServiceAccount.
    • getIamServiceAccountOrBuilder

      public AuthzPolicy.AuthzRule.StringMatchOrBuilder getIamServiceAccountOrBuilder()
       Optional. An IAM service account to match against the source
       service account of the VM sending the request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch iam_service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIamServiceAccountOrBuilder in interface AuthzPolicy.AuthzRule.RequestResourceOrBuilder
    • 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 AuthzPolicy.AuthzRule.RequestResource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static AuthzPolicy.AuthzRule.RequestResource parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static AuthzPolicy.AuthzRule.RequestResource parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static AuthzPolicy.AuthzRule.RequestResource getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AuthzPolicy.AuthzRule.RequestResource> parser()
    • getParserForType

      public com.google.protobuf.Parser<AuthzPolicy.AuthzRule.RequestResource> 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 AuthzPolicy.AuthzRule.RequestResource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder