public static final class AuthzPolicy.CustomProvider.AuthzExtension extends GeneratedMessage implements AuthzPolicy.CustomProvider.AuthzExtensionOrBuilderOptional. Delegate authorization decision to user authored extension. Only one of cloudIap or authzExtension can be specified.
Protobuf type
google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AuthzPolicy.CustomProvider.AuthzExtensionStatic Fields
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AuthzPolicy.CustomProvider.AuthzExtension getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AuthzPolicy.CustomProvider.AuthzExtension.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension.Builder |
|
newBuilder(AuthzPolicy.CustomProvider.AuthzExtension prototype)
public static AuthzPolicy.CustomProvider.AuthzExtension.Builder newBuilder(AuthzPolicy.CustomProvider.AuthzExtension prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AuthzPolicy.CustomProvider.AuthzExtension |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension.Builder |
|
parseDelimitedFrom(InputStream input)
public static AuthzPolicy.CustomProvider.AuthzExtension parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.CustomProvider.AuthzExtension parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AuthzPolicy.CustomProvider.AuthzExtension parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.CustomProvider.AuthzExtension parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AuthzPolicy.CustomProvider.AuthzExtension parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.CustomProvider.AuthzExtension parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AuthzPolicy.CustomProvider.AuthzExtension parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.CustomProvider.AuthzExtension parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AuthzPolicy.CustomProvider.AuthzExtension parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.CustomProvider.AuthzExtension parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AuthzPolicy.CustomProvider.AuthzExtension parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.CustomProvider.AuthzExtension parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AuthzPolicy.CustomProvider.AuthzExtension> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AuthzExtension> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public AuthzPolicy.CustomProvider.AuthzExtension getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension |
|
getParserForType()
public Parser<AuthzPolicy.CustomProvider.AuthzExtension> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AuthzExtension> |
|
getResources(int index)
public String getResources(int index)Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.
repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The resources at the given index. |
getResourcesBytes(int index)
public ByteString getResourcesBytes(int index)Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.
repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the resources at the given index. |
getResourcesCount()
public int getResourcesCount()Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.
repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of resources. |
getResourcesList()
public ProtocolStringList getResourcesList()Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.
repeated string resources = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the resources. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AuthzPolicy.CustomProvider.AuthzExtension.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AuthzPolicy.CustomProvider.AuthzExtension.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension.Builder |
|
toBuilder()
public AuthzPolicy.CustomProvider.AuthzExtension.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.CustomProvider.AuthzExtension.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|