Class AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet (0.94.0)

public static final class AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet extends GeneratedMessage implements AuthzPolicy.AuthzRule.RequestResource.TagValueIdSetOrBuilder

Describes a set of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request.

Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet

Inheritance

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

Static Fields

IDS_FIELD_NUMBER

public static final int IDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getIds(int index)

public long getIds(int index)

Required. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. The match follows AND semantics which means all the ids must match. Limited to 5 ids in the Tag value id set.

repeated int64 ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The ids at the given index.

getIdsCount()

public int getIdsCount()

Required. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. The match follows AND semantics which means all the ids must match. Limited to 5 ids in the Tag value id set.

repeated int64 ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of ids.

getIdsList()

public List<Long> getIdsList()

Required. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. The match follows AND semantics which means all the ids must match. Limited to 5 ids in the Tag value id set.

repeated int64 ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Long>

A list containing the ids.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.TagValueIdSet.Builder newBuilderForType()
Returns
Type Description
AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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