Class AuthzPolicy.AuthzRule.RequestResource (0.94.0)

public static final class AuthzPolicy.AuthzRule.RequestResource extends 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AuthzPolicy.AuthzRule.RequestResource

Static Fields

IAM_SERVICE_ACCOUNT_FIELD_NUMBER

public static final int IAM_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

TAG_VALUE_ID_SET_FIELD_NUMBER

public static final int TAG_VALUE_ID_SET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AuthzPolicy.AuthzRule.RequestResource getDefaultInstance()
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AuthzPolicy.AuthzRule.RequestResource.Builder newBuilder()
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource.Builder

newBuilder(AuthzPolicy.AuthzRule.RequestResource prototype)

public static AuthzPolicy.AuthzRule.RequestResource.Builder newBuilder(AuthzPolicy.AuthzRule.RequestResource prototype)
Parameter
Name Description
prototype AuthzPolicy.AuthzRule.RequestResource
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource.Builder

parseDelimitedFrom(InputStream input)

public static AuthzPolicy.AuthzRule.RequestResource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthzPolicy.AuthzRule.RequestResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AuthzPolicy.AuthzRule.RequestResource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuthzPolicy.AuthzRule.RequestResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuthzPolicy.AuthzRule.RequestResource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuthzPolicy.AuthzRule.RequestResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuthzPolicy.AuthzRule.RequestResource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthzPolicy.AuthzRule.RequestResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AuthzPolicy.AuthzRule.RequestResource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthzPolicy.AuthzRule.RequestResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AuthzPolicy.AuthzRule.RequestResource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuthzPolicy.AuthzRule.RequestResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AuthzPolicy.AuthzRule.RequestResource> parser()
Returns
Type Description
Parser<RequestResource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AuthzPolicy.AuthzRule.RequestResource getDefaultInstanceForType()
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource

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];

Returns
Type Description
AuthzPolicy.AuthzRule.StringMatch

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];

Returns
Type Description
AuthzPolicy.AuthzRule.StringMatchOrBuilder

getParserForType()

public Parser<AuthzPolicy.AuthzRule.RequestResource> getParserForType()
Returns
Type Description
Parser<RequestResource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTagValueIdSet()

public AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet 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];

Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet

The tagValueIdSet.

getTagValueIdSetOrBuilder()

public AuthzPolicy.AuthzRule.RequestResource.TagValueIdSetOrBuilder 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];

Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource.TagValueIdSetOrBuilder

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];

Returns
Type Description
boolean

Whether the iamServiceAccount field is set.

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];

Returns
Type Description
boolean

Whether the tagValueIdSet field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AuthzPolicy.AuthzRule.RequestResource.Builder newBuilderForType()
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AuthzPolicy.AuthzRule.RequestResource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource.Builder
Overrides

toBuilder()

public AuthzPolicy.AuthzRule.RequestResource.Builder toBuilder()
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException