This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: * *
{@code
* try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
diff --git a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java
index 20d2ed47..9dd133eb 100644
--- a/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java
+++ b/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/package-info.java
@@ -19,6 +19,9 @@
*
* ======================= NetworkSecurityClient =======================
*
+ *
Service Description: Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more information.
+ *
*
Sample for NetworkSecurityClient:
*
*
{@code
diff --git a/grpc-google-cloud-network-security-v1beta1/pom.xml b/grpc-google-cloud-network-security-v1beta1/pom.xml
index f8178837..d8a730ae 100644
--- a/grpc-google-cloud-network-security-v1beta1/pom.xml
+++ b/grpc-google-cloud-network-security-v1beta1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-network-security-v1beta1
- 0.3.1
+ 0.4.0
grpc-google-cloud-network-security-v1beta1
GRPC library for google-cloud-network-security
com.google.cloud
google-cloud-network-security-parent
- 0.3.1
+ 0.4.0
diff --git a/grpc-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityGrpc.java b/grpc-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityGrpc.java
index 5238d2cb..ef56ee68 100644
--- a/grpc-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityGrpc.java
+++ b/grpc-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityGrpc.java
@@ -17,7 +17,15 @@
import static io.grpc.MethodDescriptor.generateFullMethodName;
-/** */
+/**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/networksecurity/v1beta1/network_security.proto")
@@ -817,7 +825,15 @@ public NetworkSecurityFutureStub newStub(
return NetworkSecurityFutureStub.newStub(factory, channel);
}
- /** */
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
public abstract static class NetworkSecurityImplBase implements io.grpc.BindableService {
/**
@@ -1145,7 +1161,15 @@ public final io.grpc.ServerServiceDefinition bindService() {
}
}
- /** */
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
public static final class NetworkSecurityStub
extends io.grpc.stub.AbstractAsyncStub {
private NetworkSecurityStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
@@ -1407,7 +1431,15 @@ public void deleteClientTlsPolicy(
}
}
- /** */
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
public static final class NetworkSecurityBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private NetworkSecurityBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
@@ -1619,7 +1651,15 @@ public com.google.longrunning.Operation deleteClientTlsPolicy(
}
}
- /** */
+ /**
+ *
+ *
+ *
+ * Network Security API provides resources to configure authentication and
+ * authorization policies. Refer to per API resource documentation for more
+ * information.
+ *
+ */
public static final class NetworkSecurityFutureStub
extends io.grpc.stub.AbstractFutureStub {
private NetworkSecurityFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
diff --git a/pom.xml b/pom.xml
index 35226b18..b385ce0b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-network-security-parent
pom
- 0.3.1
+ 0.4.0
Google Network Security API Parent
https://github.com/googleapis/java-network-security
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 1.2.4
+ 1.2.6
@@ -69,23 +69,23 @@
com.google.cloud
google-cloud-network-security
- 0.3.1
+ 0.4.0
com.google.api.grpc
grpc-google-cloud-network-security-v1beta1
- 0.3.1
+ 0.4.0
com.google.api.grpc
proto-google-cloud-network-security-v1beta1
- 0.3.1
+ 0.4.0
com.google.cloud
google-cloud-shared-dependencies
- 2.6.0
+ 2.7.0
pom
import
diff --git a/proto-google-cloud-network-security-v1beta1/clirr-ignored-differences.xml b/proto-google-cloud-network-security-v1beta1/clirr-ignored-differences.xml
index 115bd664..e78aafd5 100644
--- a/proto-google-cloud-network-security-v1beta1/clirr-ignored-differences.xml
+++ b/proto-google-cloud-network-security-v1beta1/clirr-ignored-differences.xml
@@ -16,4 +16,24 @@
com/google/cloud/networksecurity/v1beta1/*OrBuilder
boolean has*(*)
+
+ 8001
+ com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyOuterClass
+
+
+ 8001
+ com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyOuterClass
+
+
+ 8001
+ com/google/cloud/networksecurity/v1beta1/Common
+
+
+ 8001
+ com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyOuterClass
+
+
+ 8001
+ com/google/cloud/networksecurity/v1beta1/Tls
+
diff --git a/proto-google-cloud-network-security-v1beta1/pom.xml b/proto-google-cloud-network-security-v1beta1/pom.xml
index 674042e8..55c88d74 100644
--- a/proto-google-cloud-network-security-v1beta1/pom.xml
+++ b/proto-google-cloud-network-security-v1beta1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-network-security-v1beta1
- 0.3.1
+ 0.4.0
proto-google-cloud-network-security-v1beta1
Proto library for google-cloud-network-security
com.google.cloud
google-cloud-network-security-parent
- 0.3.1
+ 0.4.0
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicy.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicy.java
index fc6d36e4..d00621a4 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicy.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicy.java
@@ -178,7 +178,7 @@ private AuthorizationPolicy(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_descriptor;
}
@@ -196,7 +196,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.class,
@@ -238,6 +238,8 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum {
*
*
* Deny access.
+ * Deny rules should be avoided unless they are used to provide a default
+ * "deny all" fallback.
*
*
* DENY = 2;
@@ -271,6 +273,8 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum {
*
*
* Deny access.
+ * Deny rules should be avoided unless they are used to provide a default
+ * "deny all" fallback.
*
*
* DENY = 2;
@@ -648,14 +652,14 @@ private Rule(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.class,
@@ -674,7 +678,9 @@ public interface SourceOrBuilder
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -689,7 +695,9 @@ public interface SourceOrBuilder
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -704,7 +712,9 @@ public interface SourceOrBuilder
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -720,7 +730,9 @@ public interface SourceOrBuilder
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -736,7 +748,9 @@ public interface SourceOrBuilder
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -750,7 +764,9 @@ public interface SourceOrBuilder
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -764,7 +780,9 @@ public interface SourceOrBuilder
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -779,7 +797,9 @@ public interface SourceOrBuilder
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -890,14 +910,14 @@ private Source(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Source_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Source_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source.class,
@@ -914,7 +934,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -931,7 +953,9 @@ public com.google.protobuf.ProtocolStringList getPrincipalsList() {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -948,7 +972,9 @@ public int getPrincipalsCount() {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -966,7 +992,9 @@ public java.lang.String getPrincipals(int index) {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -986,7 +1014,9 @@ public com.google.protobuf.ByteString getPrincipalsBytes(int index) {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1002,7 +1032,9 @@ public com.google.protobuf.ProtocolStringList getIpBlocksList() {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1018,7 +1050,9 @@ public int getIpBlocksCount() {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1035,7 +1069,9 @@ public java.lang.String getIpBlocks(int index) {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1255,14 +1291,14 @@ public static final class Builder
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source)
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.SourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Source_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Source_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source.class,
@@ -1297,7 +1333,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Source_descriptor;
}
@@ -1460,7 +1496,9 @@ private void ensurePrincipalsIsMutable() {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -1477,7 +1515,9 @@ public com.google.protobuf.ProtocolStringList getPrincipalsList() {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -1494,7 +1534,9 @@ public int getPrincipalsCount() {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -1512,7 +1554,9 @@ public java.lang.String getPrincipals(int index) {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -1530,7 +1574,9 @@ public com.google.protobuf.ByteString getPrincipalsBytes(int index) {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -1555,7 +1601,9 @@ public Builder setPrincipals(int index, java.lang.String value) {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -1579,7 +1627,9 @@ public Builder addPrincipals(java.lang.String value) {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -1600,7 +1650,9 @@ public Builder addAllPrincipals(java.lang.Iterablerepeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -1620,7 +1672,9 @@ public Builder clearPrincipals() {
* Optional. List of peer identities to match for authorization. At least one
* principal should match. Each peer can be an exact match, or a prefix
* match (example, "namespace/*") or a suffix match (example, //
- * */service-account") or a presence match "*".
+ * */service-account") or a presence match "*". Authorization based on the
+ * principal name without certificate validation (configured by
+ * ServerTlsPolicy resource) is considered insecure.
*
*
* repeated string principals = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -1654,7 +1708,9 @@ private void ensureIpBlocksIsMutable() {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1670,7 +1726,9 @@ public com.google.protobuf.ProtocolStringList getIpBlocksList() {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1686,7 +1744,9 @@ public int getIpBlocksCount() {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1703,7 +1763,9 @@ public java.lang.String getIpBlocks(int index) {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1720,7 +1782,9 @@ public com.google.protobuf.ByteString getIpBlocksBytes(int index) {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1744,7 +1808,9 @@ public Builder setIpBlocks(int index, java.lang.String value) {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1767,7 +1833,9 @@ public Builder addIpBlocks(java.lang.String value) {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1787,7 +1855,9 @@ public Builder addAllIpBlocks(java.lang.Iterable
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1806,7 +1876,9 @@ public Builder clearIpBlocks() {
*
* Optional. List of CIDR ranges to match based on source IP address. At least one
* IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- * "1.2.3.0/24") are supported.
+ * "1.2.3.0/24") are supported. Authorization based on source IP alone
+ * should be avoided. The IP addresses of any load balancers or proxies
+ * should be considered untrusted.
*
*
* repeated string ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -1890,7 +1962,7 @@ public interface DestinationOrBuilder
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -1905,7 +1977,7 @@ public interface DestinationOrBuilder
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -1920,7 +1992,7 @@ public interface DestinationOrBuilder
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -1936,7 +2008,7 @@ public interface DestinationOrBuilder
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -2046,9 +2118,11 @@ public interface DestinationOrBuilder
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -2062,9 +2136,11 @@ public interface DestinationOrBuilder
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -2079,9 +2155,11 @@ public interface DestinationOrBuilder
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -2241,14 +2319,14 @@ private Destination(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Destination_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Destination_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination.class,
@@ -2439,14 +2517,14 @@ private HttpHeaderMatch(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Destination_HttpHeaderMatch_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Destination_HttpHeaderMatch_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination
@@ -2874,14 +2952,14 @@ public static final class Builder
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination
.HttpHeaderMatchOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Destination_HttpHeaderMatch_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Destination_HttpHeaderMatch_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination
@@ -2917,7 +2995,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Destination_HttpHeaderMatch_descriptor;
}
@@ -3440,7 +3518,7 @@ public com.google.protobuf.Parser getParserForType() {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -3457,7 +3535,7 @@ public com.google.protobuf.ProtocolStringList getHostsList() {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -3474,7 +3552,7 @@ public int getHostsCount() {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -3492,7 +3570,7 @@ public java.lang.String getHosts(int index) {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -3629,9 +3707,11 @@ public com.google.protobuf.ByteString getMethodsBytes(int index) {
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -3648,9 +3728,11 @@ public boolean hasHttpHeaderMatch() {
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -3672,9 +3754,11 @@ public boolean hasHttpHeaderMatch() {
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -3938,14 +4022,14 @@ public static final class Builder
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination)
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.DestinationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Destination_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Destination_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination
@@ -3989,7 +4073,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_Destination_descriptor;
}
@@ -4176,7 +4260,7 @@ private void ensureHostsIsMutable() {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -4193,7 +4277,7 @@ public com.google.protobuf.ProtocolStringList getHostsList() {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -4210,7 +4294,7 @@ public int getHostsCount() {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -4228,7 +4312,7 @@ public java.lang.String getHosts(int index) {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -4246,7 +4330,7 @@ public com.google.protobuf.ByteString getHostsBytes(int index) {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -4271,7 +4355,7 @@ public Builder setHosts(int index, java.lang.String value) {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -4295,7 +4379,7 @@ public Builder addHosts(java.lang.String value) {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -4316,7 +4400,7 @@ public Builder addAllHosts(java.lang.Iterable values) {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -4336,7 +4420,7 @@ public Builder clearHosts() {
*
*
*
- * Required. List of host names to match. Matched against HOST header in
+ * Required. List of host names to match. Matched against the ":authority" header in
* http requests. At least one host should match. Each host can be an
* exact match, or a prefix match (example "mydomain.*") or a suffix
* match (example // *.myorg.com") or a presence(any) match "*".
@@ -4676,9 +4760,11 @@ public Builder addMethodsBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -4694,9 +4780,11 @@ public boolean hasHttpHeaderMatch() {
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -4721,9 +4809,11 @@ public boolean hasHttpHeaderMatch() {
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -4750,9 +4840,11 @@ public Builder setHttpHeaderMatch(
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -4776,9 +4868,11 @@ public Builder setHttpHeaderMatch(
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -4810,9 +4904,11 @@ public Builder mergeHttpHeaderMatch(
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -4834,9 +4930,11 @@ public Builder clearHttpHeaderMatch() {
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -4854,9 +4952,11 @@ public Builder clearHttpHeaderMatch() {
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -4879,9 +4979,11 @@ public Builder clearHttpHeaderMatch() {
*
*
*
- * Optional. Match against key:value pair in http header. Provides a
- * flexible match based on HTTP headers, for potentially
- * advanced use cases. At least one header should match.
+ * Optional. Match against key:value pair in http header. Provides a flexible match
+ * based on HTTP headers, for potentially advanced use cases. At least one
+ * header should match. Avoid using header matches to make authorization
+ * decisions unless there is a strong guarantee that requests arrive
+ * through a trusted client or proxy.
*
*
*
@@ -5366,14 +5468,14 @@ public static final class Builder
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule)
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.RuleOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.class,
@@ -5418,7 +5520,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_Rule_descriptor;
}
@@ -6832,7 +6934,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
private static final class LabelsDefaultEntryHolder {
static final com.google.protobuf.MapEntry defaultEntry =
com.google.protobuf.MapEntry.newDefaultInstance(
- com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_LabelsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
@@ -7321,7 +7423,7 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.AuthorizationPolicy)
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_descriptor;
}
@@ -7348,7 +7450,7 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.class,
@@ -7404,7 +7506,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_AuthorizationPolicy_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyOuterClass.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyProto.java
similarity index 97%
rename from proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyOuterClass.java
rename to proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyProto.java
index 572480fd..f365aff7 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyOuterClass.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyProto.java
@@ -18,8 +18,8 @@
package com.google.cloud.networksecurity.v1beta1;
-public final class AuthorizationPolicyOuterClass {
- private AuthorizationPolicyOuterClass() {}
+public final class AuthorizationPolicyProto {
+ private AuthorizationPolicyProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
@@ -144,14 +144,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ecurity.v1beta1.AuthorizationPolicyB\003\340A\002"
+ "\"l\n DeleteAuthorizationPolicyRequest\022H\n\004"
+ "name\030\001 \001(\tB:\340A\002\372A4\n2networksecurity.goog"
- + "leapis.com/AuthorizationPolicyB\371\001\n(com.g"
- + "oogle.cloud.networksecurity.v1beta1P\001ZSg"
- + "oogle.golang.org/genproto/googleapis/clo"
- + "ud/networksecurity/v1beta1;networksecuri"
- + "ty\252\002$Google.Cloud.NetworkSecurity.V1Beta"
- + "1\312\002$Google\\Cloud\\NetworkSecurity\\V1beta1"
- + "\352\002\'Google::Cloud::NetworkSecurity::V1bet"
- + "a1b\006proto3"
+ + "leapis.com/AuthorizationPolicyB\223\002\n(com.g"
+ + "oogle.cloud.networksecurity.v1beta1B\030Aut"
+ + "horizationPolicyProtoP\001ZSgoogle.golang.o"
+ + "rg/genproto/googleapis/cloud/networksecu"
+ + "rity/v1beta1;networksecurity\252\002$Google.Cl"
+ + "oud.NetworkSecurity.V1Beta1\312\002$Google\\Clo"
+ + "ud\\NetworkSecurity\\V1beta1\352\002\'Google::Clo"
+ + "ud::NetworkSecurity::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CertificateProvider.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CertificateProvider.java
index b215655c..d21333a0 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CertificateProvider.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CertificateProvider.java
@@ -128,14 +128,14 @@ private CertificateProvider(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_CertificateProvider_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_CertificateProvider_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.CertificateProvider.class,
@@ -517,14 +517,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.CertificateProvider)
com.google.cloud.networksecurity.v1beta1.CertificateProviderOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_CertificateProvider_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_CertificateProvider_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.CertificateProvider.class,
@@ -555,7 +555,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_CertificateProvider_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CertificateProviderInstance.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CertificateProviderInstance.java
index 9543e5fb..2b49e214 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CertificateProviderInstance.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CertificateProviderInstance.java
@@ -100,14 +100,14 @@ private CertificateProviderInstance(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_CertificateProviderInstance_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_CertificateProviderInstance_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.CertificateProviderInstance.class,
@@ -345,14 +345,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.CertificateProviderInstance)
com.google.cloud.networksecurity.v1beta1.CertificateProviderInstanceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_CertificateProviderInstance_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_CertificateProviderInstance_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.CertificateProviderInstance.class,
@@ -384,7 +384,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_CertificateProviderInstance_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicy.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicy.java
index 644c2990..638c9c5f 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicy.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicy.java
@@ -195,7 +195,7 @@ private ClientTlsPolicy(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ClientTlsPolicy_descriptor;
}
@@ -213,7 +213,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ClientTlsPolicy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy.class,
@@ -423,7 +423,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
private static final class LabelsDefaultEntryHolder {
static final com.google.protobuf.MapEntry defaultEntry =
com.google.protobuf.MapEntry.newDefaultInstance(
- com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ClientTlsPolicy_LabelsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
@@ -981,7 +981,7 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.ClientTlsPolicy)
com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ClientTlsPolicy_descriptor;
}
@@ -1008,7 +1008,7 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ClientTlsPolicy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy.class,
@@ -1070,7 +1070,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ClientTlsPolicy_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyOuterClass.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyProto.java
similarity index 94%
rename from proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyOuterClass.java
rename to proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyProto.java
index 96308424..e6209856 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyOuterClass.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyProto.java
@@ -18,8 +18,8 @@
package com.google.cloud.networksecurity.v1beta1;
-public final class ClientTlsPolicyOuterClass {
- private ClientTlsPolicyOuterClass() {}
+public final class ClientTlsPolicyProto {
+ private ClientTlsPolicyProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
@@ -113,13 +113,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "security.v1beta1.ClientTlsPolicyB\003\340A\002\"d\n"
+ "\034DeleteClientTlsPolicyRequest\022D\n\004name\030\001 "
+ "\001(\tB6\340A\002\372A0\n.networksecurity.googleapis."
- + "com/ClientTlsPolicyB\371\001\n(com.google.cloud"
- + ".networksecurity.v1beta1P\001ZSgoogle.golan"
- + "g.org/genproto/googleapis/cloud/networks"
- + "ecurity/v1beta1;networksecurity\252\002$Google"
- + ".Cloud.NetworkSecurity.V1Beta1\312\002$Google\\"
- + "Cloud\\NetworkSecurity\\V1beta1\352\002\'Google::"
- + "Cloud::NetworkSecurity::V1beta1b\006proto3"
+ + "com/ClientTlsPolicyB\217\002\n(com.google.cloud"
+ + ".networksecurity.v1beta1B\024ClientTlsPolic"
+ + "yProtoP\001ZSgoogle.golang.org/genproto/goo"
+ + "gleapis/cloud/networksecurity/v1beta1;ne"
+ + "tworksecurity\252\002$Google.Cloud.NetworkSecu"
+ + "rity.V1Beta1\312\002$Google\\Cloud\\NetworkSecur"
+ + "ity\\V1beta1\352\002\'Google::Cloud::NetworkSecu"
+ + "rity::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -127,7 +128,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
- com.google.cloud.networksecurity.v1beta1.Tls.getDescriptor(),
+ com.google.cloud.networksecurity.v1beta1.TlsProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.api.AnnotationsProto.getDescriptor(),
@@ -214,7 +215,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
- com.google.cloud.networksecurity.v1beta1.Tls.getDescriptor();
+ com.google.cloud.networksecurity.v1beta1.TlsProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/Common.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CommonProto.java
similarity index 89%
rename from proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/Common.java
rename to proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CommonProto.java
index 958ec0f8..0cb4fe04 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/Common.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CommonProto.java
@@ -18,8 +18,8 @@
package com.google.cloud.networksecurity.v1beta1;
-public final class Common {
- private Common() {}
+public final class CommonProto {
+ private CommonProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
@@ -51,13 +51,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "et\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\033\n\016stat"
+ "us_message\030\005 \001(\tB\003\340A\003\022#\n\026requested_cance"
+ "llation\030\006 \001(\010B\003\340A\003\022\030\n\013api_version\030\007 \001(\tB"
- + "\003\340A\003B\371\001\n(com.google.cloud.networksecurit"
- + "y.v1beta1P\001ZSgoogle.golang.org/genproto/"
- + "googleapis/cloud/networksecurity/v1beta1"
- + ";networksecurity\252\002$Google.Cloud.NetworkS"
- + "ecurity.V1Beta1\312\002$Google\\Cloud\\NetworkSe"
- + "curity\\V1beta1\352\002\'Google::Cloud::NetworkS"
- + "ecurity::V1beta1b\006proto3"
+ + "\003\340A\003B\206\002\n(com.google.cloud.networksecurit"
+ + "y.v1beta1B\013CommonProtoP\001ZSgoogle.golang."
+ + "org/genproto/googleapis/cloud/networksec"
+ + "urity/v1beta1;networksecurity\252\002$Google.C"
+ + "loud.NetworkSecurity.V1Beta1\312\002$Google\\Cl"
+ + "oud\\NetworkSecurity\\V1beta1\352\002\'Google::Cl"
+ + "oud::NetworkSecurity::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateAuthorizationPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateAuthorizationPolicyRequest.java
index ef7e20bf..8edb6304 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateAuthorizationPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateAuthorizationPolicyRequest.java
@@ -124,14 +124,14 @@ private CreateAuthorizationPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateAuthorizationPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateAuthorizationPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest.class,
@@ -503,14 +503,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest)
com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateAuthorizationPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateAuthorizationPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest.class,
@@ -551,7 +551,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateAuthorizationPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateClientTlsPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateClientTlsPolicyRequest.java
index 69c39a80..717991a2 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateClientTlsPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateClientTlsPolicyRequest.java
@@ -122,14 +122,14 @@ private CreateClientTlsPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateClientTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateClientTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest.class,
@@ -497,14 +497,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest)
com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateClientTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateClientTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest.class,
@@ -544,7 +544,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateClientTlsPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateServerTlsPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateServerTlsPolicyRequest.java
index 7a1e9da2..03d59565 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateServerTlsPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CreateServerTlsPolicyRequest.java
@@ -122,14 +122,14 @@ private CreateServerTlsPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateServerTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateServerTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest.class,
@@ -497,14 +497,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest)
com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateServerTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateServerTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest.class,
@@ -544,7 +544,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_CreateServerTlsPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteAuthorizationPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteAuthorizationPolicyRequest.java
index ce5fde69..1d1cdb21 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteAuthorizationPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteAuthorizationPolicyRequest.java
@@ -98,14 +98,14 @@ private DeleteAuthorizationPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteAuthorizationPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteAuthorizationPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest.class,
@@ -344,14 +344,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest)
com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteAuthorizationPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteAuthorizationPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest.class,
@@ -384,7 +384,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteAuthorizationPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteClientTlsPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteClientTlsPolicyRequest.java
index f8396d2c..522d2014 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteClientTlsPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteClientTlsPolicyRequest.java
@@ -97,14 +97,14 @@ private DeleteClientTlsPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteClientTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteClientTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest.class,
@@ -341,14 +341,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest)
com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteClientTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteClientTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest.class,
@@ -380,7 +380,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteClientTlsPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteServerTlsPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteServerTlsPolicyRequest.java
index a064f414..a6b94dff 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteServerTlsPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/DeleteServerTlsPolicyRequest.java
@@ -97,14 +97,14 @@ private DeleteServerTlsPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteServerTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteServerTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest.class,
@@ -341,14 +341,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest)
com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteServerTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteServerTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest.class,
@@ -380,7 +380,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_DeleteServerTlsPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetAuthorizationPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetAuthorizationPolicyRequest.java
index 52549d28..bfa64c0a 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetAuthorizationPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetAuthorizationPolicyRequest.java
@@ -97,14 +97,14 @@ private GetAuthorizationPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetAuthorizationPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetAuthorizationPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest.class,
@@ -341,14 +341,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest)
com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetAuthorizationPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetAuthorizationPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest.class,
@@ -380,7 +380,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetAuthorizationPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetClientTlsPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetClientTlsPolicyRequest.java
index 65931b92..52e906c2 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetClientTlsPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetClientTlsPolicyRequest.java
@@ -97,14 +97,14 @@ private GetClientTlsPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetClientTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetClientTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest.class,
@@ -341,14 +341,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest)
com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetClientTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetClientTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest.class,
@@ -380,7 +380,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetClientTlsPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetServerTlsPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetServerTlsPolicyRequest.java
index 1b87d6d7..36cfec17 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetServerTlsPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GetServerTlsPolicyRequest.java
@@ -97,14 +97,14 @@ private GetServerTlsPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetServerTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetServerTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest.class,
@@ -341,14 +341,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest)
com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetServerTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetServerTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest.class,
@@ -380,7 +380,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_GetServerTlsPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GrpcEndpoint.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GrpcEndpoint.java
index bba20ec4..7d3ecfdf 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GrpcEndpoint.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/GrpcEndpoint.java
@@ -97,14 +97,14 @@ private GrpcEndpoint(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_GrpcEndpoint_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_GrpcEndpoint_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.GrpcEndpoint.class,
@@ -336,14 +336,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.GrpcEndpoint)
com.google.cloud.networksecurity.v1beta1.GrpcEndpointOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_GrpcEndpoint_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_GrpcEndpoint_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.GrpcEndpoint.class,
@@ -374,7 +374,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_GrpcEndpoint_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListAuthorizationPoliciesRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListAuthorizationPoliciesRequest.java
index 72bdf86e..639d09aa 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListAuthorizationPoliciesRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListAuthorizationPoliciesRequest.java
@@ -111,14 +111,14 @@ private ListAuthorizationPoliciesRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListAuthorizationPoliciesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListAuthorizationPoliciesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest.class,
@@ -450,14 +450,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest)
com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListAuthorizationPoliciesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListAuthorizationPoliciesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest.class,
@@ -494,7 +494,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListAuthorizationPoliciesRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListAuthorizationPoliciesResponse.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListAuthorizationPoliciesResponse.java
index d36c4ef7..974c06ee 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListAuthorizationPoliciesResponse.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListAuthorizationPoliciesResponse.java
@@ -117,14 +117,14 @@ private ListAuthorizationPoliciesResponse(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListAuthorizationPoliciesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListAuthorizationPoliciesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse.class,
@@ -463,14 +463,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse)
com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListAuthorizationPoliciesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListAuthorizationPoliciesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse.class,
@@ -511,7 +511,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListAuthorizationPoliciesResponse_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListClientTlsPoliciesRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListClientTlsPoliciesRequest.java
index 17fdf200..396f8a07 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListClientTlsPoliciesRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListClientTlsPoliciesRequest.java
@@ -110,14 +110,14 @@ private ListClientTlsPoliciesRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListClientTlsPoliciesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListClientTlsPoliciesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest.class,
@@ -445,14 +445,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest)
com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListClientTlsPoliciesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListClientTlsPoliciesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest.class,
@@ -488,7 +488,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListClientTlsPoliciesRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListClientTlsPoliciesResponse.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListClientTlsPoliciesResponse.java
index f0ae5dfb..391b0c90 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListClientTlsPoliciesResponse.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListClientTlsPoliciesResponse.java
@@ -116,14 +116,14 @@ private ListClientTlsPoliciesResponse(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListClientTlsPoliciesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListClientTlsPoliciesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse.class,
@@ -447,14 +447,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse)
com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListClientTlsPoliciesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListClientTlsPoliciesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse.class,
@@ -494,7 +494,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListClientTlsPoliciesResponse_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListServerTlsPoliciesRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListServerTlsPoliciesRequest.java
index 98c4b2d8..4cdb7df3 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListServerTlsPoliciesRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListServerTlsPoliciesRequest.java
@@ -110,14 +110,14 @@ private ListServerTlsPoliciesRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListServerTlsPoliciesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListServerTlsPoliciesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest.class,
@@ -445,14 +445,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest)
com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListServerTlsPoliciesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListServerTlsPoliciesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest.class,
@@ -488,7 +488,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListServerTlsPoliciesRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListServerTlsPoliciesResponse.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListServerTlsPoliciesResponse.java
index ea68482c..14da1c20 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListServerTlsPoliciesResponse.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ListServerTlsPoliciesResponse.java
@@ -116,14 +116,14 @@ private ListServerTlsPoliciesResponse(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListServerTlsPoliciesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListServerTlsPoliciesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse.class,
@@ -447,14 +447,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse)
com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListServerTlsPoliciesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListServerTlsPoliciesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse.class,
@@ -494,7 +494,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ListServerTlsPoliciesResponse_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityOuterClass.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityOuterClass.java
index e3f065a4..1f5a7b86 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityOuterClass.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityOuterClass.java
@@ -44,7 +44,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ksecurity/v1beta1/client_tls_policy.prot"
+ "o\032/v1beta1/{name=proj"
+ "ects/*/locations/*/authorizationPolicies"
- + "/*}\332A\004name\022\302\002\n\031CreateAuthorizationPolicy"
+ + "/*}\332A\004name\022\347\002\n\031CreateAuthorizationPolicy"
+ "\022F.google.cloud.networksecurity.v1beta1."
+ "CreateAuthorizationPolicyRequest\032\035.googl"
- + "e.longrunning.Operation\"\275\001\202\323\344\223\002V\">/v1bet"
+ + "e.longrunning.Operation\"\342\001\202\323\344\223\002V\">/v1bet"
+ "a1/{parent=projects/*/locations/*}/autho"
+ "rizationPolicies:\024authorization_policy\332A"
+ "3parent,authorization_policy,authorizati"
- + "on_policy_id\312A(\n\023AuthorizationPolicy\022\021Op"
- + "erationMetadata\022\304\002\n\031UpdateAuthorizationP"
- + "olicy\022F.google.cloud.networksecurity.v1b"
- + "eta1.UpdateAuthorizationPolicyRequest\032\035."
- + "google.longrunning.Operation\"\277\001\202\323\344\223\002k2S/"
- + "v1beta1/{authorization_policy.name=proje"
- + "cts/*/locations/*/authorizationPolicies/"
- + "*}:\024authorization_policy\332A authorization"
- + "_policy,update_mask\312A(\n\023AuthorizationPol"
- + "icy\022\021OperationMetadata\022\376\001\n\031DeleteAuthori"
- + "zationPolicy\022F.google.cloud.networksecur"
- + "ity.v1beta1.DeleteAuthorizationPolicyReq"
- + "uest\032\035.google.longrunning.Operation\"z\202\323\344"
- + "\223\002@*>/v1beta1/{name=projects/*/locations"
- + "/*/authorizationPolicies/*}\332A\004name\312A*\n\025g"
- + "oogle.protobuf.Empty\022\021OperationMetadata\022"
- + "\355\001\n\025ListServerTlsPolicies\022B.google.cloud"
- + ".networksecurity.v1beta1.ListServerTlsPo"
- + "liciesRequest\032C.google.cloud.networksecu"
- + "rity.v1beta1.ListServerTlsPoliciesRespon"
- + "se\"K\202\323\344\223\002<\022:/v1beta1/{parent=projects/*/"
- + "locations/*}/serverTlsPolicies\332A\006parent\022"
- + "\327\001\n\022GetServerTlsPolicy\022?.google.cloud.ne"
- + "tworksecurity.v1beta1.GetServerTlsPolicy"
- + "Request\0325.google.cloud.networksecurity.v"
- + "1beta1.ServerTlsPolicy\"I\202\323\344\223\002<\022:/v1beta1"
- + "/{name=projects/*/locations/*/serverTlsP"
- + "olicies/*}\332A\004name\022\251\002\n\025CreateServerTlsPol"
- + "icy\022B.google.cloud.networksecurity.v1bet"
- + "a1.CreateServerTlsPolicyRequest\032\035.google"
- + ".longrunning.Operation\"\254\001\202\323\344\223\002O\":/v1beta"
- + "1/{parent=projects/*/locations/*}/server"
- + "TlsPolicies:\021server_tls_policy\332A-parent,"
- + "server_tls_policy,server_tls_policy_id\312A"
- + "$\n\017ServerTlsPolicy\022\021OperationMetadata\022\253\002"
- + "\n\025UpdateServerTlsPolicy\022B.google.cloud.n"
- + "etworksecurity.v1beta1.UpdateServerTlsPo"
- + "licyRequest\032\035.google.longrunning.Operati"
- + "on\"\256\001\202\323\344\223\002a2L/v1beta1/{server_tls_policy"
- + ".name=projects/*/locations/*/serverTlsPo"
- + "licies/*}:\021server_tls_policy\332A\035server_tl"
- + "s_policy,update_mask\312A$\n\017ServerTlsPolicy"
- + "\022\021OperationMetadata\022\362\001\n\025DeleteServerTlsP"
- + "olicy\022B.google.cloud.networksecurity.v1b"
- + "eta1.DeleteServerTlsPolicyRequest\032\035.goog"
- + "le.longrunning.Operation\"v\202\323\344\223\002<*:/v1bet"
- + "a1/{name=projects/*/locations/*/serverTl"
- + "sPolicies/*}\332A\004name\312A*\n\025google.protobuf."
- + "Empty\022\021OperationMetadata\022\355\001\n\025ListClientT"
- + "lsPolicies\022B.google.cloud.networksecurit"
- + "y.v1beta1.ListClientTlsPoliciesRequest\032C"
- + ".google.cloud.networksecurity.v1beta1.Li"
- + "stClientTlsPoliciesResponse\"K\202\323\344\223\002<\022:/v1"
- + "beta1/{parent=projects/*/locations/*}/cl"
- + "ientTlsPolicies\332A\006parent\022\327\001\n\022GetClientTl"
- + "sPolicy\022?.google.cloud.networksecurity.v"
- + "1beta1.GetClientTlsPolicyRequest\0325.googl"
- + "e.cloud.networksecurity.v1beta1.ClientTl"
- + "sPolicy\"I\202\323\344\223\002<\022:/v1beta1/{name=projects"
- + "/*/locations/*/clientTlsPolicies/*}\332A\004na"
- + "me\022\251\002\n\025CreateClientTlsPolicy\022B.google.cl"
- + "oud.networksecurity.v1beta1.CreateClient"
- + "TlsPolicyRequest\032\035.google.longrunning.Op"
- + "eration\"\254\001\202\323\344\223\002O\":/v1beta1/{parent=proje"
- + "cts/*/locations/*}/clientTlsPolicies:\021cl"
- + "ient_tls_policy\332A-parent,client_tls_poli"
- + "cy,client_tls_policy_id\312A$\n\017ClientTlsPol"
- + "icy\022\021OperationMetadata\022\253\002\n\025UpdateClientT"
+ + "on_policy_id\312AM\n\023AuthorizationPolicy\0226go"
+ + "ogle.cloud.networksecurity.v1beta1.Opera"
+ + "tionMetadata\022\351\002\n\031UpdateAuthorizationPoli"
+ + "cy\022F.google.cloud.networksecurity.v1beta"
+ + "1.UpdateAuthorizationPolicyRequest\032\035.goo"
+ + "gle.longrunning.Operation\"\344\001\202\323\344\223\002k2S/v1b"
+ + "eta1/{authorization_policy.name=projects"
+ + "/*/locations/*/authorizationPolicies/*}:"
+ + "\024authorization_policy\332A authorization_po"
+ + "licy,update_mask\312AM\n\023AuthorizationPolicy"
+ + "\0226google.cloud.networksecurity.v1beta1.O"
+ + "perationMetadata\022\244\002\n\031DeleteAuthorization"
+ + "Policy\022F.google.cloud.networksecurity.v1"
+ + "beta1.DeleteAuthorizationPolicyRequest\032\035"
+ + ".google.longrunning.Operation\"\237\001\202\323\344\223\002@*>"
+ + "/v1beta1/{name=projects/*/locations/*/au"
+ + "thorizationPolicies/*}\332A\004name\312AO\n\025google"
+ + ".protobuf.Empty\0226google.cloud.networksec"
+ + "urity.v1beta1.OperationMetadata\022\355\001\n\025List"
+ + "ServerTlsPolicies\022B.google.cloud.network"
+ + "security.v1beta1.ListServerTlsPoliciesRe"
+ + "quest\032C.google.cloud.networksecurity.v1b"
+ + "eta1.ListServerTlsPoliciesResponse\"K\202\323\344\223"
+ + "\002<\022:/v1beta1/{parent=projects/*/location"
+ + "s/*}/serverTlsPolicies\332A\006parent\022\327\001\n\022GetS"
+ + "erverTlsPolicy\022?.google.cloud.networksec"
+ + "urity.v1beta1.GetServerTlsPolicyRequest\032"
+ + "5.google.cloud.networksecurity.v1beta1.S"
+ + "erverTlsPolicy\"I\202\323\344\223\002<\022:/v1beta1/{name=p"
+ + "rojects/*/locations/*/serverTlsPolicies/"
+ + "*}\332A\004name\022\316\002\n\025CreateServerTlsPolicy\022B.go"
+ + "ogle.cloud.networksecurity.v1beta1.Creat"
+ + "eServerTlsPolicyRequest\032\035.google.longrun"
+ + "ning.Operation\"\321\001\202\323\344\223\002O\":/v1beta1/{paren"
+ + "t=projects/*/locations/*}/serverTlsPolic"
+ + "ies:\021server_tls_policy\332A-parent,server_t"
+ + "ls_policy,server_tls_policy_id\312AI\n\017Serve"
+ + "rTlsPolicy\0226google.cloud.networksecurity"
+ + ".v1beta1.OperationMetadata\022\320\002\n\025UpdateSer"
+ + "verTlsPolicy\022B.google.cloud.networksecur"
+ + "ity.v1beta1.UpdateServerTlsPolicyRequest"
+ + "\032\035.google.longrunning.Operation\"\323\001\202\323\344\223\002a"
+ + "2L/v1beta1/{server_tls_policy.name=proje"
+ + "cts/*/locations/*/serverTlsPolicies/*}:\021"
+ + "server_tls_policy\332A\035server_tls_policy,up"
+ + "date_mask\312AI\n\017ServerTlsPolicy\0226google.cl"
+ + "oud.networksecurity.v1beta1.OperationMet"
+ + "adata\022\230\002\n\025DeleteServerTlsPolicy\022B.google"
+ + ".cloud.networksecurity.v1beta1.DeleteSer"
+ + "verTlsPolicyRequest\032\035.google.longrunning"
+ + ".Operation\"\233\001\202\323\344\223\002<*:/v1beta1/{name=proj"
+ + "ects/*/locations/*/serverTlsPolicies/*}\332"
+ + "A\004name\312AO\n\025google.protobuf.Empty\0226google"
+ + ".cloud.networksecurity.v1beta1.Operation"
+ + "Metadata\022\355\001\n\025ListClientTlsPolicies\022B.goo"
+ + "gle.cloud.networksecurity.v1beta1.ListCl"
+ + "ientTlsPoliciesRequest\032C.google.cloud.ne"
+ + "tworksecurity.v1beta1.ListClientTlsPolic"
+ + "iesResponse\"K\202\323\344\223\002<\022:/v1beta1/{parent=pr"
+ + "ojects/*/locations/*}/clientTlsPolicies\332"
+ + "A\006parent\022\327\001\n\022GetClientTlsPolicy\022?.google"
+ + ".cloud.networksecurity.v1beta1.GetClient"
+ + "TlsPolicyRequest\0325.google.cloud.networks"
+ + "ecurity.v1beta1.ClientTlsPolicy\"I\202\323\344\223\002<\022"
+ + ":/v1beta1/{name=projects/*/locations/*/c"
+ + "lientTlsPolicies/*}\332A\004name\022\316\002\n\025CreateCli"
+ + "entTlsPolicy\022B.google.cloud.networksecur"
+ + "ity.v1beta1.CreateClientTlsPolicyRequest"
+ + "\032\035.google.longrunning.Operation\"\321\001\202\323\344\223\002O"
+ + "\":/v1beta1/{parent=projects/*/locations/"
+ + "*}/clientTlsPolicies:\021client_tls_policy\332"
+ + "A-parent,client_tls_policy,client_tls_po"
+ + "licy_id\312AI\n\017ClientTlsPolicy\0226google.clou"
+ + "d.networksecurity.v1beta1.OperationMetad"
+ + "ata\022\320\002\n\025UpdateClientTlsPolicy\022B.google.c"
+ + "loud.networksecurity.v1beta1.UpdateClien"
+ + "tTlsPolicyRequest\032\035.google.longrunning.O"
+ + "peration\"\323\001\202\323\344\223\002a2L/v1beta1/{client_tls_"
+ + "policy.name=projects/*/locations/*/clien"
+ + "tTlsPolicies/*}:\021client_tls_policy\332A\035cli"
+ + "ent_tls_policy,update_mask\312AI\n\017ClientTls"
+ + "Policy\0226google.cloud.networksecurity.v1b"
+ + "eta1.OperationMetadata\022\230\002\n\025DeleteClientT"
+ "lsPolicy\022B.google.cloud.networksecurity."
- + "v1beta1.UpdateClientTlsPolicyRequest\032\035.g"
- + "oogle.longrunning.Operation\"\256\001\202\323\344\223\002a2L/v"
- + "1beta1/{client_tls_policy.name=projects/"
- + "*/locations/*/clientTlsPolicies/*}:\021clie"
- + "nt_tls_policy\332A\035client_tls_policy,update"
- + "_mask\312A$\n\017ClientTlsPolicy\022\021OperationMeta"
- + "data\022\362\001\n\025DeleteClientTlsPolicy\022B.google."
- + "cloud.networksecurity.v1beta1.DeleteClie"
- + "ntTlsPolicyRequest\032\035.google.longrunning."
- + "Operation\"v\202\323\344\223\002<*:/v1beta1/{name=projec"
- + "ts/*/locations/*/clientTlsPolicies/*}\332A\004"
- + "name\312A*\n\025google.protobuf.Empty\022\021Operatio"
- + "nMetadata\032R\312A\036networksecurity.googleapis"
- + ".com\322A.https://www.googleapis.com/auth/c"
- + "loud-platformB\371\001\n(com.google.cloud.netwo"
- + "rksecurity.v1beta1P\001ZSgoogle.golang.org/"
- + "genproto/googleapis/cloud/networksecurit"
- + "y/v1beta1;networksecurity\252\002$Google.Cloud"
- + ".NetworkSecurity.V1Beta1\312\002$Google\\Cloud\\"
- + "NetworkSecurity\\V1beta1\352\002\'Google::Cloud:"
- + ":NetworkSecurity::V1beta1b\006proto3"
+ + "v1beta1.DeleteClientTlsPolicyRequest\032\035.g"
+ + "oogle.longrunning.Operation\"\233\001\202\323\344\223\002<*:/v"
+ + "1beta1/{name=projects/*/locations/*/clie"
+ + "ntTlsPolicies/*}\332A\004name\312AO\n\025google.proto"
+ + "buf.Empty\0226google.cloud.networksecurity."
+ + "v1beta1.OperationMetadata\032R\312A\036networksec"
+ + "urity.googleapis.com\322A.https://www.googl"
+ + "eapis.com/auth/cloud-platformB\371\001\n(com.go"
+ + "ogle.cloud.networksecurity.v1beta1P\001ZSgo"
+ + "ogle.golang.org/genproto/googleapis/clou"
+ + "d/networksecurity/v1beta1;networksecurit"
+ + "y\252\002$Google.Cloud.NetworkSecurity.V1Beta1"
+ + "\312\002$Google\\Cloud\\NetworkSecurity\\V1beta1\352"
+ + "\002\'Google::Cloud::NetworkSecurity::V1beta"
+ + "1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -161,10 +170,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
- com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
- .getDescriptor(),
- com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass.getDescriptor(),
- com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass.getDescriptor(),
+ com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto.getDescriptor(),
+ com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto.getDescriptor(),
+ com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
});
com.google.protobuf.ExtensionRegistry registry =
@@ -178,9 +186,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor();
- com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass.getDescriptor();
- com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass.getDescriptor();
- com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass.getDescriptor();
+ com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto.getDescriptor();
+ com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto.getDescriptor();
+ com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/OperationMetadata.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/OperationMetadata.java
index 291f7787..7750df8f 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/OperationMetadata.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/OperationMetadata.java
@@ -156,14 +156,14 @@ private OperationMetadata(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.Common
+ return com.google.cloud.networksecurity.v1beta1.CommonProto
.internal_static_google_cloud_networksecurity_v1beta1_OperationMetadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.Common
+ return com.google.cloud.networksecurity.v1beta1.CommonProto
.internal_static_google_cloud_networksecurity_v1beta1_OperationMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.OperationMetadata.class,
@@ -723,14 +723,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.OperationMetadata)
com.google.cloud.networksecurity.v1beta1.OperationMetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.Common
+ return com.google.cloud.networksecurity.v1beta1.CommonProto
.internal_static_google_cloud_networksecurity_v1beta1_OperationMetadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.Common
+ return com.google.cloud.networksecurity.v1beta1.CommonProto
.internal_static_google_cloud_networksecurity_v1beta1_OperationMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.OperationMetadata.class,
@@ -781,7 +781,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.Common
+ return com.google.cloud.networksecurity.v1beta1.CommonProto
.internal_static_google_cloud_networksecurity_v1beta1_OperationMetadata_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicy.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicy.java
index f94bfc6b..eda5ea83 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicy.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicy.java
@@ -192,7 +192,7 @@ private ServerTlsPolicy(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_descriptor;
}
@@ -210,7 +210,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.class,
@@ -226,12 +226,11 @@ public interface MTLSPolicyOrBuilder
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
java.util.List
@@ -240,12 +239,11 @@ public interface MTLSPolicyOrBuilder
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
com.google.cloud.networksecurity.v1beta1.ValidationCA getClientValidationCa(int index);
@@ -253,12 +251,11 @@ public interface MTLSPolicyOrBuilder
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
int getClientValidationCaCount();
@@ -266,12 +263,11 @@ public interface MTLSPolicyOrBuilder
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
java.util.List extends com.google.cloud.networksecurity.v1beta1.ValidationCAOrBuilder>
@@ -280,12 +276,11 @@ public interface MTLSPolicyOrBuilder
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
com.google.cloud.networksecurity.v1beta1.ValidationCAOrBuilder getClientValidationCaOrBuilder(
@@ -381,14 +376,14 @@ private MTLSPolicy(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_MTLSPolicy_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_MTLSPolicy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy.class,
@@ -402,12 +397,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
@java.lang.Override
@@ -419,12 +413,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
@java.lang.Override
@@ -436,12 +429,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
@java.lang.Override
@@ -452,12 +444,11 @@ public int getClientValidationCaCount() {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
@java.lang.Override
@@ -468,12 +459,11 @@ public com.google.cloud.networksecurity.v1beta1.ValidationCA getClientValidation
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
@java.lang.Override
@@ -662,14 +652,14 @@ public static final class Builder
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy)
com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_MTLSPolicy_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_MTLSPolicy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy.class,
@@ -707,7 +697,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_MTLSPolicy_descriptor;
}
@@ -878,12 +868,11 @@ private void ensureClientValidationCaIsMutable() {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public java.util.List
@@ -898,12 +887,11 @@ private void ensureClientValidationCaIsMutable() {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public int getClientValidationCaCount() {
@@ -917,12 +905,11 @@ public int getClientValidationCaCount() {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public com.google.cloud.networksecurity.v1beta1.ValidationCA getClientValidationCa(
@@ -937,12 +924,11 @@ public com.google.cloud.networksecurity.v1beta1.ValidationCA getClientValidation
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public Builder setClientValidationCa(
@@ -963,12 +949,11 @@ public Builder setClientValidationCa(
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public Builder setClientValidationCa(
@@ -987,12 +972,11 @@ public Builder setClientValidationCa(
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public Builder addClientValidationCa(
@@ -1013,12 +997,11 @@ public Builder addClientValidationCa(
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public Builder addClientValidationCa(
@@ -1039,12 +1022,11 @@ public Builder addClientValidationCa(
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public Builder addClientValidationCa(
@@ -1062,12 +1044,11 @@ public Builder addClientValidationCa(
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public Builder addClientValidationCa(
@@ -1086,12 +1067,11 @@ public Builder addClientValidationCa(
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public Builder addAllClientValidationCa(
@@ -1110,12 +1090,11 @@ public Builder addAllClientValidationCa(
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public Builder clearClientValidationCa() {
@@ -1132,12 +1111,11 @@ public Builder clearClientValidationCa() {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public Builder removeClientValidationCa(int index) {
@@ -1154,12 +1132,11 @@ public Builder removeClientValidationCa(int index) {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public com.google.cloud.networksecurity.v1beta1.ValidationCA.Builder
@@ -1170,12 +1147,11 @@ public Builder removeClientValidationCa(int index) {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public com.google.cloud.networksecurity.v1beta1.ValidationCAOrBuilder
@@ -1190,12 +1166,11 @@ public Builder removeClientValidationCa(int index) {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public java.util.List<
@@ -1211,12 +1186,11 @@ public Builder removeClientValidationCa(int index) {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public com.google.cloud.networksecurity.v1beta1.ValidationCA.Builder
@@ -1228,12 +1202,11 @@ public Builder removeClientValidationCa(int index) {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public com.google.cloud.networksecurity.v1beta1.ValidationCA.Builder
@@ -1246,12 +1219,11 @@ public Builder removeClientValidationCa(int index) {
*
*
*
- * Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ * Defines the mechanism to obtain the Certificate Authority certificate to
* validate the client certificate.
*
*
- *
- * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;
*
*/
public java.util.List
@@ -1391,10 +1363,10 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Optional. Free-text description of the resource.
+ * Free-text description of the resource.
*
*
- * string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * string description = 2;
*
* @return The description.
*/
@@ -1414,10 +1386,10 @@ public java.lang.String getDescription() {
*
*
*
- * Optional. Free-text description of the resource.
+ * Free-text description of the resource.
*
*
- * string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * string description = 2;
*
* @return The bytes for description.
*/
@@ -1537,7 +1509,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
private static final class LabelsDefaultEntryHolder {
static final com.google.protobuf.MapEntry defaultEntry =
com.google.protobuf.MapEntry.newDefaultInstance(
- com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_LabelsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
@@ -1561,10 +1533,10 @@ public int getLabelsCount() {
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
@java.lang.Override
public boolean containsLabels(java.lang.String key) {
@@ -1583,10 +1555,10 @@ public java.util.Map getLabels() {
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
@java.lang.Override
public java.util.Map getLabelsMap() {
@@ -1596,10 +1568,10 @@ public java.util.Map getLabelsMap() {
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
@java.lang.Override
public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
@@ -1613,10 +1585,10 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
@java.lang.Override
public java.lang.String getLabelsOrThrow(java.lang.String key) {
@@ -1636,14 +1608,15 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
*
*
*
- * Optional. Determines if server allows plaintext connections. If set to true, server
+ * Determines if server allows plaintext connections. If set to true, server
* allows plain text connections. By default, it is set to false. This setting
- * is not exclusive of other encryption modes. For example, if allow_open and
- * mtls_policy are set, server allows both plain text and mTLS connections.
- * See documentation of other encryption modes to confirm compatibility.
+ * is not exclusive of other encryption modes. For example, if `allow_open`
+ * and `mtls_policy` are set, server allows both plain text and mTLS
+ * connections. See documentation of other encryption modes to confirm
+ * compatibility.
*
*
- * bool allow_open = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * bool allow_open = 6;
*
* @return The allowOpen.
*/
@@ -1658,14 +1631,12 @@ public boolean getAllowOpen() {
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
* @return Whether the serverCertificate field is set.
*/
@@ -1677,14 +1648,12 @@ public boolean hasServerCertificate() {
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
* @return The serverCertificate.
*/
@@ -1698,14 +1667,12 @@ public com.google.cloud.networksecurity.v1beta1.CertificateProvider getServerCer
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*/
@java.lang.Override
public com.google.cloud.networksecurity.v1beta1.CertificateProviderOrBuilder
@@ -1719,16 +1686,14 @@ public com.google.cloud.networksecurity.v1beta1.CertificateProvider getServerCer
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
* @return Whether the mtlsPolicy field is set.
*/
@@ -1740,16 +1705,14 @@ public boolean hasMtlsPolicy() {
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
* @return The mtlsPolicy.
*/
@@ -1763,16 +1726,14 @@ public com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy getMt
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*/
@java.lang.Override
public com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicyOrBuilder
@@ -2047,7 +2008,7 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.ServerTlsPolicy)
com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_descriptor;
}
@@ -2074,7 +2035,7 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.class,
@@ -2134,7 +2095,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_ServerTlsPolicy_descriptor;
}
@@ -2404,10 +2365,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional. Free-text description of the resource.
+ * Free-text description of the resource.
*
*
- * string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * string description = 2;
*
* @return The description.
*/
@@ -2426,10 +2387,10 @@ public java.lang.String getDescription() {
*
*
*
- * Optional. Free-text description of the resource.
+ * Free-text description of the resource.
*
*
- * string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * string description = 2;
*
* @return The bytes for description.
*/
@@ -2448,10 +2409,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
*
- * Optional. Free-text description of the resource.
+ * Free-text description of the resource.
*
*
- * string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * string description = 2;
*
* @param value The description to set.
* @return This builder for chaining.
@@ -2469,10 +2430,10 @@ public Builder setDescription(java.lang.String value) {
*
*
*
- * Optional. Free-text description of the resource.
+ * Free-text description of the resource.
*
*
- * string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * string description = 2;
*
* @return This builder for chaining.
*/
@@ -2486,10 +2447,10 @@ public Builder clearDescription() {
*
*
*
- * Optional. Free-text description of the resource.
+ * Free-text description of the resource.
*
*
- * string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * string description = 2;
*
* @param value The bytes for description to set.
* @return This builder for chaining.
@@ -2936,10 +2897,10 @@ public int getLabelsCount() {
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
@java.lang.Override
public boolean containsLabels(java.lang.String key) {
@@ -2958,10 +2919,10 @@ public java.util.Map getLabels() {
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
@java.lang.Override
public java.util.Map getLabelsMap() {
@@ -2971,10 +2932,10 @@ public java.util.Map getLabelsMap() {
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
@java.lang.Override
public java.lang.String getLabelsOrDefault(
@@ -2989,10 +2950,10 @@ public java.lang.String getLabelsOrDefault(
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
@java.lang.Override
public java.lang.String getLabelsOrThrow(java.lang.String key) {
@@ -3014,10 +2975,10 @@ public Builder clearLabels() {
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
public Builder removeLabels(java.lang.String key) {
if (key == null) {
@@ -3035,10 +2996,10 @@ public java.util.Map getMutableLabels() {
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
public Builder putLabels(java.lang.String key, java.lang.String value) {
if (key == null) {
@@ -3054,10 +3015,10 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
@@ -3069,14 +3030,15 @@ public Builder putAllLabels(java.util.Map va
*
*
*
- * Optional. Determines if server allows plaintext connections. If set to true, server
+ * Determines if server allows plaintext connections. If set to true, server
* allows plain text connections. By default, it is set to false. This setting
- * is not exclusive of other encryption modes. For example, if allow_open and
- * mtls_policy are set, server allows both plain text and mTLS connections.
- * See documentation of other encryption modes to confirm compatibility.
+ * is not exclusive of other encryption modes. For example, if `allow_open`
+ * and `mtls_policy` are set, server allows both plain text and mTLS
+ * connections. See documentation of other encryption modes to confirm
+ * compatibility.
*
*
- * bool allow_open = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * bool allow_open = 6;
*
* @return The allowOpen.
*/
@@ -3088,14 +3050,15 @@ public boolean getAllowOpen() {
*
*
*
- * Optional. Determines if server allows plaintext connections. If set to true, server
+ * Determines if server allows plaintext connections. If set to true, server
* allows plain text connections. By default, it is set to false. This setting
- * is not exclusive of other encryption modes. For example, if allow_open and
- * mtls_policy are set, server allows both plain text and mTLS connections.
- * See documentation of other encryption modes to confirm compatibility.
+ * is not exclusive of other encryption modes. For example, if `allow_open`
+ * and `mtls_policy` are set, server allows both plain text and mTLS
+ * connections. See documentation of other encryption modes to confirm
+ * compatibility.
*
*
- * bool allow_open = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * bool allow_open = 6;
*
* @param value The allowOpen to set.
* @return This builder for chaining.
@@ -3110,14 +3073,15 @@ public Builder setAllowOpen(boolean value) {
*
*
*
- * Optional. Determines if server allows plaintext connections. If set to true, server
+ * Determines if server allows plaintext connections. If set to true, server
* allows plain text connections. By default, it is set to false. This setting
- * is not exclusive of other encryption modes. For example, if allow_open and
- * mtls_policy are set, server allows both plain text and mTLS connections.
- * See documentation of other encryption modes to confirm compatibility.
+ * is not exclusive of other encryption modes. For example, if `allow_open`
+ * and `mtls_policy` are set, server allows both plain text and mTLS
+ * connections. See documentation of other encryption modes to confirm
+ * compatibility.
*
*
- * bool allow_open = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * bool allow_open = 6;
*
* @return This builder for chaining.
*/
@@ -3138,13 +3102,12 @@ public Builder clearAllowOpen() {
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
*
* @return Whether the serverCertificate field is set.
@@ -3156,13 +3119,12 @@ public boolean hasServerCertificate() {
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
*
* @return The serverCertificate.
@@ -3180,13 +3142,12 @@ public com.google.cloud.networksecurity.v1beta1.CertificateProvider getServerCer
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
*/
public Builder setServerCertificate(
@@ -3207,13 +3168,12 @@ public Builder setServerCertificate(
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
*/
public Builder setServerCertificate(
@@ -3231,13 +3191,12 @@ public Builder setServerCertificate(
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
*/
public Builder mergeServerCertificate(
@@ -3263,13 +3222,12 @@ public Builder mergeServerCertificate(
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
*/
public Builder clearServerCertificate() {
@@ -3287,13 +3245,12 @@ public Builder clearServerCertificate() {
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
*/
public com.google.cloud.networksecurity.v1beta1.CertificateProvider.Builder
@@ -3306,13 +3263,12 @@ public Builder clearServerCertificate() {
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
*/
public com.google.cloud.networksecurity.v1beta1.CertificateProviderOrBuilder
@@ -3329,13 +3285,12 @@ public Builder clearServerCertificate() {
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
@@ -3365,15 +3320,14 @@ public Builder clearServerCertificate() {
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
*
* @return Whether the mtlsPolicy field is set.
@@ -3385,15 +3339,14 @@ public boolean hasMtlsPolicy() {
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
*
* @return The mtlsPolicy.
@@ -3412,15 +3365,14 @@ public com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy getMt
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
*/
public Builder setMtlsPolicy(
@@ -3441,15 +3393,14 @@ public Builder setMtlsPolicy(
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
*/
public Builder setMtlsPolicy(
@@ -3468,15 +3419,14 @@ public Builder setMtlsPolicy(
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
*/
public Builder mergeMtlsPolicy(
@@ -3502,15 +3452,14 @@ public Builder mergeMtlsPolicy(
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
*/
public Builder clearMtlsPolicy() {
@@ -3528,15 +3477,14 @@ public Builder clearMtlsPolicy() {
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
*/
public com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy.Builder
@@ -3549,15 +3497,14 @@ public Builder clearMtlsPolicy() {
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
*/
public com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicyOrBuilder
@@ -3575,15 +3522,14 @@ public Builder clearMtlsPolicy() {
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyOrBuilder.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyOrBuilder.java
index 1c364b7b..fb798e8a 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyOrBuilder.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyOrBuilder.java
@@ -54,10 +54,10 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Free-text description of the resource.
+ * Free-text description of the resource.
*
*
- * string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * string description = 2;
*
* @return The description.
*/
@@ -66,10 +66,10 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Free-text description of the resource.
+ * Free-text description of the resource.
*
*
- * string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * string description = 2;
*
* @return The bytes for description.
*/
@@ -155,20 +155,20 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
int getLabelsCount();
/**
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@@ -178,30 +178,30 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
java.util.Map getLabelsMap();
/**
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
/**
*
*
*
- * Optional. Set of label tags associated with the resource.
+ * Set of label tags associated with the resource.
*
*
- * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * map<string, string> labels = 5;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
@@ -209,14 +209,15 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Determines if server allows plaintext connections. If set to true, server
+ * Determines if server allows plaintext connections. If set to true, server
* allows plain text connections. By default, it is set to false. This setting
- * is not exclusive of other encryption modes. For example, if allow_open and
- * mtls_policy are set, server allows both plain text and mTLS connections.
- * See documentation of other encryption modes to confirm compatibility.
+ * is not exclusive of other encryption modes. For example, if `allow_open`
+ * and `mtls_policy` are set, server allows both plain text and mTLS
+ * connections. See documentation of other encryption modes to confirm
+ * compatibility.
*
*
- * bool allow_open = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * bool allow_open = 6;
*
* @return The allowOpen.
*/
@@ -226,14 +227,12 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
* @return Whether the serverCertificate field is set.
*/
@@ -242,14 +241,12 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*
* @return The serverCertificate.
*/
@@ -258,14 +255,12 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Defines a mechanism to provision server identity (public and private keys).
- * Cannot be combined with allow_open as a permissive mode that allows both
+ * Defines a mechanism to provision server identity (public and private keys).
+ * Cannot be combined with `allow_open` as a permissive mode that allows both
* plain text and TLS is not supported.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;
*/
com.google.cloud.networksecurity.v1beta1.CertificateProviderOrBuilder
getServerCertificateOrBuilder();
@@ -274,16 +269,14 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
* @return Whether the mtlsPolicy field is set.
*/
@@ -292,16 +285,14 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*
* @return The mtlsPolicy.
*/
@@ -310,16 +301,14 @@ public interface ServerTlsPolicyOrBuilder
*
*
*
- * Optional. Defines a mechanism to provision peer validation certificates for peer to
+ * Defines a mechanism to provision peer validation certificates for peer to
* peer authentication (Mutual TLS - mTLS). If not specified, client
* certificate will not be requested. The connection is treated as TLS and not
- * mTLS. If allow_open and mtls_policy are set, server allows both plain text
- * and mTLS connections.
+ * mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ * text and mTLS connections.
*
*
- *
- * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8 [(.google.api.field_behavior) = OPTIONAL];
- *
+ * .google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;
*/
com.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicyOrBuilder
getMtlsPolicyOrBuilder();
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyOuterClass.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyProto.java
similarity index 75%
rename from proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyOuterClass.java
rename to proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyProto.java
index 3ddb9fd3..e7323b8a 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyOuterClass.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyProto.java
@@ -18,8 +18,8 @@
package com.google.cloud.networksecurity.v1beta1;
-public final class ServerTlsPolicyOuterClass {
- private ServerTlsPolicyOuterClass() {}
+public final class ServerTlsPolicyProto {
+ private ServerTlsPolicyProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
@@ -79,54 +79,54 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\032.google/cloud/networksecurity/v1beta1/t"
+ "ls.proto\032 google/protobuf/field_mask.pro"
+ "to\032\037google/protobuf/timestamp.proto\032\034goo"
- + "gle/api/annotations.proto\"\354\005\n\017ServerTlsP"
- + "olicy\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\030\n\013description\030"
- + "\002 \001(\tB\003\340A\001\0224\n\013create_time\030\003 \001(\0132\032.google"
- + ".protobuf.TimestampB\003\340A\003\0224\n\013update_time\030"
- + "\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022V"
- + "\n\006labels\030\005 \003(\0132A.google.cloud.networksec"
- + "urity.v1beta1.ServerTlsPolicy.LabelsEntr"
- + "yB\003\340A\001\022\027\n\nallow_open\030\006 \001(\010B\003\340A\001\022Z\n\022serve"
- + "r_certificate\030\007 \001(\01329.google.cloud.netwo"
- + "rksecurity.v1beta1.CertificateProviderB\003"
- + "\340A\001\022Z\n\013mtls_policy\030\010 \001(\0132@.google.cloud."
- + "networksecurity.v1beta1.ServerTlsPolicy."
- + "MTLSPolicyB\003\340A\001\032c\n\nMTLSPolicy\022U\n\024client_"
- + "validation_ca\030\001 \003(\01322.google.cloud.netwo"
- + "rksecurity.v1beta1.ValidationCAB\003\340A\002\032-\n\013"
- + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:"
- + "\0028\001:\202\001\352A\177\n.networksecurity.googleapis.co"
- + "m/ServerTlsPolicy\022Mprojects/{project}/lo"
- + "cations/{location}/serverTlsPolicies/{se"
- + "rver_tls_policy}\"\200\001\n\034ListServerTlsPolici"
- + "esRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locat"
- + "ions.googleapis.com/Location\022\021\n\tpage_siz"
- + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\214\001\n\035ListServ"
- + "erTlsPoliciesResponse\022R\n\023server_tls_poli"
- + "cies\030\001 \003(\01325.google.cloud.networksecurit"
- + "y.v1beta1.ServerTlsPolicy\022\027\n\017next_page_t"
- + "oken\030\002 \001(\t\"a\n\031GetServerTlsPolicyRequest\022"
- + "D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.networksecurity.g"
- + "oogleapis.com/ServerTlsPolicy\"\340\001\n\034Create"
- + "ServerTlsPolicyRequest\022F\n\006parent\030\001 \001(\tB6"
- + "\340A\002\372A0\n.networksecurity.googleapis.com/S"
- + "erverTlsPolicy\022!\n\024server_tls_policy_id\030\002"
- + " \001(\tB\003\340A\002\022U\n\021server_tls_policy\030\003 \001(\01325.g"
- + "oogle.cloud.networksecurity.v1beta1.Serv"
- + "erTlsPolicyB\003\340A\002\"\253\001\n\034UpdateServerTlsPoli"
- + "cyRequest\0224\n\013update_mask\030\001 \001(\0132\032.google."
- + "protobuf.FieldMaskB\003\340A\001\022U\n\021server_tls_po"
- + "licy\030\002 \001(\01325.google.cloud.networksecurit"
- + "y.v1beta1.ServerTlsPolicyB\003\340A\002\"d\n\034Delete"
- + "ServerTlsPolicyRequest\022D\n\004name\030\001 \001(\tB6\340A"
- + "\002\372A0\n.networksecurity.googleapis.com/Ser"
- + "verTlsPolicyB\371\001\n(com.google.cloud.networ"
- + "ksecurity.v1beta1P\001ZSgoogle.golang.org/g"
- + "enproto/googleapis/cloud/networksecurity"
- + "/v1beta1;networksecurity\252\002$Google.Cloud."
- + "NetworkSecurity.V1Beta1\312\002$Google\\Cloud\\N"
- + "etworkSecurity\\V1beta1\352\002\'Google::Cloud::"
- + "NetworkSecurity::V1beta1b\006proto3"
+ + "gle/api/annotations.proto\"\316\005\n\017ServerTlsP"
+ + "olicy\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013description\030"
+ + "\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032.google.prot"
+ + "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\013"
+ + "2\032.google.protobuf.TimestampB\003\340A\003\022Q\n\006lab"
+ + "els\030\005 \003(\0132A.google.cloud.networksecurity"
+ + ".v1beta1.ServerTlsPolicy.LabelsEntry\022\022\n\n"
+ + "allow_open\030\006 \001(\010\022U\n\022server_certificate\030\007"
+ + " \001(\01329.google.cloud.networksecurity.v1be"
+ + "ta1.CertificateProvider\022U\n\013mtls_policy\030\010"
+ + " \001(\0132@.google.cloud.networksecurity.v1be"
+ + "ta1.ServerTlsPolicy.MTLSPolicy\032^\n\nMTLSPo"
+ + "licy\022P\n\024client_validation_ca\030\001 \003(\01322.goo"
+ + "gle.cloud.networksecurity.v1beta1.Valida"
+ + "tionCA\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va"
+ + "lue\030\002 \001(\t:\0028\001:\202\001\352A\177\n.networksecurity.goo"
+ + "gleapis.com/ServerTlsPolicy\022Mprojects/{p"
+ + "roject}/locations/{location}/serverTlsPo"
+ + "licies/{server_tls_policy}\"\200\001\n\034ListServe"
+ + "rTlsPoliciesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002"
+ + "\372A#\n!locations.googleapis.com/Location\022\021"
+ + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\214\001"
+ + "\n\035ListServerTlsPoliciesResponse\022R\n\023serve"
+ + "r_tls_policies\030\001 \003(\01325.google.cloud.netw"
+ + "orksecurity.v1beta1.ServerTlsPolicy\022\027\n\017n"
+ + "ext_page_token\030\002 \001(\t\"a\n\031GetServerTlsPoli"
+ + "cyRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.network"
+ + "security.googleapis.com/ServerTlsPolicy\""
+ + "\340\001\n\034CreateServerTlsPolicyRequest\022F\n\006pare"
+ + "nt\030\001 \001(\tB6\340A\002\372A0\n.networksecurity.google"
+ + "apis.com/ServerTlsPolicy\022!\n\024server_tls_p"
+ + "olicy_id\030\002 \001(\tB\003\340A\002\022U\n\021server_tls_policy"
+ + "\030\003 \001(\01325.google.cloud.networksecurity.v1"
+ + "beta1.ServerTlsPolicyB\003\340A\002\"\253\001\n\034UpdateSer"
+ + "verTlsPolicyRequest\0224\n\013update_mask\030\001 \001(\013"
+ + "2\032.google.protobuf.FieldMaskB\003\340A\001\022U\n\021ser"
+ + "ver_tls_policy\030\002 \001(\01325.google.cloud.netw"
+ + "orksecurity.v1beta1.ServerTlsPolicyB\003\340A\002"
+ + "\"d\n\034DeleteServerTlsPolicyRequest\022D\n\004name"
+ + "\030\001 \001(\tB6\340A\002\372A0\n.networksecurity.googleap"
+ + "is.com/ServerTlsPolicyB\217\002\n(com.google.cl"
+ + "oud.networksecurity.v1beta1B\024ServerTlsPo"
+ + "licyProtoP\001ZSgoogle.golang.org/genproto/"
+ + "googleapis/cloud/networksecurity/v1beta1"
+ + ";networksecurity\252\002$Google.Cloud.NetworkS"
+ + "ecurity.V1Beta1\312\002$Google\\Cloud\\NetworkSe"
+ + "curity\\V1beta1\352\002\'Google::Cloud::NetworkS"
+ + "ecurity::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -134,7 +134,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
- com.google.cloud.networksecurity.v1beta1.Tls.getDescriptor(),
+ com.google.cloud.networksecurity.v1beta1.TlsProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.api.AnnotationsProto.getDescriptor(),
@@ -231,7 +231,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
- com.google.cloud.networksecurity.v1beta1.Tls.getDescriptor();
+ com.google.cloud.networksecurity.v1beta1.TlsProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/Tls.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/TlsProto.java
similarity index 92%
rename from proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/Tls.java
rename to proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/TlsProto.java
index e84c1062..e0289e81 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/Tls.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/TlsProto.java
@@ -18,8 +18,8 @@
package com.google.cloud.networksecurity.v1beta1;
-public final class Tls {
- private Tls() {}
+public final class TlsProto {
+ private TlsProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
@@ -68,14 +68,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "oud.networksecurity.v1beta1.GrpcEndpoint"
+ "H\000\022j\n\035certificate_provider_instance\030\003 \001("
+ "\0132A.google.cloud.networksecurity.v1beta1"
- + ".CertificateProviderInstanceH\000B\006\n\004typeB\371"
- + "\001\n(com.google.cloud.networksecurity.v1be"
- + "ta1P\001ZSgoogle.golang.org/genproto/google"
- + "apis/cloud/networksecurity/v1beta1;netwo"
- + "rksecurity\252\002$Google.Cloud.NetworkSecurit"
- + "y.V1Beta1\312\002$Google\\Cloud\\NetworkSecurity"
- + "\\V1beta1\352\002\'Google::Cloud::NetworkSecurit"
- + "y::V1beta1b\006proto3"
+ + ".CertificateProviderInstanceH\000B\006\n\004typeB\203"
+ + "\002\n(com.google.cloud.networksecurity.v1be"
+ + "ta1B\010TlsProtoP\001ZSgoogle.golang.org/genpr"
+ + "oto/googleapis/cloud/networksecurity/v1b"
+ + "eta1;networksecurity\252\002$Google.Cloud.Netw"
+ + "orkSecurity.V1Beta1\312\002$Google\\Cloud\\Netwo"
+ + "rkSecurity\\V1beta1\352\002\'Google::Cloud::Netw"
+ + "orkSecurity::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateAuthorizationPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateAuthorizationPolicyRequest.java
index ed8b6e83..d5f1ce7a 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateAuthorizationPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateAuthorizationPolicyRequest.java
@@ -122,14 +122,14 @@ private UpdateAuthorizationPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateAuthorizationPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateAuthorizationPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest.class,
@@ -448,14 +448,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest)
com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateAuthorizationPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateAuthorizationPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest.class,
@@ -498,7 +498,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.AuthorizationPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateAuthorizationPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateClientTlsPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateClientTlsPolicyRequest.java
index 87350e45..66863fdd 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateClientTlsPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateClientTlsPolicyRequest.java
@@ -120,14 +120,14 @@ private UpdateClientTlsPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateClientTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateClientTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest.class,
@@ -447,14 +447,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest)
com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateClientTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateClientTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest.class,
@@ -496,7 +496,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ClientTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateClientTlsPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateServerTlsPolicyRequest.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateServerTlsPolicyRequest.java
index 44dd89dc..b04957b5 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateServerTlsPolicyRequest.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/UpdateServerTlsPolicyRequest.java
@@ -120,14 +120,14 @@ private UpdateServerTlsPolicyRequest(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateServerTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateServerTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest.class,
@@ -447,14 +447,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest)
com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateServerTlsPolicyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateServerTlsPolicyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest.class,
@@ -496,7 +496,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyOuterClass
+ return com.google.cloud.networksecurity.v1beta1.ServerTlsPolicyProto
.internal_static_google_cloud_networksecurity_v1beta1_UpdateServerTlsPolicyRequest_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ValidationCA.java b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ValidationCA.java
index 2ebfb7c2..bdc66fd2 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ValidationCA.java
+++ b/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ValidationCA.java
@@ -128,14 +128,14 @@ private ValidationCA(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_ValidationCA_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_ValidationCA_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ValidationCA.class,
@@ -517,14 +517,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.networksecurity.v1beta1.ValidationCA)
com.google.cloud.networksecurity.v1beta1.ValidationCAOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_ValidationCA_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_ValidationCA_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.networksecurity.v1beta1.ValidationCA.class,
@@ -555,7 +555,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.networksecurity.v1beta1.Tls
+ return com.google.cloud.networksecurity.v1beta1.TlsProto
.internal_static_google_cloud_networksecurity_v1beta1_ValidationCA_descriptor;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/authorization_policy.proto b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/authorization_policy.proto
index d9b7baf9..f14dedf6 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/authorization_policy.proto
+++ b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/authorization_policy.proto
@@ -22,10 +22,11 @@ import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";
+option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity";
option java_multiple_files = true;
+option java_outer_classname = "AuthorizationPolicyProto";
option java_package = "com.google.cloud.networksecurity.v1beta1";
-option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option php_namespace = "Google\\Cloud\\NetworkSecurity\\V1beta1";
option ruby_package = "Google::Cloud::NetworkSecurity::V1beta1";
@@ -46,12 +47,16 @@ message AuthorizationPolicy {
// Optional. List of peer identities to match for authorization. At least one
// principal should match. Each peer can be an exact match, or a prefix
// match (example, "namespace/*") or a suffix match (example, //
- // */service-account") or a presence match "*".
+ // */service-account") or a presence match "*". Authorization based on the
+ // principal name without certificate validation (configured by
+ // ServerTlsPolicy resource) is considered insecure.
repeated string principals = 1 [(google.api.field_behavior) = OPTIONAL];
// Optional. List of CIDR ranges to match based on source IP address. At least one
// IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
- // "1.2.3.0/24") are supported.
+ // "1.2.3.0/24") are supported. Authorization based on source IP alone
+ // should be avoided. The IP addresses of any load balancers or proxies
+ // should be considered untrusted.
repeated string ip_blocks = 2 [(google.api.field_behavior) = OPTIONAL];
}
@@ -77,7 +82,7 @@ message AuthorizationPolicy {
string header_name = 1 [(google.api.field_behavior) = REQUIRED];
}
- // Required. List of host names to match. Matched against HOST header in
+ // Required. List of host names to match. Matched against the ":authority" header in
// http requests. At least one host should match. Each host can be an
// exact match, or a prefix match (example "mydomain.*") or a suffix
// match (example // *.myorg.com") or a presence(any) match "*".
@@ -90,9 +95,11 @@ message AuthorizationPolicy {
// match. Should not be set for gRPC services.
repeated string methods = 4 [(google.api.field_behavior) = OPTIONAL];
- // Optional. Match against key:value pair in http header. Provides a
- // flexible match based on HTTP headers, for potentially
- // advanced use cases. At least one header should match.
+ // Optional. Match against key:value pair in http header. Provides a flexible match
+ // based on HTTP headers, for potentially advanced use cases. At least one
+ // header should match. Avoid using header matches to make authorization
+ // decisions unless there is a strong guarantee that requests arrive
+ // through a trusted client or proxy.
HttpHeaderMatch http_header_match = 5 [(google.api.field_behavior) = OPTIONAL];
}
@@ -119,6 +126,8 @@ message AuthorizationPolicy {
ALLOW = 1;
// Deny access.
+ // Deny rules should be avoided unless they are used to provide a default
+ // "deny all" fallback.
DENY = 2;
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/client_tls_policy.proto b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/client_tls_policy.proto
index e69eb9a9..6cc0c228 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/client_tls_policy.proto
+++ b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/client_tls_policy.proto
@@ -23,10 +23,11 @@ import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";
+option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity";
option java_multiple_files = true;
+option java_outer_classname = "ClientTlsPolicyProto";
option java_package = "com.google.cloud.networksecurity.v1beta1";
-option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option php_namespace = "Google\\Cloud\\NetworkSecurity\\V1beta1";
option ruby_package = "Google::Cloud::NetworkSecurity::V1beta1";
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/common.proto b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/common.proto
index 7f39e77e..4a85f652 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/common.proto
+++ b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/common.proto
@@ -20,10 +20,11 @@ import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";
+option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity";
option java_multiple_files = true;
+option java_outer_classname = "CommonProto";
option java_package = "com.google.cloud.networksecurity.v1beta1";
-option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option php_namespace = "Google\\Cloud\\NetworkSecurity\\V1beta1";
option ruby_package = "Google::Cloud::NetworkSecurity::V1beta1";
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/network_security.proto b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/network_security.proto
index bfc2bd9d..bd1fc8ce 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/network_security.proto
+++ b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/network_security.proto
@@ -23,13 +23,16 @@ import "google/cloud/networksecurity/v1beta1/client_tls_policy.proto";
import "google/cloud/networksecurity/v1beta1/server_tls_policy.proto";
import "google/longrunning/operations.proto";
+option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity";
option java_multiple_files = true;
option java_package = "com.google.cloud.networksecurity.v1beta1";
-option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option php_namespace = "Google\\Cloud\\NetworkSecurity\\V1beta1";
option ruby_package = "Google::Cloud::NetworkSecurity::V1beta1";
+// Network Security API provides resources to configure authentication and
+// authorization policies. Refer to per API resource documentation for more
+// information.
service NetworkSecurity {
option (google.api.default_host) = "networksecurity.googleapis.com";
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
@@ -59,7 +62,7 @@ service NetworkSecurity {
option (google.api.method_signature) = "parent,authorization_policy,authorization_policy_id";
option (google.longrunning.operation_info) = {
response_type: "AuthorizationPolicy"
- metadata_type: "OperationMetadata"
+ metadata_type: "google.cloud.networksecurity.v1beta1.OperationMetadata"
};
}
@@ -72,7 +75,7 @@ service NetworkSecurity {
option (google.api.method_signature) = "authorization_policy,update_mask";
option (google.longrunning.operation_info) = {
response_type: "AuthorizationPolicy"
- metadata_type: "OperationMetadata"
+ metadata_type: "google.cloud.networksecurity.v1beta1.OperationMetadata"
};
}
@@ -84,7 +87,7 @@ service NetworkSecurity {
option (google.api.method_signature) = "name";
option (google.longrunning.operation_info) = {
response_type: "google.protobuf.Empty"
- metadata_type: "OperationMetadata"
+ metadata_type: "google.cloud.networksecurity.v1beta1.OperationMetadata"
};
}
@@ -113,7 +116,7 @@ service NetworkSecurity {
option (google.api.method_signature) = "parent,server_tls_policy,server_tls_policy_id";
option (google.longrunning.operation_info) = {
response_type: "ServerTlsPolicy"
- metadata_type: "OperationMetadata"
+ metadata_type: "google.cloud.networksecurity.v1beta1.OperationMetadata"
};
}
@@ -126,7 +129,7 @@ service NetworkSecurity {
option (google.api.method_signature) = "server_tls_policy,update_mask";
option (google.longrunning.operation_info) = {
response_type: "ServerTlsPolicy"
- metadata_type: "OperationMetadata"
+ metadata_type: "google.cloud.networksecurity.v1beta1.OperationMetadata"
};
}
@@ -138,7 +141,7 @@ service NetworkSecurity {
option (google.api.method_signature) = "name";
option (google.longrunning.operation_info) = {
response_type: "google.protobuf.Empty"
- metadata_type: "OperationMetadata"
+ metadata_type: "google.cloud.networksecurity.v1beta1.OperationMetadata"
};
}
@@ -167,7 +170,7 @@ service NetworkSecurity {
option (google.api.method_signature) = "parent,client_tls_policy,client_tls_policy_id";
option (google.longrunning.operation_info) = {
response_type: "ClientTlsPolicy"
- metadata_type: "OperationMetadata"
+ metadata_type: "google.cloud.networksecurity.v1beta1.OperationMetadata"
};
}
@@ -180,7 +183,7 @@ service NetworkSecurity {
option (google.api.method_signature) = "client_tls_policy,update_mask";
option (google.longrunning.operation_info) = {
response_type: "ClientTlsPolicy"
- metadata_type: "OperationMetadata"
+ metadata_type: "google.cloud.networksecurity.v1beta1.OperationMetadata"
};
}
@@ -192,7 +195,7 @@ service NetworkSecurity {
option (google.api.method_signature) = "name";
option (google.longrunning.operation_info) = {
response_type: "google.protobuf.Empty"
- metadata_type: "OperationMetadata"
+ metadata_type: "google.cloud.networksecurity.v1beta1.OperationMetadata"
};
}
}
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/server_tls_policy.proto b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/server_tls_policy.proto
index 57263b9b..d3c52121 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/server_tls_policy.proto
+++ b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/server_tls_policy.proto
@@ -23,16 +23,18 @@ import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";
+option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity";
option java_multiple_files = true;
+option java_outer_classname = "ServerTlsPolicyProto";
option java_package = "com.google.cloud.networksecurity.v1beta1";
-option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option php_namespace = "Google\\Cloud\\NetworkSecurity\\V1beta1";
option ruby_package = "Google::Cloud::NetworkSecurity::V1beta1";
// ServerTlsPolicy is a resource that specifies how a server should authenticate
// incoming requests. This resource itself does not affect configuration unless
// it is attached to a target https proxy or endpoint config selector resource.
+//
message ServerTlsPolicy {
option (google.api.resource) = {
type: "networksecurity.googleapis.com/ServerTlsPolicy"
@@ -41,17 +43,18 @@ message ServerTlsPolicy {
// Specification of the MTLSPolicy.
message MTLSPolicy {
- // Required. Defines the mechanism to obtain the Certificate Authority certificate to
+ //
+ // Defines the mechanism to obtain the Certificate Authority certificate to
// validate the client certificate.
- repeated ValidationCA client_validation_ca = 1 [(google.api.field_behavior) = REQUIRED];
+ repeated ValidationCA client_validation_ca = 1;
}
// Required. Name of the ServerTlsPolicy resource. It matches the pattern
// `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
string name = 1 [(google.api.field_behavior) = REQUIRED];
- // Optional. Free-text description of the resource.
- string description = 2 [(google.api.field_behavior) = OPTIONAL];
+ // Free-text description of the resource.
+ string description = 2;
// Output only. The timestamp when the resource was created.
google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
@@ -59,27 +62,31 @@ message ServerTlsPolicy {
// Output only. The timestamp when the resource was updated.
google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
- // Optional. Set of label tags associated with the resource.
- map labels = 5 [(google.api.field_behavior) = OPTIONAL];
+ // Set of label tags associated with the resource.
+ map labels = 5;
- // Optional. Determines if server allows plaintext connections. If set to true, server
+ //
+ // Determines if server allows plaintext connections. If set to true, server
// allows plain text connections. By default, it is set to false. This setting
- // is not exclusive of other encryption modes. For example, if allow_open and
- // mtls_policy are set, server allows both plain text and mTLS connections.
- // See documentation of other encryption modes to confirm compatibility.
- bool allow_open = 6 [(google.api.field_behavior) = OPTIONAL];
-
- // Optional. Defines a mechanism to provision server identity (public and private keys).
- // Cannot be combined with allow_open as a permissive mode that allows both
+ // is not exclusive of other encryption modes. For example, if `allow_open`
+ // and `mtls_policy` are set, server allows both plain text and mTLS
+ // connections. See documentation of other encryption modes to confirm
+ // compatibility.
+ bool allow_open = 6;
+
+ //
+ // Defines a mechanism to provision server identity (public and private keys).
+ // Cannot be combined with `allow_open` as a permissive mode that allows both
// plain text and TLS is not supported.
- CertificateProvider server_certificate = 7 [(google.api.field_behavior) = OPTIONAL];
+ CertificateProvider server_certificate = 7;
- // Optional. Defines a mechanism to provision peer validation certificates for peer to
+ //
+ // Defines a mechanism to provision peer validation certificates for peer to
// peer authentication (Mutual TLS - mTLS). If not specified, client
// certificate will not be requested. The connection is treated as TLS and not
- // mTLS. If allow_open and mtls_policy are set, server allows both plain text
- // and mTLS connections.
- MTLSPolicy mtls_policy = 8 [(google.api.field_behavior) = OPTIONAL];
+ // mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
+ // text and mTLS connections.
+ MTLSPolicy mtls_policy = 8;
}
// Request used by the ListServerTlsPolicies method.
diff --git a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/tls.proto b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/tls.proto
index 014a5f11..740c785c 100644
--- a/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/tls.proto
+++ b/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/tls.proto
@@ -19,10 +19,11 @@ package google.cloud.networksecurity.v1beta1;
import "google/api/field_behavior.proto";
import "google/api/annotations.proto";
+option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity";
option java_multiple_files = true;
+option java_outer_classname = "TlsProto";
option java_package = "com.google.cloud.networksecurity.v1beta1";
-option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
option php_namespace = "Google\\Cloud\\NetworkSecurity\\V1beta1";
option ruby_package = "Google::Cloud::NetworkSecurity::V1beta1";
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 05aef662..b2e617db 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-network-security
- 0.3.0
+ 0.3.1
@@ -53,7 +53,7 @@
org.codehaus.mojo
build-helper-maven-plugin
- 3.2.0
+ 3.3.0
add-snippets-source
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index d84a04ae..99d49a19 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-network-security
- 0.3.0
+ 0.3.1
@@ -52,7 +52,7 @@
org.codehaus.mojo
build-helper-maven-plugin
- 3.2.0
+ 3.3.0
add-snippets-source
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 161701c1..51eec2e0 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-network-security
- 0.3.0
+ 0.3.1
diff --git a/versions.txt b/versions.txt
index 7c924333..9e6ae3b2 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-network-security:0.3.1:0.3.1
-grpc-google-cloud-network-security-v1beta1:0.3.1:0.3.1
-proto-google-cloud-network-security-v1beta1:0.3.1:0.3.1
+google-cloud-network-security:0.4.0:0.4.0
+grpc-google-cloud-network-security-v1beta1:0.4.0:0.4.0
+proto-google-cloud-network-security-v1beta1:0.4.0:0.4.0