Class AuthzPolicy.AuthzRule.To (0.94.0)

public static final class AuthzPolicy.AuthzRule.To extends GeneratedMessage implements AuthzPolicy.AuthzRule.ToOrBuilder

Describes properties of one or more targets of a request.

Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To

Static Fields

NOT_OPERATIONS_FIELD_NUMBER

public static final int NOT_OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

OPERATIONS_FIELD_NUMBER

public static final int OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(AuthzPolicy.AuthzRule.To prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getNotOperations(int index)

public AuthzPolicy.AuthzRule.To.RequestOperation getNotOperations(int index)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperation

getNotOperationsCount()

public int getNotOperationsCount()

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getNotOperationsList()

public List<AuthzPolicy.AuthzRule.To.RequestOperation> getNotOperationsList()

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<RequestOperation>

getNotOperationsOrBuilder(int index)

public AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder getNotOperationsOrBuilder(int index)

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder

getNotOperationsOrBuilderList()

public List<? extends AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder> getNotOperationsOrBuilderList()

Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder>

getOperations(int index)

public AuthzPolicy.AuthzRule.To.RequestOperation getOperations(int index)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperation

getOperationsCount()

public int getOperationsCount()

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getOperationsList()

public List<AuthzPolicy.AuthzRule.To.RequestOperation> getOperationsList()

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<RequestOperation>

getOperationsOrBuilder(int index)

public AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder getOperationsOrBuilder(int index)

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder

getOperationsOrBuilderList()

public List<? extends AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder> getOperationsOrBuilderList()

Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.

repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder>

getParserForType()

public Parser<AuthzPolicy.AuthzRule.To> getParserForType()
Returns
Type Description
Parser<To>
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.To.Builder newBuilderForType()
Returns
Type Description
AuthzPolicy.AuthzRule.To.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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