diff --git a/google-api-grpc/grpc-google-cloud-phishingprotection-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-phishingprotection-v1beta1/pom.xml
new file mode 100644
index 000000000000..4304c54a5033
--- /dev/null
+++ b/google-api-grpc/grpc-google-cloud-phishingprotection-v1beta1/pom.xml
@@ -0,0 +1,53 @@
+
+ * Service to report phishing URIs. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/phishingprotection/v1beta1/phishingprotection.proto") +public final class PhishingProtectionServiceV1Beta1Grpc { + + private PhishingProtectionServiceV1Beta1Grpc() {} + + public static final String SERVICE_NAME = + "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getReportPhishingMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.phishingprotection.v1beta1.ReportPhishingRequest, + com.google.phishingprotection.v1beta1.ReportPhishingResponse> + METHOD_REPORT_PHISHING = getReportPhishingMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.phishingprotection.v1beta1.ReportPhishingRequest, + com.google.phishingprotection.v1beta1.ReportPhishingResponse> + getReportPhishingMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.phishingprotection.v1beta1.ReportPhishingRequest, + com.google.phishingprotection.v1beta1.ReportPhishingResponse> + getReportPhishingMethod() { + return getReportPhishingMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.phishingprotection.v1beta1.ReportPhishingRequest, + com.google.phishingprotection.v1beta1.ReportPhishingResponse> + getReportPhishingMethodHelper() { + io.grpc.MethodDescriptor< + com.google.phishingprotection.v1beta1.ReportPhishingRequest, + com.google.phishingprotection.v1beta1.ReportPhishingResponse> + getReportPhishingMethod; + if ((getReportPhishingMethod = PhishingProtectionServiceV1Beta1Grpc.getReportPhishingMethod) + == null) { + synchronized (PhishingProtectionServiceV1Beta1Grpc.class) { + if ((getReportPhishingMethod = PhishingProtectionServiceV1Beta1Grpc.getReportPhishingMethod) + == null) { + PhishingProtectionServiceV1Beta1Grpc.getReportPhishingMethod = + getReportPhishingMethod = + io.grpc.MethodDescriptor + .
+ * Service to report phishing URIs. + *+ */ + public abstract static class PhishingProtectionServiceV1Beta1ImplBase + implements io.grpc.BindableService { + + /** + * + * + *
+ * Reports a URI suspected of containing phishing content to be reviewed. Once + * the report review is completed, if its result verifies the existince of + * malicious phishing content, the site will be added the to [Google's Social + * Engineering lists](https://support.google.com/webmasters/answer/6350487/) + * in order to protect users that could get exposed to this threat in + * the future. + *+ */ + public void reportPhishing( + com.google.phishingprotection.v1beta1.ReportPhishingRequest request, + io.grpc.stub.StreamObserver
+ * Service to report phishing URIs. + *+ */ + public static final class PhishingProtectionServiceV1Beta1Stub + extends io.grpc.stub.AbstractStub
+ * Reports a URI suspected of containing phishing content to be reviewed. Once + * the report review is completed, if its result verifies the existince of + * malicious phishing content, the site will be added the to [Google's Social + * Engineering lists](https://support.google.com/webmasters/answer/6350487/) + * in order to protect users that could get exposed to this threat in + * the future. + *+ */ + public void reportPhishing( + com.google.phishingprotection.v1beta1.ReportPhishingRequest request, + io.grpc.stub.StreamObserver
+ * Service to report phishing URIs. + *+ */ + public static final class PhishingProtectionServiceV1Beta1BlockingStub + extends io.grpc.stub.AbstractStub
+ * Reports a URI suspected of containing phishing content to be reviewed. Once + * the report review is completed, if its result verifies the existince of + * malicious phishing content, the site will be added the to [Google's Social + * Engineering lists](https://support.google.com/webmasters/answer/6350487/) + * in order to protect users that could get exposed to this threat in + * the future. + *+ */ + public com.google.phishingprotection.v1beta1.ReportPhishingResponse reportPhishing( + com.google.phishingprotection.v1beta1.ReportPhishingRequest request) { + return blockingUnaryCall( + getChannel(), getReportPhishingMethodHelper(), getCallOptions(), request); + } + } + + /** + * + * + *
+ * Service to report phishing URIs. + *+ */ + public static final class PhishingProtectionServiceV1Beta1FutureStub + extends io.grpc.stub.AbstractStub
+ * Reports a URI suspected of containing phishing content to be reviewed. Once + * the report review is completed, if its result verifies the existince of + * malicious phishing content, the site will be added the to [Google's Social + * Engineering lists](https://support.google.com/webmasters/answer/6350487/) + * in order to protect users that could get exposed to this threat in + * the future. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.phishingprotection.v1beta1.ReportPhishingResponse> + reportPhishing(com.google.phishingprotection.v1beta1.ReportPhishingRequest request) { + return futureUnaryCall( + getChannel().newCall(getReportPhishingMethodHelper(), getCallOptions()), request); + } + } + + private static final int METHODID_REPORT_PHISHING = 0; + + private static final class MethodHandlers
+ * The ReportPhishing request message. + *+ * + * Protobuf type {@code google.cloud.phishingprotection.v1beta1.ReportPhishingRequest} + */ +public final class ReportPhishingRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.phishingprotection.v1beta1.ReportPhishingRequest) + ReportPhishingRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReportPhishingRequest.newBuilder() to construct. + private ReportPhishingRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ReportPhishingRequest() { + parent_ = ""; + uri_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ReportPhishingRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + uri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.phishingprotection.v1beta1.PhishingProtectionProto + .internal_static_google_cloud_phishingprotection_v1beta1_ReportPhishingRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.phishingprotection.v1beta1.PhishingProtectionProto + .internal_static_google_cloud_phishingprotection_v1beta1_ReportPhishingRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.phishingprotection.v1beta1.ReportPhishingRequest.class, + com.google.phishingprotection.v1beta1.ReportPhishingRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+ * Required. The name of the project for which the report will be created, + * in the format "projects/{project_number}". + *+ * + *
string parent = 1;
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The name of the project for which the report will be created, + * in the format "projects/{project_number}". + *+ * + *
string parent = 1;
+ */
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int URI_FIELD_NUMBER = 2;
+ private volatile java.lang.Object uri_;
+ /**
+ *
+ *
+ * + * The URI that is being reported for phishing content to be analyzed. + *+ * + *
string uri = 2;
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The URI that is being reported for phishing content to be analyzed. + *+ * + *
string uri = 2;
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getParentBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (!getUriBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getParentBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (!getUriBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.phishingprotection.v1beta1.ReportPhishingRequest)) {
+ return super.equals(obj);
+ }
+ com.google.phishingprotection.v1beta1.ReportPhishingRequest other =
+ (com.google.phishingprotection.v1beta1.ReportPhishingRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (!getUri().equals(other.getUri())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ hash = (37 * hash) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.phishingprotection.v1beta1.ReportPhishingRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The ReportPhishing request message. + *+ * + * Protobuf type {@code google.cloud.phishingprotection.v1beta1.ReportPhishingRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The name of the project for which the report will be created, + * in the format "projects/{project_number}". + *+ * + *
string parent = 1;
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The name of the project for which the report will be created, + * in the format "projects/{project_number}". + *+ * + *
string parent = 1;
+ */
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The name of the project for which the report will be created, + * in the format "projects/{project_number}". + *+ * + *
string parent = 1;
+ */
+ public Builder setParent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The name of the project for which the report will be created, + * in the format "projects/{project_number}". + *+ * + *
string parent = 1;
+ */
+ public Builder clearParent() {
+
+ parent_ = getDefaultInstance().getParent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The name of the project for which the report will be created, + * in the format "projects/{project_number}". + *+ * + *
string parent = 1;
+ */
+ public Builder setParentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object uri_ = "";
+ /**
+ *
+ *
+ * + * The URI that is being reported for phishing content to be analyzed. + *+ * + *
string uri = 2;
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The URI that is being reported for phishing content to be analyzed. + *+ * + *
string uri = 2;
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The URI that is being reported for phishing content to be analyzed. + *+ * + *
string uri = 2;
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ uri_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The URI that is being reported for phishing content to be analyzed. + *+ * + *
string uri = 2;
+ */
+ public Builder clearUri() {
+
+ uri_ = getDefaultInstance().getUri();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The URI that is being reported for phishing content to be analyzed. + *+ * + *
string uri = 2;
+ */
+ public Builder setUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ uri_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.phishingprotection.v1beta1.ReportPhishingRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.phishingprotection.v1beta1.ReportPhishingRequest)
+ private static final com.google.phishingprotection.v1beta1.ReportPhishingRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.phishingprotection.v1beta1.ReportPhishingRequest();
+ }
+
+ public static com.google.phishingprotection.v1beta1.ReportPhishingRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. The name of the project for which the report will be created, + * in the format "projects/{project_number}". + *+ * + *
string parent = 1;
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ * + * Required. The name of the project for which the report will be created, + * in the format "projects/{project_number}". + *+ * + *
string parent = 1;
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ * + * The URI that is being reported for phishing content to be analyzed. + *+ * + *
string uri = 2;
+ */
+ java.lang.String getUri();
+ /**
+ *
+ *
+ * + * The URI that is being reported for phishing content to be analyzed. + *+ * + *
string uri = 2;
+ */
+ com.google.protobuf.ByteString getUriBytes();
+}
diff --git a/google-api-grpc/proto-google-cloud-phishingprotection-v1beta1/src/main/java/com/google/phishingprotection/v1beta1/ReportPhishingResponse.java b/google-api-grpc/proto-google-cloud-phishingprotection-v1beta1/src/main/java/com/google/phishingprotection/v1beta1/ReportPhishingResponse.java
new file mode 100644
index 000000000000..bcdacad2d789
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-phishingprotection-v1beta1/src/main/java/com/google/phishingprotection/v1beta1/ReportPhishingResponse.java
@@ -0,0 +1,439 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/phishingprotection/v1beta1/phishingprotection.proto
+
+package com.google.phishingprotection.v1beta1;
+
+/**
+ *
+ *
+ * + * The ReportPhishing (empty) response message. + *+ * + * Protobuf type {@code google.cloud.phishingprotection.v1beta1.ReportPhishingResponse} + */ +public final class ReportPhishingResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.phishingprotection.v1beta1.ReportPhishingResponse) + ReportPhishingResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReportPhishingResponse.newBuilder() to construct. + private ReportPhishingResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ReportPhishingResponse() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ReportPhishingResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.phishingprotection.v1beta1.PhishingProtectionProto + .internal_static_google_cloud_phishingprotection_v1beta1_ReportPhishingResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.phishingprotection.v1beta1.PhishingProtectionProto + .internal_static_google_cloud_phishingprotection_v1beta1_ReportPhishingResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.phishingprotection.v1beta1.ReportPhishingResponse.class, + com.google.phishingprotection.v1beta1.ReportPhishingResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.phishingprotection.v1beta1.ReportPhishingResponse)) { + return super.equals(obj); + } + com.google.phishingprotection.v1beta1.ReportPhishingResponse other = + (com.google.phishingprotection.v1beta1.ReportPhishingResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.phishingprotection.v1beta1.ReportPhishingResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.phishingprotection.v1beta1.ReportPhishingResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+ * The ReportPhishing (empty) response message. + *+ * + * Protobuf type {@code google.cloud.phishingprotection.v1beta1.ReportPhishingResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
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: + * + *
+ *
+ * try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.create()) {
+ * ProjectName parent = ProjectName.of("[PROJECT]");
+ * String uri = "";
+ * ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.reportPhishing(parent, uri);
+ * }
+ *
+ *
+ *
+ * Note: close() needs to be called on the phishingProtectionServiceV1Beta1Client object to clean + * up resources such as threads. In the example above, try-with-resources is used, which + * automatically calls close(). + * + *
The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *
See the individual methods for example code. + * + *
Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *
This class can be customized by passing in a custom instance of + * PhishingProtectionServiceV1Beta1Settings to create(). For example: + * + *
To customize credentials: + * + *
+ *
+ * PhishingProtectionServiceV1Beta1Settings phishingProtectionServiceV1Beta1Settings =
+ * PhishingProtectionServiceV1Beta1Settings.newBuilder()
+ * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ * .build();
+ * PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
+ * PhishingProtectionServiceV1Beta1Client.create(phishingProtectionServiceV1Beta1Settings);
+ *
+ *
+ *
+ * To customize the endpoint:
+ *
+ *
+ *
+ * PhishingProtectionServiceV1Beta1Settings phishingProtectionServiceV1Beta1Settings =
+ * PhishingProtectionServiceV1Beta1Settings.newBuilder().setEndpoint(myEndpoint).build();
+ * PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
+ * PhishingProtectionServiceV1Beta1Client.create(phishingProtectionServiceV1Beta1Settings);
+ *
+ *
+ */
+@Generated("by gapic-generator")
+@BetaApi
+public class PhishingProtectionServiceV1Beta1Client implements BackgroundResource {
+ private final PhishingProtectionServiceV1Beta1Settings settings;
+ private final PhishingProtectionServiceV1Beta1Stub stub;
+
+ /** Constructs an instance of PhishingProtectionServiceV1Beta1Client with default settings. */
+ public static final PhishingProtectionServiceV1Beta1Client create() throws IOException {
+ return create(PhishingProtectionServiceV1Beta1Settings.newBuilder().build());
+ }
+
+ /**
+ * Constructs an instance of PhishingProtectionServiceV1Beta1Client, using the given settings. The
+ * channels are created based on the settings passed in, or defaults for any settings that are not
+ * set.
+ */
+ public static final PhishingProtectionServiceV1Beta1Client create(
+ PhishingProtectionServiceV1Beta1Settings settings) throws IOException {
+ return new PhishingProtectionServiceV1Beta1Client(settings);
+ }
+
+ /**
+ * Constructs an instance of PhishingProtectionServiceV1Beta1Client, using the given stub for
+ * making calls. This is for advanced usage - prefer to use
+ * PhishingProtectionServiceV1Beta1Settings}.
+ */
+ @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+ public static final PhishingProtectionServiceV1Beta1Client create(
+ PhishingProtectionServiceV1Beta1Stub stub) {
+ return new PhishingProtectionServiceV1Beta1Client(stub);
+ }
+
+ /**
+ * Constructs an instance of PhishingProtectionServiceV1Beta1Client, using the given settings.
+ * This is protected so that it is easy to make a subclass, but otherwise, the static factory
+ * methods should be preferred.
+ */
+ protected PhishingProtectionServiceV1Beta1Client(
+ PhishingProtectionServiceV1Beta1Settings settings) throws IOException {
+ this.settings = settings;
+ this.stub =
+ ((PhishingProtectionServiceV1Beta1StubSettings) settings.getStubSettings()).createStub();
+ }
+
+ @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+ protected PhishingProtectionServiceV1Beta1Client(PhishingProtectionServiceV1Beta1Stub stub) {
+ this.settings = null;
+ this.stub = stub;
+ }
+
+ public final PhishingProtectionServiceV1Beta1Settings getSettings() {
+ return settings;
+ }
+
+ @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+ public PhishingProtectionServiceV1Beta1Stub getStub() {
+ return stub;
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD
+ /**
+ * Reports a URI suspected of containing phishing content to be reviewed. Once the report review
+ * is completed, if its result verifies the existince of malicious phishing content, the site will
+ * be added the to [Google's Social Engineering
+ * lists](https://support.google.com/webmasters/answer/6350487/) in order to protect users that
+ * could get exposed to this threat in the future.
+ *
+ * Sample code: + * + *
+ * try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.create()) {
+ * ProjectName parent = ProjectName.of("[PROJECT]");
+ * String uri = "";
+ * ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.reportPhishing(parent, uri);
+ * }
+ *
+ *
+ * @param parent Required. The name of the project for which the report will be created, in the
+ * format "projects/{project_number}".
+ * @param uri The URI that is being reported for phishing content to be analyzed.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ReportPhishingResponse reportPhishing(ProjectName parent, String uri) {
+
+ ReportPhishingRequest request =
+ ReportPhishingRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setUri(uri)
+ .build();
+ return reportPhishing(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD
+ /**
+ * Reports a URI suspected of containing phishing content to be reviewed. Once the report review
+ * is completed, if its result verifies the existince of malicious phishing content, the site will
+ * be added the to [Google's Social Engineering
+ * lists](https://support.google.com/webmasters/answer/6350487/) in order to protect users that
+ * could get exposed to this threat in the future.
+ *
+ * Sample code: + * + *
+ * try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.create()) {
+ * ProjectName parent = ProjectName.of("[PROJECT]");
+ * String uri = "";
+ * ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.reportPhishing(parent.toString(), uri);
+ * }
+ *
+ *
+ * @param parent Required. The name of the project for which the report will be created, in the
+ * format "projects/{project_number}".
+ * @param uri The URI that is being reported for phishing content to be analyzed.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ReportPhishingResponse reportPhishing(String parent, String uri) {
+
+ ReportPhishingRequest request =
+ ReportPhishingRequest.newBuilder().setParent(parent).setUri(uri).build();
+ return reportPhishing(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD
+ /**
+ * Reports a URI suspected of containing phishing content to be reviewed. Once the report review
+ * is completed, if its result verifies the existince of malicious phishing content, the site will
+ * be added the to [Google's Social Engineering
+ * lists](https://support.google.com/webmasters/answer/6350487/) in order to protect users that
+ * could get exposed to this threat in the future.
+ *
+ * Sample code: + * + *
+ * try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.create()) {
+ * ProjectName parent = ProjectName.of("[PROJECT]");
+ * String uri = "";
+ * ReportPhishingRequest request = ReportPhishingRequest.newBuilder()
+ * .setParent(parent.toString())
+ * .setUri(uri)
+ * .build();
+ * ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.reportPhishing(request);
+ * }
+ *
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ReportPhishingResponse reportPhishing(ReportPhishingRequest request) {
+ return reportPhishingCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD
+ /**
+ * Reports a URI suspected of containing phishing content to be reviewed. Once the report review
+ * is completed, if its result verifies the existince of malicious phishing content, the site will
+ * be added the to [Google's Social Engineering
+ * lists](https://support.google.com/webmasters/answer/6350487/) in order to protect users that
+ * could get exposed to this threat in the future.
+ *
+ * Sample code: + * + *
+ * try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.create()) {
+ * ProjectName parent = ProjectName.of("[PROJECT]");
+ * String uri = "";
+ * ReportPhishingRequest request = ReportPhishingRequest.newBuilder()
+ * .setParent(parent.toString())
+ * .setUri(uri)
+ * .build();
+ * ApiFuture<ReportPhishingResponse> future = phishingProtectionServiceV1Beta1Client.reportPhishingCallable().futureCall(request);
+ * // Do something
+ * ReportPhishingResponse response = future.get();
+ * }
+ *
+ */
+ public final UnaryCallableThe default instance has everything set to sensible defaults: + * + *
The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. For + * example, to set the total timeout of reportPhishing to 30 seconds: + * + *
+ *
+ * PhishingProtectionServiceV1Beta1Settings.Builder phishingProtectionServiceV1Beta1SettingsBuilder =
+ * PhishingProtectionServiceV1Beta1Settings.newBuilder();
+ * phishingProtectionServiceV1Beta1SettingsBuilder.reportPhishingSettings().getRetrySettings().toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30));
+ * PhishingProtectionServiceV1Beta1Settings phishingProtectionServiceV1Beta1Settings = phishingProtectionServiceV1Beta1SettingsBuilder.build();
+ *
+ *
+ */
+@Generated("by gapic-generator")
+@BetaApi
+public class PhishingProtectionServiceV1Beta1Settings
+ extends ClientSettingsNote: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction The interfaces provided are listed below, along with usage samples.
+ *
+ * ====================================== PhishingProtectionServiceV1Beta1Client
+ * ======================================
+ *
+ * Service Description: Service to report phishing URIs.
+ *
+ * Sample for PhishingProtectionServiceV1Beta1Client:
+ *
+ * This class is for advanced usage.
+ */
+@Generated("by gapic-generator")
+@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
+public class GrpcPhishingProtectionServiceV1Beta1CallableFactory
+ implements GrpcStubCallableFactory {
+ @Override
+ public This class is for advanced usage and reflects the underlying API directly.
+ */
+@Generated("by gapic-generator")
+@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+public class GrpcPhishingProtectionServiceV1Beta1Stub extends PhishingProtectionServiceV1Beta1Stub {
+
+ private static final MethodDescriptor This class is for advanced usage and reflects the underlying API directly.
+ */
+@Generated("by gapic-generator")
+@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+public abstract class PhishingProtectionServiceV1Beta1Stub implements BackgroundResource {
+
+ public UnaryCallable The default instance has everything set to sensible defaults:
+ *
+ * The builder of this class is recursive, so contained classes are themselves builders. When
+ * build() is called, the tree of builders is called to create the complete settings object. For
+ * example, to set the total timeout of reportPhishing to 30 seconds:
+ *
+ * Note: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction
+ *
+ */
+package com.google.cloud.phishingprotection.v1beta1;
diff --git a/google-cloud-clients/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/GrpcPhishingProtectionServiceV1Beta1CallableFactory.java b/google-cloud-clients/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/GrpcPhishingProtectionServiceV1Beta1CallableFactory.java
new file mode 100644
index 000000000000..92b5e6f01a98
--- /dev/null
+++ b/google-cloud-clients/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/GrpcPhishingProtectionServiceV1Beta1CallableFactory.java
@@ -0,0 +1,116 @@
+/*
+ * Copyright 2019 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.google.cloud.phishingprotection.v1beta1.stub;
+
+import com.google.api.core.BetaApi;
+import com.google.api.gax.grpc.GrpcCallSettings;
+import com.google.api.gax.grpc.GrpcCallableFactory;
+import com.google.api.gax.grpc.GrpcStubCallableFactory;
+import com.google.api.gax.rpc.BatchingCallSettings;
+import com.google.api.gax.rpc.BidiStreamingCallable;
+import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.ClientStreamingCallable;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
+import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.ServerStreamingCallSettings;
+import com.google.api.gax.rpc.ServerStreamingCallable;
+import com.google.api.gax.rpc.StreamingCallSettings;
+import com.google.api.gax.rpc.UnaryCallSettings;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.longrunning.stub.OperationsStub;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * gRPC callable factory implementation for Phishing Protection API.
+ *
+ *
+ * try (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.create()) {
+ * ProjectName parent = ProjectName.of("[PROJECT]");
+ * String uri = "";
+ * ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.reportPhishing(parent, uri);
+ * }
+ *
+ *
+ *
+ *
+ *
+ *
+ */
+@Generated("by gapic-generator")
+@BetaApi
+public class PhishingProtectionServiceV1Beta1StubSettings
+ extends StubSettings
+ * PhishingProtectionServiceV1Beta1StubSettings.Builder phishingProtectionServiceV1Beta1SettingsBuilder =
+ * PhishingProtectionServiceV1Beta1StubSettings.newBuilder();
+ * phishingProtectionServiceV1Beta1SettingsBuilder.reportPhishingSettings().getRetrySettings().toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30));
+ * PhishingProtectionServiceV1Beta1StubSettings phishingProtectionServiceV1Beta1Settings = phishingProtectionServiceV1Beta1SettingsBuilder.build();
+ *
+ *