publicfinalclass CreateAuthorizationPolicyRequestextendsGeneratedMessageV3implementsCreateAuthorizationPolicyRequestOrBuilder
Request used by the CreateAuthorizationPolicy method.
Protobuf type google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTHORIZATION_POLICY_FIELD_NUMBER
publicstaticfinalintAUTHORIZATION_POLICY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
AUTHORIZATION_POLICY_ID_FIELD_NUMBER
publicstaticfinalintAUTHORIZATION_POLICY_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PARENT_FIELD_NUMBER
publicstaticfinalintPARENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticCreateAuthorizationPolicyRequestgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticCreateAuthorizationPolicyRequest.BuildernewBuilder()
newBuilder(CreateAuthorizationPolicyRequest prototype)
publicstaticCreateAuthorizationPolicyRequest.BuildernewBuilder(CreateAuthorizationPolicyRequestprototype)
publicstaticCreateAuthorizationPolicyRequestparseDelimitedFrom(InputStreaminput)
publicstaticCreateAuthorizationPolicyRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticCreateAuthorizationPolicyRequestparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateAuthorizationPolicyRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticCreateAuthorizationPolicyRequestparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateAuthorizationPolicyRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateAuthorizationPolicyRequestparseFrom(CodedInputStreaminput)
publicstaticCreateAuthorizationPolicyRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateAuthorizationPolicyRequestparseFrom(InputStreaminput)
publicstaticCreateAuthorizationPolicyRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticCreateAuthorizationPolicyRequestparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateAuthorizationPolicyRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<CreateAuthorizationPolicyRequest>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAuthorizationPolicy()
publicAuthorizationPolicygetAuthorizationPolicy()
Required. AuthorizationPolicy resource to be created.
.google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 3 [(.google.api.field_behavior) = REQUIRED];
getAuthorizationPolicyId()
publicStringgetAuthorizationPolicyId()
Required. Short name of the AuthorizationPolicy resource to be created.
This value should be 1-63 characters long, containing only
letters, numbers, hyphens, and underscores, and should not start
with a number. E.g. "authz_policy".
string authorization_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The authorizationPolicyId.
|
getAuthorizationPolicyIdBytes()
publicByteStringgetAuthorizationPolicyIdBytes()
Required. Short name of the AuthorizationPolicy resource to be created.
This value should be 1-63 characters long, containing only
letters, numbers, hyphens, and underscores, and should not start
with a number. E.g. "authz_policy".
string authorization_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for authorizationPolicyId.
|
getAuthorizationPolicyOrBuilder()
publicAuthorizationPolicyOrBuildergetAuthorizationPolicyOrBuilder()
Required. AuthorizationPolicy resource to be created.
.google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 3 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
publicCreateAuthorizationPolicyRequestgetDefaultInstanceForType()
getParent()
Required. The parent resource of the AuthorizationPolicy. Must be in the
format projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The parent.
|
getParentBytes()
publicByteStringgetParentBytes()
Required. The parent resource of the AuthorizationPolicy. Must be in the
format projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for parent.
|
getParserForType()
publicParser<CreateAuthorizationPolicyRequest>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasAuthorizationPolicy()
publicbooleanhasAuthorizationPolicy()
Required. AuthorizationPolicy resource to be created.
.google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the authorizationPolicy field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicCreateAuthorizationPolicyRequest.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedCreateAuthorizationPolicyRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicCreateAuthorizationPolicyRequest.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides