diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingExclusionName.java index 74678cd93..625e35456 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingExclusionName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class BillingExclusionName extends ExclusionName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingLogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingLogName.java index 25453459c..9e77efcf6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingLogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingLogName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class BillingLogName extends LogName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingName.java index a5798b4ee..f9a33a3b2 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class BillingName extends ParentName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingSinkName.java index 598f15313..e2de9cc00 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/BillingSinkName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class BillingSinkName extends SinkName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ExclusionName.java index 470de6147..8140bcf21 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ExclusionName.java @@ -18,7 +18,7 @@ import com.google.api.resourcenames.ResourceName; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public abstract class ExclusionName implements ResourceName { protected ExclusionName() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ExclusionNames.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ExclusionNames.java index 4a91151ee..a00c774dd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ExclusionNames.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ExclusionNames.java @@ -16,8 +16,13 @@ package com.google.logging.type; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ExclusionNames { private ExclusionNames() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderExclusionName.java index eaec277d2..4bb11fb33 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderExclusionName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class FolderExclusionName extends ExclusionName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderLogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderLogName.java index f3f136639..093834734 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderLogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderLogName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class FolderLogName extends LogName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderName.java index 87f97c235..b03feaa25 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class FolderName extends ParentName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderSinkName.java index 72995c9e7..db6625b0d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/FolderSinkName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class FolderSinkName extends SinkName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequest.java index 8ce7ad6b8..eaedfca5f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequest.java @@ -49,6 +49,12 @@ private HttpRequest() { protocol_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new HttpRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -62,7 +68,6 @@ private HttpRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -216,6 +221,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string request_method = 1; + * + * @return The requestMethod. */ public java.lang.String getRequestMethod() { java.lang.Object ref = requestMethod_; @@ -236,6 +243,8 @@ public java.lang.String getRequestMethod() { * * * string request_method = 1; + * + * @return The bytes for requestMethod. */ public com.google.protobuf.ByteString getRequestMethodBytes() { java.lang.Object ref = requestMethod_; @@ -261,6 +270,8 @@ public com.google.protobuf.ByteString getRequestMethodBytes() { * * * string request_url = 2; + * + * @return The requestUrl. */ public java.lang.String getRequestUrl() { java.lang.Object ref = requestUrl_; @@ -283,6 +294,8 @@ public java.lang.String getRequestUrl() { * * * string request_url = 2; + * + * @return The bytes for requestUrl. */ public com.google.protobuf.ByteString getRequestUrlBytes() { java.lang.Object ref = requestUrl_; @@ -307,6 +320,8 @@ public com.google.protobuf.ByteString getRequestUrlBytes() { * * * int64 request_size = 3; + * + * @return The requestSize. */ public long getRequestSize() { return requestSize_; @@ -323,6 +338,8 @@ public long getRequestSize() { * * * int32 status = 4; + * + * @return The status. */ public int getStatus() { return status_; @@ -339,6 +356,8 @@ public int getStatus() { * * * int64 response_size = 5; + * + * @return The responseSize. */ public long getResponseSize() { return responseSize_; @@ -356,6 +375,8 @@ public long getResponseSize() { * * * string user_agent = 6; + * + * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; @@ -378,6 +399,8 @@ public java.lang.String getUserAgent() { * * * string user_agent = 6; + * + * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; @@ -402,6 +425,8 @@ public com.google.protobuf.ByteString getUserAgentBytes() { * * * string remote_ip = 7; + * + * @return The remoteIp. */ public java.lang.String getRemoteIp() { java.lang.Object ref = remoteIp_; @@ -423,6 +448,8 @@ public java.lang.String getRemoteIp() { * * * string remote_ip = 7; + * + * @return The bytes for remoteIp. */ public com.google.protobuf.ByteString getRemoteIpBytes() { java.lang.Object ref = remoteIp_; @@ -447,6 +474,8 @@ public com.google.protobuf.ByteString getRemoteIpBytes() { * * * string server_ip = 13; + * + * @return The serverIp. */ public java.lang.String getServerIp() { java.lang.Object ref = serverIp_; @@ -468,6 +497,8 @@ public java.lang.String getServerIp() { * * * string server_ip = 13; + * + * @return The bytes for serverIp. */ public com.google.protobuf.ByteString getServerIpBytes() { java.lang.Object ref = serverIp_; @@ -493,6 +524,8 @@ public com.google.protobuf.ByteString getServerIpBytes() { * * * string referer = 8; + * + * @return The referer. */ public java.lang.String getReferer() { java.lang.Object ref = referer_; @@ -515,6 +548,8 @@ public java.lang.String getReferer() { * * * string referer = 8; + * + * @return The bytes for referer. */ public com.google.protobuf.ByteString getRefererBytes() { java.lang.Object ref = referer_; @@ -539,6 +574,8 @@ public com.google.protobuf.ByteString getRefererBytes() { * * * .google.protobuf.Duration latency = 14; + * + * @return Whether the latency field is set. */ public boolean hasLatency() { return latency_ != null; @@ -552,6 +589,8 @@ public boolean hasLatency() { * * * .google.protobuf.Duration latency = 14; + * + * @return The latency. */ public com.google.protobuf.Duration getLatency() { return latency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : latency_; @@ -580,6 +619,8 @@ public com.google.protobuf.DurationOrBuilder getLatencyOrBuilder() { * * * bool cache_lookup = 11; + * + * @return The cacheLookup. */ public boolean getCacheLookup() { return cacheLookup_; @@ -596,6 +637,8 @@ public boolean getCacheLookup() { * * * bool cache_hit = 9; + * + * @return The cacheHit. */ public boolean getCacheHit() { return cacheHit_; @@ -613,6 +656,8 @@ public boolean getCacheHit() { * * * bool cache_validated_with_origin_server = 10; + * + * @return The cacheValidatedWithOriginServer. */ public boolean getCacheValidatedWithOriginServer() { return cacheValidatedWithOriginServer_; @@ -629,6 +674,8 @@ public boolean getCacheValidatedWithOriginServer() { * * * int64 cache_fill_bytes = 12; + * + * @return The cacheFillBytes. */ public long getCacheFillBytes() { return cacheFillBytes_; @@ -644,6 +691,8 @@ public long getCacheFillBytes() { * * * string protocol = 15; + * + * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; @@ -664,6 +713,8 @@ public java.lang.String getProtocol() { * * * string protocol = 15; + * + * @return The bytes for protocol. */ public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; @@ -1234,6 +1285,8 @@ public Builder mergeFrom( * * * string request_method = 1; + * + * @return The requestMethod. */ public java.lang.String getRequestMethod() { java.lang.Object ref = requestMethod_; @@ -1254,6 +1307,8 @@ public java.lang.String getRequestMethod() { * * * string request_method = 1; + * + * @return The bytes for requestMethod. */ public com.google.protobuf.ByteString getRequestMethodBytes() { java.lang.Object ref = requestMethod_; @@ -1274,6 +1329,9 @@ public com.google.protobuf.ByteString getRequestMethodBytes() { * * * string request_method = 1; + * + * @param value The requestMethod to set. + * @return This builder for chaining. */ public Builder setRequestMethod(java.lang.String value) { if (value == null) { @@ -1292,6 +1350,8 @@ public Builder setRequestMethod(java.lang.String value) { * * * string request_method = 1; + * + * @return This builder for chaining. */ public Builder clearRequestMethod() { @@ -1307,6 +1367,9 @@ public Builder clearRequestMethod() { * * * string request_method = 1; + * + * @param value The bytes for requestMethod to set. + * @return This builder for chaining. */ public Builder setRequestMethodBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1330,6 +1393,8 @@ public Builder setRequestMethodBytes(com.google.protobuf.ByteString value) { * * * string request_url = 2; + * + * @return The requestUrl. */ public java.lang.String getRequestUrl() { java.lang.Object ref = requestUrl_; @@ -1352,6 +1417,8 @@ public java.lang.String getRequestUrl() { * * * string request_url = 2; + * + * @return The bytes for requestUrl. */ public com.google.protobuf.ByteString getRequestUrlBytes() { java.lang.Object ref = requestUrl_; @@ -1374,6 +1441,9 @@ public com.google.protobuf.ByteString getRequestUrlBytes() { * * * string request_url = 2; + * + * @param value The requestUrl to set. + * @return This builder for chaining. */ public Builder setRequestUrl(java.lang.String value) { if (value == null) { @@ -1394,6 +1464,8 @@ public Builder setRequestUrl(java.lang.String value) { * * * string request_url = 2; + * + * @return This builder for chaining. */ public Builder clearRequestUrl() { @@ -1411,6 +1483,9 @@ public Builder clearRequestUrl() { * * * string request_url = 2; + * + * @param value The bytes for requestUrl to set. + * @return This builder for chaining. */ public Builder setRequestUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1433,6 +1508,8 @@ public Builder setRequestUrlBytes(com.google.protobuf.ByteString value) { * * * int64 request_size = 3; + * + * @return The requestSize. */ public long getRequestSize() { return requestSize_; @@ -1446,6 +1523,9 @@ public long getRequestSize() { * * * int64 request_size = 3; + * + * @param value The requestSize to set. + * @return This builder for chaining. */ public Builder setRequestSize(long value) { @@ -1462,6 +1542,8 @@ public Builder setRequestSize(long value) { * * * int64 request_size = 3; + * + * @return This builder for chaining. */ public Builder clearRequestSize() { @@ -1480,6 +1562,8 @@ public Builder clearRequestSize() { * * * int32 status = 4; + * + * @return The status. */ public int getStatus() { return status_; @@ -1493,6 +1577,9 @@ public int getStatus() { * * * int32 status = 4; + * + * @param value The status to set. + * @return This builder for chaining. */ public Builder setStatus(int value) { @@ -1509,6 +1596,8 @@ public Builder setStatus(int value) { * * * int32 status = 4; + * + * @return This builder for chaining. */ public Builder clearStatus() { @@ -1527,6 +1616,8 @@ public Builder clearStatus() { * * * int64 response_size = 5; + * + * @return The responseSize. */ public long getResponseSize() { return responseSize_; @@ -1540,6 +1631,9 @@ public long getResponseSize() { * * * int64 response_size = 5; + * + * @param value The responseSize to set. + * @return This builder for chaining. */ public Builder setResponseSize(long value) { @@ -1556,6 +1650,8 @@ public Builder setResponseSize(long value) { * * * int64 response_size = 5; + * + * @return This builder for chaining. */ public Builder clearResponseSize() { @@ -1575,6 +1671,8 @@ public Builder clearResponseSize() { * * * string user_agent = 6; + * + * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; @@ -1597,6 +1695,8 @@ public java.lang.String getUserAgent() { * * * string user_agent = 6; + * + * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; @@ -1619,6 +1719,9 @@ public com.google.protobuf.ByteString getUserAgentBytes() { * * * string user_agent = 6; + * + * @param value The userAgent to set. + * @return This builder for chaining. */ public Builder setUserAgent(java.lang.String value) { if (value == null) { @@ -1639,6 +1742,8 @@ public Builder setUserAgent(java.lang.String value) { * * * string user_agent = 6; + * + * @return This builder for chaining. */ public Builder clearUserAgent() { @@ -1656,6 +1761,9 @@ public Builder clearUserAgent() { * * * string user_agent = 6; + * + * @param value The bytes for userAgent to set. + * @return This builder for chaining. */ public Builder setUserAgentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1678,6 +1786,8 @@ public Builder setUserAgentBytes(com.google.protobuf.ByteString value) { * * * string remote_ip = 7; + * + * @return The remoteIp. */ public java.lang.String getRemoteIp() { java.lang.Object ref = remoteIp_; @@ -1699,6 +1809,8 @@ public java.lang.String getRemoteIp() { * * * string remote_ip = 7; + * + * @return The bytes for remoteIp. */ public com.google.protobuf.ByteString getRemoteIpBytes() { java.lang.Object ref = remoteIp_; @@ -1720,6 +1832,9 @@ public com.google.protobuf.ByteString getRemoteIpBytes() { * * * string remote_ip = 7; + * + * @param value The remoteIp to set. + * @return This builder for chaining. */ public Builder setRemoteIp(java.lang.String value) { if (value == null) { @@ -1739,6 +1854,8 @@ public Builder setRemoteIp(java.lang.String value) { * * * string remote_ip = 7; + * + * @return This builder for chaining. */ public Builder clearRemoteIp() { @@ -1755,6 +1872,9 @@ public Builder clearRemoteIp() { * * * string remote_ip = 7; + * + * @param value The bytes for remoteIp to set. + * @return This builder for chaining. */ public Builder setRemoteIpBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1777,6 +1897,8 @@ public Builder setRemoteIpBytes(com.google.protobuf.ByteString value) { * * * string server_ip = 13; + * + * @return The serverIp. */ public java.lang.String getServerIp() { java.lang.Object ref = serverIp_; @@ -1798,6 +1920,8 @@ public java.lang.String getServerIp() { * * * string server_ip = 13; + * + * @return The bytes for serverIp. */ public com.google.protobuf.ByteString getServerIpBytes() { java.lang.Object ref = serverIp_; @@ -1819,6 +1943,9 @@ public com.google.protobuf.ByteString getServerIpBytes() { * * * string server_ip = 13; + * + * @param value The serverIp to set. + * @return This builder for chaining. */ public Builder setServerIp(java.lang.String value) { if (value == null) { @@ -1838,6 +1965,8 @@ public Builder setServerIp(java.lang.String value) { * * * string server_ip = 13; + * + * @return This builder for chaining. */ public Builder clearServerIp() { @@ -1854,6 +1983,9 @@ public Builder clearServerIp() { * * * string server_ip = 13; + * + * @param value The bytes for serverIp to set. + * @return This builder for chaining. */ public Builder setServerIpBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1877,6 +2009,8 @@ public Builder setServerIpBytes(com.google.protobuf.ByteString value) { * * * string referer = 8; + * + * @return The referer. */ public java.lang.String getReferer() { java.lang.Object ref = referer_; @@ -1899,6 +2033,8 @@ public java.lang.String getReferer() { * * * string referer = 8; + * + * @return The bytes for referer. */ public com.google.protobuf.ByteString getRefererBytes() { java.lang.Object ref = referer_; @@ -1921,6 +2057,9 @@ public com.google.protobuf.ByteString getRefererBytes() { * * * string referer = 8; + * + * @param value The referer to set. + * @return This builder for chaining. */ public Builder setReferer(java.lang.String value) { if (value == null) { @@ -1941,6 +2080,8 @@ public Builder setReferer(java.lang.String value) { * * * string referer = 8; + * + * @return This builder for chaining. */ public Builder clearReferer() { @@ -1958,6 +2099,9 @@ public Builder clearReferer() { * * * string referer = 8; + * + * @param value The bytes for referer to set. + * @return This builder for chaining. */ public Builder setRefererBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1985,6 +2129,8 @@ public Builder setRefererBytes(com.google.protobuf.ByteString value) { * * * .google.protobuf.Duration latency = 14; + * + * @return Whether the latency field is set. */ public boolean hasLatency() { return latencyBuilder_ != null || latency_ != null; @@ -1998,6 +2144,8 @@ public boolean hasLatency() { * * * .google.protobuf.Duration latency = 14; + * + * @return The latency. */ public com.google.protobuf.Duration getLatency() { if (latencyBuilder_ == null) { @@ -2163,6 +2311,8 @@ public com.google.protobuf.DurationOrBuilder getLatencyOrBuilder() { * * * bool cache_lookup = 11; + * + * @return The cacheLookup. */ public boolean getCacheLookup() { return cacheLookup_; @@ -2175,6 +2325,9 @@ public boolean getCacheLookup() { * * * bool cache_lookup = 11; + * + * @param value The cacheLookup to set. + * @return This builder for chaining. */ public Builder setCacheLookup(boolean value) { @@ -2190,6 +2343,8 @@ public Builder setCacheLookup(boolean value) { * * * bool cache_lookup = 11; + * + * @return This builder for chaining. */ public Builder clearCacheLookup() { @@ -2208,6 +2363,8 @@ public Builder clearCacheLookup() { * * * bool cache_hit = 9; + * + * @return The cacheHit. */ public boolean getCacheHit() { return cacheHit_; @@ -2221,6 +2378,9 @@ public boolean getCacheHit() { * * * bool cache_hit = 9; + * + * @param value The cacheHit to set. + * @return This builder for chaining. */ public Builder setCacheHit(boolean value) { @@ -2237,6 +2397,8 @@ public Builder setCacheHit(boolean value) { * * * bool cache_hit = 9; + * + * @return This builder for chaining. */ public Builder clearCacheHit() { @@ -2256,6 +2418,8 @@ public Builder clearCacheHit() { * * * bool cache_validated_with_origin_server = 10; + * + * @return The cacheValidatedWithOriginServer. */ public boolean getCacheValidatedWithOriginServer() { return cacheValidatedWithOriginServer_; @@ -2270,6 +2434,9 @@ public boolean getCacheValidatedWithOriginServer() { * * * bool cache_validated_with_origin_server = 10; + * + * @param value The cacheValidatedWithOriginServer to set. + * @return This builder for chaining. */ public Builder setCacheValidatedWithOriginServer(boolean value) { @@ -2287,6 +2454,8 @@ public Builder setCacheValidatedWithOriginServer(boolean value) { * * * bool cache_validated_with_origin_server = 10; + * + * @return This builder for chaining. */ public Builder clearCacheValidatedWithOriginServer() { @@ -2305,6 +2474,8 @@ public Builder clearCacheValidatedWithOriginServer() { * * * int64 cache_fill_bytes = 12; + * + * @return The cacheFillBytes. */ public long getCacheFillBytes() { return cacheFillBytes_; @@ -2318,6 +2489,9 @@ public long getCacheFillBytes() { * * * int64 cache_fill_bytes = 12; + * + * @param value The cacheFillBytes to set. + * @return This builder for chaining. */ public Builder setCacheFillBytes(long value) { @@ -2334,6 +2508,8 @@ public Builder setCacheFillBytes(long value) { * * * int64 cache_fill_bytes = 12; + * + * @return This builder for chaining. */ public Builder clearCacheFillBytes() { @@ -2351,6 +2527,8 @@ public Builder clearCacheFillBytes() { * * * string protocol = 15; + * + * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; @@ -2371,6 +2549,8 @@ public java.lang.String getProtocol() { * * * string protocol = 15; + * + * @return The bytes for protocol. */ public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; @@ -2391,6 +2571,9 @@ public com.google.protobuf.ByteString getProtocolBytes() { * * * string protocol = 15; + * + * @param value The protocol to set. + * @return This builder for chaining. */ public Builder setProtocol(java.lang.String value) { if (value == null) { @@ -2409,6 +2592,8 @@ public Builder setProtocol(java.lang.String value) { * * * string protocol = 15; + * + * @return This builder for chaining. */ public Builder clearProtocol() { @@ -2424,6 +2609,9 @@ public Builder clearProtocol() { * * * string protocol = 15; + * + * @param value The bytes for protocol to set. + * @return This builder for chaining. */ public Builder setProtocolBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequestOrBuilder.java index 5aadef4e1..a8d70a1ad 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequestOrBuilder.java @@ -31,6 +31,8 @@ public interface HttpRequestOrBuilder * * * string request_method = 1; + * + * @return The requestMethod. */ java.lang.String getRequestMethod(); /** @@ -41,6 +43,8 @@ public interface HttpRequestOrBuilder * * * string request_method = 1; + * + * @return The bytes for requestMethod. */ com.google.protobuf.ByteString getRequestMethodBytes(); @@ -54,6 +58,8 @@ public interface HttpRequestOrBuilder * * * string request_url = 2; + * + * @return The requestUrl. */ java.lang.String getRequestUrl(); /** @@ -66,6 +72,8 @@ public interface HttpRequestOrBuilder * * * string request_url = 2; + * + * @return The bytes for requestUrl. */ com.google.protobuf.ByteString getRequestUrlBytes(); @@ -78,6 +86,8 @@ public interface HttpRequestOrBuilder * * * int64 request_size = 3; + * + * @return The requestSize. */ long getRequestSize(); @@ -90,6 +100,8 @@ public interface HttpRequestOrBuilder * * * int32 status = 4; + * + * @return The status. */ int getStatus(); @@ -102,6 +114,8 @@ public interface HttpRequestOrBuilder * * * int64 response_size = 5; + * + * @return The responseSize. */ long getResponseSize(); @@ -115,6 +129,8 @@ public interface HttpRequestOrBuilder * * * string user_agent = 6; + * + * @return The userAgent. */ java.lang.String getUserAgent(); /** @@ -127,6 +143,8 @@ public interface HttpRequestOrBuilder * * * string user_agent = 6; + * + * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); @@ -139,6 +157,8 @@ public interface HttpRequestOrBuilder * * * string remote_ip = 7; + * + * @return The remoteIp. */ java.lang.String getRemoteIp(); /** @@ -150,6 +170,8 @@ public interface HttpRequestOrBuilder * * * string remote_ip = 7; + * + * @return The bytes for remoteIp. */ com.google.protobuf.ByteString getRemoteIpBytes(); @@ -162,6 +184,8 @@ public interface HttpRequestOrBuilder * * * string server_ip = 13; + * + * @return The serverIp. */ java.lang.String getServerIp(); /** @@ -173,6 +197,8 @@ public interface HttpRequestOrBuilder * * * string server_ip = 13; + * + * @return The bytes for serverIp. */ com.google.protobuf.ByteString getServerIpBytes(); @@ -186,6 +212,8 @@ public interface HttpRequestOrBuilder * * * string referer = 8; + * + * @return The referer. */ java.lang.String getReferer(); /** @@ -198,6 +226,8 @@ public interface HttpRequestOrBuilder * * * string referer = 8; + * + * @return The bytes for referer. */ com.google.protobuf.ByteString getRefererBytes(); @@ -210,6 +240,8 @@ public interface HttpRequestOrBuilder * * * .google.protobuf.Duration latency = 14; + * + * @return Whether the latency field is set. */ boolean hasLatency(); /** @@ -221,6 +253,8 @@ public interface HttpRequestOrBuilder * * * .google.protobuf.Duration latency = 14; + * + * @return The latency. */ com.google.protobuf.Duration getLatency(); /** @@ -243,6 +277,8 @@ public interface HttpRequestOrBuilder * * * bool cache_lookup = 11; + * + * @return The cacheLookup. */ boolean getCacheLookup(); @@ -255,6 +291,8 @@ public interface HttpRequestOrBuilder * * * bool cache_hit = 9; + * + * @return The cacheHit. */ boolean getCacheHit(); @@ -268,6 +306,8 @@ public interface HttpRequestOrBuilder * * * bool cache_validated_with_origin_server = 10; + * + * @return The cacheValidatedWithOriginServer. */ boolean getCacheValidatedWithOriginServer(); @@ -280,6 +320,8 @@ public interface HttpRequestOrBuilder * * * int64 cache_fill_bytes = 12; + * + * @return The cacheFillBytes. */ long getCacheFillBytes(); @@ -291,6 +333,8 @@ public interface HttpRequestOrBuilder * * * string protocol = 15; + * + * @return The protocol. */ java.lang.String getProtocol(); /** @@ -301,6 +345,8 @@ public interface HttpRequestOrBuilder * * * string protocol = 15; + * + * @return The bytes for protocol. */ com.google.protobuf.ByteString getProtocolBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequestProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequestProto.java index 9687c43e4..96de27df2 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequestProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/HttpRequestProto.java @@ -58,21 +58,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002\031Google.Cloud.Logging.Type\312\002\031Google\\Clo" + "ud\\Logging\\Typeb\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DurationProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DurationProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); internal_static_google_logging_type_HttpRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_logging_type_HttpRequest_fieldAccessorTable = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogName.java index 7d7fd0e4f..6549388f1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogName.java @@ -18,7 +18,7 @@ import com.google.api.resourcenames.ResourceName; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public abstract class LogName implements ResourceName { protected LogName() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogNames.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogNames.java index 10e2e132e..c0777e241 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogNames.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogNames.java @@ -16,8 +16,13 @@ package com.google.logging.type; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class LogNames { private LogNames() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogSeverity.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogSeverity.java index 2eb8dfe6e..7a678cfc3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogSeverity.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogSeverity.java @@ -233,12 +233,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static LogSeverity valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static LogSeverity forNumber(int value) { switch (value) { case 0: diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogSeverityProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogSeverityProto.java index dc6f51f77..d2fbc233c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogSeverityProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/LogSeverityProto.java @@ -46,20 +46,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "type;ltype\252\002\031Google.Cloud.Logging.Type\312\002" + "\031Google\\Cloud\\Logging\\Typeb\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); com.google.api.AnnotationsProto.getDescriptor(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/MetricName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/MetricName.java index cae884ffe..7cc601bba 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/MetricName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/MetricName.java @@ -18,7 +18,7 @@ import com.google.api.resourcenames.ResourceName; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public abstract class MetricName implements ResourceName { protected MetricName() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/MetricNames.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/MetricNames.java index 1121349b7..5889fa7d3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/MetricNames.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/MetricNames.java @@ -16,8 +16,13 @@ package com.google.logging.type; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class MetricNames { private MetricNames() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationExclusionName.java index c54d55d1a..cb83742ec 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationExclusionName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class OrganizationExclusionName extends ExclusionName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationLogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationLogName.java index 625a5038d..34ee96dbd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationLogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationLogName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class OrganizationLogName extends LogName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationName.java index 5a51d2a18..fa6e3521d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class OrganizationName extends ParentName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationSinkName.java index 1fde720f1..0b078ef24 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/OrganizationSinkName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class OrganizationSinkName extends SinkName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ParentName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ParentName.java index 77a2dbd98..09e1753b9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ParentName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ParentName.java @@ -18,7 +18,7 @@ import com.google.api.resourcenames.ResourceName; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public abstract class ParentName implements ResourceName { protected ParentName() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ParentNames.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ParentNames.java index f14b175a2..3da8390d8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ParentNames.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ParentNames.java @@ -16,8 +16,13 @@ package com.google.logging.type; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ParentNames { private ParentNames() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectExclusionName.java index 1894b7b86..66a207443 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectExclusionName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ProjectExclusionName extends ExclusionName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectLogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectLogName.java index bc5ebee06..0c0b7a21f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectLogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectLogName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ProjectLogName extends LogName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectMetricName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectMetricName.java index f08774cba..e024b2371 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectMetricName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectMetricName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ProjectMetricName extends MetricName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectName.java index f817a1d0a..e6c419af5 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ProjectName extends ParentName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectSinkName.java index 43c1c7187..1c678cdf8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/ProjectSinkName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ProjectSinkName extends SinkName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/SinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/SinkName.java index 52ea71d3a..f9a4ae10c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/SinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/SinkName.java @@ -18,7 +18,7 @@ import com.google.api.resourcenames.ResourceName; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public abstract class SinkName implements ResourceName { protected SinkName() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/SinkNames.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/SinkNames.java index 42109e74e..38adbb5e8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/SinkNames.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/SinkNames.java @@ -16,8 +16,13 @@ package com.google.logging.type; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class SinkNames { private SinkNames() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedExclusionName.java index bc85ab533..265328198 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedExclusionName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class UntypedExclusionName extends ExclusionName { private final String rawValue; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedLogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedLogName.java index 1156e12fc..b5292191b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedLogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedLogName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class UntypedLogName extends LogName { private final String rawValue; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedMetricName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedMetricName.java index e9457ac60..9bfb1b9de 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedMetricName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedMetricName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class UntypedMetricName extends MetricName { private final String rawValue; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedParentName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedParentName.java index 35b1bb455..14cac1450 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedParentName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedParentName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class UntypedParentName extends ParentName { private final String rawValue; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedSinkName.java index 43f218105..c7bcbba21 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/type/UntypedSinkName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class UntypedSinkName extends SinkName { private final String rawValue; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java index 363ea3ce6..8979eab6b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java @@ -39,6 +39,12 @@ private BigQueryOptions(com.google.protobuf.GeneratedMessageV3.Builder builde private BigQueryOptions() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BigQueryOptions(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private BigQueryOptions( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * bool use_partitioned_tables = 1; + * + * @return The usePartitionedTables. */ public boolean getUsePartitionedTables() { return usePartitionedTables_; @@ -451,6 +458,8 @@ public Builder mergeFrom( * * * bool use_partitioned_tables = 1; + * + * @return The usePartitionedTables. */ public boolean getUsePartitionedTables() { return usePartitionedTables_; @@ -469,6 +478,9 @@ public boolean getUsePartitionedTables() { * * * bool use_partitioned_tables = 1; + * + * @param value The usePartitionedTables to set. + * @return This builder for chaining. */ public Builder setUsePartitionedTables(boolean value) { @@ -490,6 +502,8 @@ public Builder setUsePartitionedTables(boolean value) { * * * bool use_partitioned_tables = 1; + * + * @return This builder for chaining. */ public Builder clearUsePartitionedTables() { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java index 57ef96379..5f3c1f465 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java @@ -37,6 +37,8 @@ public interface BigQueryOptionsOrBuilder * * * bool use_partitioned_tables = 1; + * + * @return The usePartitionedTables. */ boolean getUsePartitionedTables(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingExclusionName.java index 0f76c2fb5..5e4752c7a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingExclusionName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class BillingExclusionName extends ExclusionName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingLogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingLogName.java index bbc42d66a..e7ec0c4d6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingLogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingLogName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class BillingLogName extends LogName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingName.java index 32117461f..d53857f1f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class BillingName extends ParentName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingSinkName.java index 0b3bcbf62..1c3351e5c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingSinkName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class BillingSinkName extends SinkName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java index 8823791f0..b90f9f4d2 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java @@ -41,6 +41,12 @@ private CreateExclusionRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateExclusionRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private CreateExclusionRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -136,6 +141,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -161,6 +168,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -185,6 +194,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return Whether the exclusion field is set. */ public boolean hasExclusion() { return exclusion_ != null; @@ -198,6 +209,8 @@ public boolean hasExclusion() { * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return The exclusion. */ public com.google.logging.v2.LogExclusion getExclusion() { return exclusion_ == null @@ -576,6 +589,8 @@ public Builder mergeFrom( * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -601,6 +616,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -626,6 +643,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -649,6 +669,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -669,6 +691,9 @@ public Builder clearParent() { * * * string parent = 1; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -696,6 +721,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return Whether the exclusion field is set. */ public boolean hasExclusion() { return exclusionBuilder_ != null || exclusion_ != null; @@ -709,6 +736,8 @@ public boolean hasExclusion() { * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return The exclusion. */ public com.google.logging.v2.LogExclusion getExclusion() { if (exclusionBuilder_ == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java index 1c5efad42..0e8afba7b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java @@ -36,6 +36,8 @@ public interface CreateExclusionRequestOrBuilder * * * string parent = 1; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -51,6 +53,8 @@ public interface CreateExclusionRequestOrBuilder * * * string parent = 1; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -63,6 +67,8 @@ public interface CreateExclusionRequestOrBuilder * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return Whether the exclusion field is set. */ boolean hasExclusion(); /** @@ -74,6 +80,8 @@ public interface CreateExclusionRequestOrBuilder * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return The exclusion. */ com.google.logging.v2.LogExclusion getExclusion(); /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java index 82ea57d18..fbc3512ad 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java @@ -41,6 +41,12 @@ private CreateLogMetricRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateLogMetricRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private CreateLogMetricRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -155,6 +162,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -179,6 +188,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * .google.logging.v2.LogMetric metric = 2; + * + * @return Whether the metric field is set. */ public boolean hasMetric() { return metric_ != null; @@ -192,6 +203,8 @@ public boolean hasMetric() { * * * .google.logging.v2.LogMetric metric = 2; + * + * @return The metric. */ public com.google.logging.v2.LogMetric getMetric() { return metric_ == null ? com.google.logging.v2.LogMetric.getDefaultInstance() : metric_; @@ -565,6 +578,8 @@ public Builder mergeFrom( * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -587,6 +602,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -609,6 +626,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -629,6 +649,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -646,6 +668,9 @@ public Builder clearParent() { * * * string parent = 1; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -673,6 +698,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * .google.logging.v2.LogMetric metric = 2; + * + * @return Whether the metric field is set. */ public boolean hasMetric() { return metricBuilder_ != null || metric_ != null; @@ -686,6 +713,8 @@ public boolean hasMetric() { * * * .google.logging.v2.LogMetric metric = 2; + * + * @return The metric. */ public com.google.logging.v2.LogMetric getMetric() { if (metricBuilder_ == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java index 1262e53f5..e60d6a83b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface CreateLogMetricRequestOrBuilder * * * string parent = 1; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -45,6 +47,8 @@ public interface CreateLogMetricRequestOrBuilder * * * string parent = 1; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -57,6 +61,8 @@ public interface CreateLogMetricRequestOrBuilder * * * .google.logging.v2.LogMetric metric = 2; + * + * @return Whether the metric field is set. */ boolean hasMetric(); /** @@ -68,6 +74,8 @@ public interface CreateLogMetricRequestOrBuilder * * * .google.logging.v2.LogMetric metric = 2; + * + * @return The metric. */ com.google.logging.v2.LogMetric getMetric(); /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java index cf838d6f9..15df3a695 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java @@ -41,6 +41,12 @@ private CreateSinkRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateSinkRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private CreateSinkRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -140,6 +145,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -165,6 +172,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -189,6 +198,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * .google.logging.v2.LogSink sink = 2; + * + * @return Whether the sink field is set. */ public boolean hasSink() { return sink_ != null; @@ -202,6 +213,8 @@ public boolean hasSink() { * * * .google.logging.v2.LogSink sink = 2; + * + * @return The sink. */ public com.google.logging.v2.LogSink getSink() { return sink_ == null ? com.google.logging.v2.LogSink.getDefaultInstance() : sink_; @@ -239,6 +252,8 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * * * bool unique_writer_identity = 3; + * + * @return The uniqueWriterIdentity. */ public boolean getUniqueWriterIdentity() { return uniqueWriterIdentity_; @@ -616,6 +631,8 @@ public Builder mergeFrom( * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -641,6 +658,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -666,6 +685,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -689,6 +711,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -709,6 +733,9 @@ public Builder clearParent() { * * * string parent = 1; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -736,6 +763,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * .google.logging.v2.LogSink sink = 2; + * + * @return Whether the sink field is set. */ public boolean hasSink() { return sinkBuilder_ != null || sink_ != null; @@ -749,6 +778,8 @@ public boolean hasSink() { * * * .google.logging.v2.LogSink sink = 2; + * + * @return The sink. */ public com.google.logging.v2.LogSink getSink() { if (sinkBuilder_ == null) { @@ -922,6 +953,8 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * * * bool unique_writer_identity = 3; + * + * @return The uniqueWriterIdentity. */ public boolean getUniqueWriterIdentity() { return uniqueWriterIdentity_; @@ -943,6 +976,9 @@ public boolean getUniqueWriterIdentity() { * * * bool unique_writer_identity = 3; + * + * @param value The uniqueWriterIdentity to set. + * @return This builder for chaining. */ public Builder setUniqueWriterIdentity(boolean value) { @@ -967,6 +1003,8 @@ public Builder setUniqueWriterIdentity(boolean value) { * * * bool unique_writer_identity = 3; + * + * @return This builder for chaining. */ public Builder clearUniqueWriterIdentity() { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java index aa7c0d2da..5c298f554 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java @@ -36,6 +36,8 @@ public interface CreateSinkRequestOrBuilder * * * string parent = 1; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -51,6 +53,8 @@ public interface CreateSinkRequestOrBuilder * * * string parent = 1; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -63,6 +67,8 @@ public interface CreateSinkRequestOrBuilder * * * .google.logging.v2.LogSink sink = 2; + * + * @return Whether the sink field is set. */ boolean hasSink(); /** @@ -74,6 +80,8 @@ public interface CreateSinkRequestOrBuilder * * * .google.logging.v2.LogSink sink = 2; + * + * @return The sink. */ com.google.logging.v2.LogSink getSink(); /** @@ -105,6 +113,8 @@ public interface CreateSinkRequestOrBuilder * * * bool unique_writer_identity = 3; + * + * @return The uniqueWriterIdentity. */ boolean getUniqueWriterIdentity(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java index 7daad3bf8..a3803ec92 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java @@ -41,6 +41,12 @@ private DeleteExclusionRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteExclusionRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeleteExclusionRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -146,6 +153,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -489,6 +498,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -514,6 +525,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -539,6 +552,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -562,6 +578,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -582,6 +600,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java index aa73fc050..bcdcffb2e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java @@ -36,6 +36,8 @@ public interface DeleteExclusionRequestOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -51,6 +53,8 @@ public interface DeleteExclusionRequestOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java index c2f038d05..ed2f4e3bc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java @@ -41,6 +41,12 @@ private DeleteLogMetricRequest() { metricName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteLogMetricRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeleteLogMetricRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string metric_name = 1; + * + * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; @@ -138,6 +145,8 @@ public java.lang.String getMetricName() { * * * string metric_name = 1; + * + * @return The bytes for metricName. */ public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; @@ -477,6 +486,8 @@ public Builder mergeFrom( * * * string metric_name = 1; + * + * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; @@ -498,6 +509,8 @@ public java.lang.String getMetricName() { * * * string metric_name = 1; + * + * @return The bytes for metricName. */ public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; @@ -519,6 +532,9 @@ public com.google.protobuf.ByteString getMetricNameBytes() { * * * string metric_name = 1; + * + * @param value The metricName to set. + * @return This builder for chaining. */ public Builder setMetricName(java.lang.String value) { if (value == null) { @@ -538,6 +554,8 @@ public Builder setMetricName(java.lang.String value) { * * * string metric_name = 1; + * + * @return This builder for chaining. */ public Builder clearMetricName() { @@ -554,6 +572,9 @@ public Builder clearMetricName() { * * * string metric_name = 1; + * + * @param value The bytes for metricName to set. + * @return This builder for chaining. */ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java index ec55633bb..529c4806b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface DeleteLogMetricRequestOrBuilder * * * string metric_name = 1; + * + * @return The metricName. */ java.lang.String getMetricName(); /** @@ -43,6 +45,8 @@ public interface DeleteLogMetricRequestOrBuilder * * * string metric_name = 1; + * + * @return The bytes for metricName. */ com.google.protobuf.ByteString getMetricNameBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java index 97af56444..db715eafc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java @@ -41,6 +41,12 @@ private DeleteLogRequest() { logName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteLogRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeleteLogRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string log_name = 1; + * + * @return The logName. */ public java.lang.String getLogName() { java.lang.Object ref = logName_; @@ -154,6 +161,8 @@ public java.lang.String getLogName() { * * * string log_name = 1; + * + * @return The bytes for logName. */ public com.google.protobuf.ByteString getLogNameBytes() { java.lang.Object ref = logName_; @@ -500,6 +509,8 @@ public Builder mergeFrom( * * * string log_name = 1; + * + * @return The logName. */ public java.lang.String getLogName() { java.lang.Object ref = logName_; @@ -529,6 +540,8 @@ public java.lang.String getLogName() { * * * string log_name = 1; + * + * @return The bytes for logName. */ public com.google.protobuf.ByteString getLogNameBytes() { java.lang.Object ref = logName_; @@ -558,6 +571,9 @@ public com.google.protobuf.ByteString getLogNameBytes() { * * * string log_name = 1; + * + * @param value The logName to set. + * @return This builder for chaining. */ public Builder setLogName(java.lang.String value) { if (value == null) { @@ -585,6 +601,8 @@ public Builder setLogName(java.lang.String value) { * * * string log_name = 1; + * + * @return This builder for chaining. */ public Builder clearLogName() { @@ -609,6 +627,9 @@ public Builder clearLogName() { * * * string log_name = 1; + * + * @param value The bytes for logName to set. + * @return This builder for chaining. */ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java index e2cef2331..2daeb5e9c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java @@ -40,6 +40,8 @@ public interface DeleteLogRequestOrBuilder * * * string log_name = 1; + * + * @return The logName. */ java.lang.String getLogName(); /** @@ -59,6 +61,8 @@ public interface DeleteLogRequestOrBuilder * * * string log_name = 1; + * + * @return The bytes for logName. */ com.google.protobuf.ByteString getLogNameBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java index eb4767277..07c997d1f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java @@ -41,6 +41,12 @@ private DeleteSinkRequest() { sinkName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteSinkRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeleteSinkRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -122,6 +127,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string sink_name = 1; + * + * @return The sinkName. */ public java.lang.String getSinkName() { java.lang.Object ref = sinkName_; @@ -148,6 +155,8 @@ public java.lang.String getSinkName() { * * * string sink_name = 1; + * + * @return The bytes for sinkName. */ public com.google.protobuf.ByteString getSinkNameBytes() { java.lang.Object ref = sinkName_; @@ -491,6 +500,8 @@ public Builder mergeFrom( * * * string sink_name = 1; + * + * @return The sinkName. */ public java.lang.String getSinkName() { java.lang.Object ref = sinkName_; @@ -517,6 +528,8 @@ public java.lang.String getSinkName() { * * * string sink_name = 1; + * + * @return The bytes for sinkName. */ public com.google.protobuf.ByteString getSinkNameBytes() { java.lang.Object ref = sinkName_; @@ -543,6 +556,9 @@ public com.google.protobuf.ByteString getSinkNameBytes() { * * * string sink_name = 1; + * + * @param value The sinkName to set. + * @return This builder for chaining. */ public Builder setSinkName(java.lang.String value) { if (value == null) { @@ -567,6 +583,8 @@ public Builder setSinkName(java.lang.String value) { * * * string sink_name = 1; + * + * @return This builder for chaining. */ public Builder clearSinkName() { @@ -588,6 +606,9 @@ public Builder clearSinkName() { * * * string sink_name = 1; + * + * @param value The bytes for sinkName to set. + * @return This builder for chaining. */ public Builder setSinkNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java index b2c0382d3..ac597114f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java @@ -37,6 +37,8 @@ public interface DeleteSinkRequestOrBuilder * * * string sink_name = 1; + * + * @return The sinkName. */ java.lang.String getSinkName(); /** @@ -53,6 +55,8 @@ public interface DeleteSinkRequestOrBuilder * * * string sink_name = 1; + * + * @return The bytes for sinkName. */ com.google.protobuf.ByteString getSinkNameBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ExclusionName.java index dbed81f4a..828525016 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ExclusionName.java @@ -18,7 +18,7 @@ import com.google.api.resourcenames.ResourceName; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public abstract class ExclusionName implements ResourceName { protected ExclusionName() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ExclusionNames.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ExclusionNames.java index e3697ec3c..49fefef70 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ExclusionNames.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ExclusionNames.java @@ -16,8 +16,13 @@ package com.google.logging.v2; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ExclusionNames { private ExclusionNames() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderExclusionName.java index b250b9a9d..d4d8abac9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderExclusionName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class FolderExclusionName extends ExclusionName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLogName.java index 384b861a3..43239aa28 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLogName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class FolderLogName extends LogName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java index b9b8d8329..0c8f70bb7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class FolderName extends ParentName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderSinkName.java index 18b6c600a..7477ab899 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderSinkName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class FolderSinkName extends SinkName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java index 43fe39ead..02ba1f14a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java @@ -41,6 +41,12 @@ private GetExclusionRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetExclusionRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetExclusionRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -146,6 +153,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -489,6 +498,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -514,6 +525,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -539,6 +552,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -562,6 +578,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -582,6 +600,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java index 0143472b3..82191c68d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java @@ -36,6 +36,8 @@ public interface GetExclusionRequestOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -51,6 +53,8 @@ public interface GetExclusionRequestOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java index a3732b245..e3f4bbd3e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java @@ -41,6 +41,12 @@ private GetLogMetricRequest() { metricName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetLogMetricRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetLogMetricRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string metric_name = 1; + * + * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; @@ -138,6 +145,8 @@ public java.lang.String getMetricName() { * * * string metric_name = 1; + * + * @return The bytes for metricName. */ public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; @@ -477,6 +486,8 @@ public Builder mergeFrom( * * * string metric_name = 1; + * + * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; @@ -498,6 +509,8 @@ public java.lang.String getMetricName() { * * * string metric_name = 1; + * + * @return The bytes for metricName. */ public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; @@ -519,6 +532,9 @@ public com.google.protobuf.ByteString getMetricNameBytes() { * * * string metric_name = 1; + * + * @param value The metricName to set. + * @return This builder for chaining. */ public Builder setMetricName(java.lang.String value) { if (value == null) { @@ -538,6 +554,8 @@ public Builder setMetricName(java.lang.String value) { * * * string metric_name = 1; + * + * @return This builder for chaining. */ public Builder clearMetricName() { @@ -554,6 +572,9 @@ public Builder clearMetricName() { * * * string metric_name = 1; + * + * @param value The bytes for metricName to set. + * @return This builder for chaining. */ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java index 8bd1b8c6a..dca604423 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface GetLogMetricRequestOrBuilder * * * string metric_name = 1; + * + * @return The metricName. */ java.lang.String getMetricName(); /** @@ -43,6 +45,8 @@ public interface GetLogMetricRequestOrBuilder * * * string metric_name = 1; + * + * @return The bytes for metricName. */ com.google.protobuf.ByteString getMetricNameBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java index 86082c665..aaeb2de4e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java @@ -41,6 +41,12 @@ private GetSinkRequest() { sinkName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetSinkRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetSinkRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string sink_name = 1; + * + * @return The sinkName. */ public java.lang.String getSinkName() { java.lang.Object ref = sinkName_; @@ -146,6 +153,8 @@ public java.lang.String getSinkName() { * * * string sink_name = 1; + * + * @return The bytes for sinkName. */ public com.google.protobuf.ByteString getSinkNameBytes() { java.lang.Object ref = sinkName_; @@ -486,6 +495,8 @@ public Builder mergeFrom( * * * string sink_name = 1; + * + * @return The sinkName. */ public java.lang.String getSinkName() { java.lang.Object ref = sinkName_; @@ -511,6 +522,8 @@ public java.lang.String getSinkName() { * * * string sink_name = 1; + * + * @return The bytes for sinkName. */ public com.google.protobuf.ByteString getSinkNameBytes() { java.lang.Object ref = sinkName_; @@ -536,6 +549,9 @@ public com.google.protobuf.ByteString getSinkNameBytes() { * * * string sink_name = 1; + * + * @param value The sinkName to set. + * @return This builder for chaining. */ public Builder setSinkName(java.lang.String value) { if (value == null) { @@ -559,6 +575,8 @@ public Builder setSinkName(java.lang.String value) { * * * string sink_name = 1; + * + * @return This builder for chaining. */ public Builder clearSinkName() { @@ -579,6 +597,9 @@ public Builder clearSinkName() { * * * string sink_name = 1; + * + * @param value The bytes for sinkName to set. + * @return This builder for chaining. */ public Builder setSinkNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java index f4d0643b6..724bbba59 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java @@ -36,6 +36,8 @@ public interface GetSinkRequestOrBuilder * * * string sink_name = 1; + * + * @return The sinkName. */ java.lang.String getSinkName(); /** @@ -51,6 +53,8 @@ public interface GetSinkRequestOrBuilder * * * string sink_name = 1; + * + * @return The bytes for sinkName. */ com.google.protobuf.ByteString getSinkNameBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java index 8f5501c1b..d0b87053c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java @@ -42,6 +42,12 @@ private ListExclusionsRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListExclusionsRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ListExclusionsRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -157,6 +164,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -183,6 +192,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string page_token = 2; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -206,6 +217,8 @@ public java.lang.String getPageToken() { * * * string page_token = 2; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -231,6 +244,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * int32 page_size = 3; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -596,6 +611,8 @@ public Builder mergeFrom( * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -620,6 +637,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -644,6 +663,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -666,6 +688,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -685,6 +709,9 @@ public Builder clearParent() { * * * string parent = 1; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -709,6 +736,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * string page_token = 2; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -732,6 +761,8 @@ public java.lang.String getPageToken() { * * * string page_token = 2; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -755,6 +786,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 2; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -776,6 +810,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 2; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -794,6 +830,9 @@ public Builder clearPageToken() { * * * string page_token = 2; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -817,6 +856,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 3; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -831,6 +872,9 @@ public int getPageSize() { * * * int32 page_size = 3; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -848,6 +892,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 3; + * + * @return This builder for chaining. */ public Builder clearPageSize() { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java index e3d32a194..cd79d97be 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface ListExclusionsRequestOrBuilder * * * string parent = 1; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -49,6 +51,8 @@ public interface ListExclusionsRequestOrBuilder * * * string parent = 1; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -63,6 +67,8 @@ public interface ListExclusionsRequestOrBuilder * * * string page_token = 2; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -76,6 +82,8 @@ public interface ListExclusionsRequestOrBuilder * * * string page_token = 2; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); @@ -89,6 +97,8 @@ public interface ListExclusionsRequestOrBuilder * * * int32 page_size = 3; + * + * @return The pageSize. */ int getPageSize(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java index 4b9cfa001..d2d5dc27b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java @@ -42,6 +42,12 @@ private ListExclusionsResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListExclusionsResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.ListExclusionsResponse.Builder.class); } - private int bitField0_; public static final int EXCLUSIONS_FIELD_NUMBER = 1; private java.util.List exclusions_; /** @@ -198,6 +203,8 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionsOrBuilder(int in * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -220,6 +227,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -486,7 +495,6 @@ public com.google.logging.v2.ListExclusionsResponse buildPartial() { com.google.logging.v2.ListExclusionsResponse result = new com.google.logging.v2.ListExclusionsResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (exclusionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { exclusions_ = java.util.Collections.unmodifiableList(exclusions_); @@ -497,7 +505,6 @@ public com.google.logging.v2.ListExclusionsResponse buildPartial() { result.exclusions_ = exclusionsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -968,6 +975,8 @@ public java.util.List getExclusionsB * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -990,6 +999,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1012,6 +1023,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1032,6 +1046,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1049,6 +1065,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java index 63c094235..b66257a2d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java @@ -85,6 +85,8 @@ public interface ListExclusionsResponseOrBuilder * * * string next_page_token = 2; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -97,6 +99,8 @@ public interface ListExclusionsResponseOrBuilder * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java index 63aa90cd6..99bb81acb 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java @@ -45,6 +45,12 @@ private ListLogEntriesRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogEntriesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -155,7 +161,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.ListLogEntriesRequest.Builder.class); } - private int bitField0_; public static final int PROJECT_IDS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList projectIds_; /** @@ -168,6 +173,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @return A list containing the projectIds. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getProjectIdsList() { @@ -183,6 +190,8 @@ public com.google.protobuf.ProtocolStringList getProjectIdsList() { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @return The count of projectIds. */ @java.lang.Deprecated public int getProjectIdsCount() { @@ -198,6 +207,9 @@ public int getProjectIdsCount() { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @param index The index of the element to return. + * @return The projectIds at the given index. */ @java.lang.Deprecated public java.lang.String getProjectIds(int index) { @@ -213,6 +225,9 @@ public java.lang.String getProjectIds(int index) { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @param index The index of the value to return. + * @return The bytes of the projectIds at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdsBytes(int index) { @@ -235,6 +250,8 @@ public com.google.protobuf.ByteString getProjectIdsBytes(int index) { * * * repeated string resource_names = 8; + * + * @return A list containing the resourceNames. */ public com.google.protobuf.ProtocolStringList getResourceNamesList() { return resourceNames_; @@ -253,6 +270,8 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * * * repeated string resource_names = 8; + * + * @return The count of resourceNames. */ public int getResourceNamesCount() { return resourceNames_.size(); @@ -271,6 +290,9 @@ public int getResourceNamesCount() { * * * repeated string resource_names = 8; + * + * @param index The index of the element to return. + * @return The resourceNames at the given index. */ public java.lang.String getResourceNames(int index) { return resourceNames_.get(index); @@ -289,6 +311,9 @@ public java.lang.String getResourceNames(int index) { * * * repeated string resource_names = 8; + * + * @param index The index of the value to return. + * @return The bytes of the resourceNames at the given index. */ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { return resourceNames_.getByteString(index); @@ -310,6 +335,8 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { * * * string filter = 2; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -336,6 +363,8 @@ public java.lang.String getFilter() { * * * string filter = 2; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -364,6 +393,8 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * string order_by = 3; + * + * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; @@ -389,6 +420,8 @@ public java.lang.String getOrderBy() { * * * string order_by = 3; + * + * @return The bytes for orderBy. */ public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; @@ -414,6 +447,8 @@ public com.google.protobuf.ByteString getOrderByBytes() { * * * int32 page_size = 4; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -432,6 +467,8 @@ public int getPageSize() { * * * string page_token = 5; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -455,6 +492,8 @@ public java.lang.String getPageToken() { * * * string page_token = 5; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -771,7 +810,6 @@ public com.google.logging.v2.ListLogEntriesRequest buildPartial() { com.google.logging.v2.ListLogEntriesRequest result = new com.google.logging.v2.ListLogEntriesRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) != 0)) { projectIds_ = projectIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -786,7 +824,6 @@ public com.google.logging.v2.ListLogEntriesRequest buildPartial() { result.orderBy_ = orderBy_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -921,6 +958,8 @@ private void ensureProjectIdsIsMutable() { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @return A list containing the projectIds. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getProjectIdsList() { @@ -936,6 +975,8 @@ public com.google.protobuf.ProtocolStringList getProjectIdsList() { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @return The count of projectIds. */ @java.lang.Deprecated public int getProjectIdsCount() { @@ -951,6 +992,9 @@ public int getProjectIdsCount() { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @param index The index of the element to return. + * @return The projectIds at the given index. */ @java.lang.Deprecated public java.lang.String getProjectIds(int index) { @@ -966,6 +1010,9 @@ public java.lang.String getProjectIds(int index) { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @param index The index of the value to return. + * @return The bytes of the projectIds at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdsBytes(int index) { @@ -981,6 +1028,10 @@ public com.google.protobuf.ByteString getProjectIdsBytes(int index) { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @param index The index to set the value at. + * @param value The projectIds to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setProjectIds(int index, java.lang.String value) { @@ -1002,6 +1053,9 @@ public Builder setProjectIds(int index, java.lang.String value) { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @param value The projectIds to add. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder addProjectIds(java.lang.String value) { @@ -1023,6 +1077,9 @@ public Builder addProjectIds(java.lang.String value) { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @param values The projectIds to add. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllProjectIds(java.lang.Iterable values) { @@ -1041,6 +1098,8 @@ public Builder addAllProjectIds(java.lang.Iterable values) { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearProjectIds() { @@ -1059,6 +1118,9 @@ public Builder clearProjectIds() { * * * repeated string project_ids = 1 [deprecated = true]; + * + * @param value The bytes of the projectIds to add. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder addProjectIdsBytes(com.google.protobuf.ByteString value) { @@ -1095,6 +1157,8 @@ private void ensureResourceNamesIsMutable() { * * * repeated string resource_names = 8; + * + * @return A list containing the resourceNames. */ public com.google.protobuf.ProtocolStringList getResourceNamesList() { return resourceNames_.getUnmodifiableView(); @@ -1113,6 +1177,8 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * * * repeated string resource_names = 8; + * + * @return The count of resourceNames. */ public int getResourceNamesCount() { return resourceNames_.size(); @@ -1131,6 +1197,9 @@ public int getResourceNamesCount() { * * * repeated string resource_names = 8; + * + * @param index The index of the element to return. + * @return The resourceNames at the given index. */ public java.lang.String getResourceNames(int index) { return resourceNames_.get(index); @@ -1149,6 +1218,9 @@ public java.lang.String getResourceNames(int index) { * * * repeated string resource_names = 8; + * + * @param index The index of the value to return. + * @return The bytes of the resourceNames at the given index. */ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { return resourceNames_.getByteString(index); @@ -1167,6 +1239,10 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { * * * repeated string resource_names = 8; + * + * @param index The index to set the value at. + * @param value The resourceNames to set. + * @return This builder for chaining. */ public Builder setResourceNames(int index, java.lang.String value) { if (value == null) { @@ -1191,6 +1267,9 @@ public Builder setResourceNames(int index, java.lang.String value) { * * * repeated string resource_names = 8; + * + * @param value The resourceNames to add. + * @return This builder for chaining. */ public Builder addResourceNames(java.lang.String value) { if (value == null) { @@ -1215,6 +1294,9 @@ public Builder addResourceNames(java.lang.String value) { * * * repeated string resource_names = 8; + * + * @param values The resourceNames to add. + * @return This builder for chaining. */ public Builder addAllResourceNames(java.lang.Iterable values) { ensureResourceNamesIsMutable(); @@ -1236,6 +1318,8 @@ public Builder addAllResourceNames(java.lang.Iterable values) * * * repeated string resource_names = 8; + * + * @return This builder for chaining. */ public Builder clearResourceNames() { resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -1257,6 +1341,9 @@ public Builder clearResourceNames() { * * * repeated string resource_names = 8; + * + * @param value The bytes of the resourceNames to add. + * @return This builder for chaining. */ public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1284,6 +1371,8 @@ public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) { * * * string filter = 2; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -1310,6 +1399,8 @@ public java.lang.String getFilter() { * * * string filter = 2; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1336,6 +1427,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * string filter = 2; + * + * @param value The filter to set. + * @return This builder for chaining. */ public Builder setFilter(java.lang.String value) { if (value == null) { @@ -1360,6 +1454,8 @@ public Builder setFilter(java.lang.String value) { * * * string filter = 2; + * + * @return This builder for chaining. */ public Builder clearFilter() { @@ -1381,6 +1477,9 @@ public Builder clearFilter() { * * * string filter = 2; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. */ public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1407,6 +1506,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * * string order_by = 3; + * + * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; @@ -1432,6 +1533,8 @@ public java.lang.String getOrderBy() { * * * string order_by = 3; + * + * @return The bytes for orderBy. */ public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; @@ -1457,6 +1560,9 @@ public com.google.protobuf.ByteString getOrderByBytes() { * * * string order_by = 3; + * + * @param value The orderBy to set. + * @return This builder for chaining. */ public Builder setOrderBy(java.lang.String value) { if (value == null) { @@ -1480,6 +1586,8 @@ public Builder setOrderBy(java.lang.String value) { * * * string order_by = 3; + * + * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1500,6 +1608,9 @@ public Builder clearOrderBy() { * * * string order_by = 3; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. */ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1523,6 +1634,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 4; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -1537,6 +1650,9 @@ public int getPageSize() { * * * int32 page_size = 4; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -1554,6 +1670,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 4; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1574,6 +1692,8 @@ public Builder clearPageSize() { * * * string page_token = 5; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -1597,6 +1717,8 @@ public java.lang.String getPageToken() { * * * string page_token = 5; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -1620,6 +1742,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 5; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -1641,6 +1766,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 5; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1659,6 +1786,9 @@ public Builder clearPageToken() { * * * string page_token = 5; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java index c9a7419ce..5fe3088f3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface ListLogEntriesRequestOrBuilder * * * repeated string project_ids = 1 [deprecated = true]; + * + * @return A list containing the projectIds. */ @java.lang.Deprecated java.util.List getProjectIdsList(); @@ -46,6 +48,8 @@ public interface ListLogEntriesRequestOrBuilder * * * repeated string project_ids = 1 [deprecated = true]; + * + * @return The count of projectIds. */ @java.lang.Deprecated int getProjectIdsCount(); @@ -59,6 +63,9 @@ public interface ListLogEntriesRequestOrBuilder * * * repeated string project_ids = 1 [deprecated = true]; + * + * @param index The index of the element to return. + * @return The projectIds at the given index. */ @java.lang.Deprecated java.lang.String getProjectIds(int index); @@ -72,6 +79,9 @@ public interface ListLogEntriesRequestOrBuilder * * * repeated string project_ids = 1 [deprecated = true]; + * + * @param index The index of the value to return. + * @return The bytes of the projectIds at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getProjectIdsBytes(int index); @@ -90,6 +100,8 @@ public interface ListLogEntriesRequestOrBuilder * * * repeated string resource_names = 8; + * + * @return A list containing the resourceNames. */ java.util.List getResourceNamesList(); /** @@ -106,6 +118,8 @@ public interface ListLogEntriesRequestOrBuilder * * * repeated string resource_names = 8; + * + * @return The count of resourceNames. */ int getResourceNamesCount(); /** @@ -122,6 +136,9 @@ public interface ListLogEntriesRequestOrBuilder * * * repeated string resource_names = 8; + * + * @param index The index of the element to return. + * @return The resourceNames at the given index. */ java.lang.String getResourceNames(int index); /** @@ -138,6 +155,9 @@ public interface ListLogEntriesRequestOrBuilder * * * repeated string resource_names = 8; + * + * @param index The index of the value to return. + * @return The bytes of the resourceNames at the given index. */ com.google.protobuf.ByteString getResourceNamesBytes(int index); @@ -155,6 +175,8 @@ public interface ListLogEntriesRequestOrBuilder * * * string filter = 2; + * + * @return The filter. */ java.lang.String getFilter(); /** @@ -171,6 +193,8 @@ public interface ListLogEntriesRequestOrBuilder * * * string filter = 2; + * + * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); @@ -187,6 +211,8 @@ public interface ListLogEntriesRequestOrBuilder * * * string order_by = 3; + * + * @return The orderBy. */ java.lang.String getOrderBy(); /** @@ -202,6 +228,8 @@ public interface ListLogEntriesRequestOrBuilder * * * string order_by = 3; + * + * @return The bytes for orderBy. */ com.google.protobuf.ByteString getOrderByBytes(); @@ -215,6 +243,8 @@ public interface ListLogEntriesRequestOrBuilder * * * int32 page_size = 4; + * + * @return The pageSize. */ int getPageSize(); @@ -229,6 +259,8 @@ public interface ListLogEntriesRequestOrBuilder * * * string page_token = 5; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -242,6 +274,8 @@ public interface ListLogEntriesRequestOrBuilder * * * string page_token = 5; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java index b96839d51..b34b63288 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java @@ -42,6 +42,12 @@ private ListLogEntriesResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogEntriesResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.ListLogEntriesResponse.Builder.class); } - private int bitField0_; public static final int ENTRIES_FIELD_NUMBER = 1; private java.util.List entries_; /** @@ -213,6 +218,8 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -241,6 +248,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -507,7 +516,6 @@ public com.google.logging.v2.ListLogEntriesResponse buildPartial() { com.google.logging.v2.ListLogEntriesResponse result = new com.google.logging.v2.ListLogEntriesResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { entries_ = java.util.Collections.unmodifiableList(entries_); @@ -518,7 +526,6 @@ public com.google.logging.v2.ListLogEntriesResponse buildPartial() { result.entries_ = entriesBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1029,6 +1036,8 @@ public java.util.List getEntriesBuilderL * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -1057,6 +1066,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1085,6 +1096,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1111,6 +1125,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1134,6 +1150,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java index c1ba138e2..25732a551 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java @@ -100,6 +100,8 @@ public interface ListLogEntriesResponseOrBuilder * * * string next_page_token = 2; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -118,6 +120,8 @@ public interface ListLogEntriesResponseOrBuilder * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java index 30075bac1..ee857193d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java @@ -42,6 +42,12 @@ private ListLogMetricsRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogMetricsRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ListLogMetricsRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -130,6 +135,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -151,6 +158,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string page_token = 2; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -200,6 +211,8 @@ public java.lang.String getPageToken() { * * * string page_token = 2; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -225,6 +238,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * int32 page_size = 3; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -587,6 +602,8 @@ public Builder mergeFrom( * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -608,6 +625,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -629,6 +648,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -648,6 +670,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -664,6 +688,9 @@ public Builder clearParent() { * * * string parent = 1; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -688,6 +715,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * string page_token = 2; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -711,6 +740,8 @@ public java.lang.String getPageToken() { * * * string page_token = 2; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -734,6 +765,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 2; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -755,6 +789,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 2; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,6 +809,9 @@ public Builder clearPageToken() { * * * string page_token = 2; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -796,6 +835,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 3; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -810,6 +851,9 @@ public int getPageSize() { * * * int32 page_size = 3; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -827,6 +871,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 3; + * + * @return This builder for chaining. */ public Builder clearPageSize() { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java index aa24f37ae..8516c12c2 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface ListLogMetricsRequestOrBuilder * * * string parent = 1; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -43,6 +45,8 @@ public interface ListLogMetricsRequestOrBuilder * * * string parent = 1; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -57,6 +61,8 @@ public interface ListLogMetricsRequestOrBuilder * * * string page_token = 2; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -70,6 +76,8 @@ public interface ListLogMetricsRequestOrBuilder * * * string page_token = 2; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); @@ -83,6 +91,8 @@ public interface ListLogMetricsRequestOrBuilder * * * int32 page_size = 3; + * + * @return The pageSize. */ int getPageSize(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java index 8b4cbf8f5..2acefec04 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java @@ -42,6 +42,12 @@ private ListLogMetricsResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogMetricsResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.ListLogMetricsResponse.Builder.class); } - private int bitField0_; public static final int METRICS_FIELD_NUMBER = 1; private java.util.List metrics_; /** @@ -197,6 +202,8 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricsOrBuilder(int index) { * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -219,6 +226,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -485,7 +494,6 @@ public com.google.logging.v2.ListLogMetricsResponse buildPartial() { com.google.logging.v2.ListLogMetricsResponse result = new com.google.logging.v2.ListLogMetricsResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (metricsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { metrics_ = java.util.Collections.unmodifiableList(metrics_); @@ -496,7 +504,6 @@ public com.google.logging.v2.ListLogMetricsResponse buildPartial() { result.metrics_ = metricsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -965,6 +972,8 @@ public java.util.List getMetricsBuilder * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -987,6 +996,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1009,6 +1020,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1029,6 +1043,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1046,6 +1062,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java index eceb90b03..3a85f901a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java @@ -84,6 +84,8 @@ public interface ListLogMetricsResponseOrBuilder * * * string next_page_token = 2; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -96,6 +98,8 @@ public interface ListLogMetricsResponseOrBuilder * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java index b6572d083..756df94f0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java @@ -42,6 +42,12 @@ private ListLogsRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogsRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ListLogsRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -157,6 +164,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -182,6 +191,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * int32 page_size = 2; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -200,6 +211,8 @@ public int getPageSize() { * * * string page_token = 3; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -223,6 +236,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -594,6 +609,8 @@ public Builder mergeFrom( * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -618,6 +635,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -642,6 +661,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -664,6 +686,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -683,6 +707,9 @@ public Builder clearParent() { * * * string parent = 1; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -706,6 +733,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 2; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -720,6 +749,9 @@ public int getPageSize() { * * * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -737,6 +769,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 2; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -757,6 +791,8 @@ public Builder clearPageSize() { * * * string page_token = 3; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -780,6 +816,8 @@ public java.lang.String getPageToken() { * * * string page_token = 3; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -803,6 +841,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -824,6 +865,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 3; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -842,6 +885,9 @@ public Builder clearPageToken() { * * * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java index f7d0cf959..242c8ecec 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface ListLogsRequestOrBuilder * * * string parent = 1; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -49,6 +51,8 @@ public interface ListLogsRequestOrBuilder * * * string parent = 1; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -62,6 +66,8 @@ public interface ListLogsRequestOrBuilder * * * int32 page_size = 2; + * + * @return The pageSize. */ int getPageSize(); @@ -76,6 +82,8 @@ public interface ListLogsRequestOrBuilder * * * string page_token = 3; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -89,6 +97,8 @@ public interface ListLogsRequestOrBuilder * * * string page_token = 3; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java index 161786738..d92cf87e5 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java @@ -42,6 +42,12 @@ private ListLogsResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogsResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.ListLogsResponse.Builder.class); } - private int bitField0_; public static final int LOG_NAMES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList logNames_; /** @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string log_names = 3; + * + * @return A list containing the logNames. */ public com.google.protobuf.ProtocolStringList getLogNamesList() { return logNames_; @@ -147,6 +154,8 @@ public com.google.protobuf.ProtocolStringList getLogNamesList() { * * * repeated string log_names = 3; + * + * @return The count of logNames. */ public int getLogNamesCount() { return logNames_.size(); @@ -161,6 +170,9 @@ public int getLogNamesCount() { * * * repeated string log_names = 3; + * + * @param index The index of the element to return. + * @return The logNames at the given index. */ public java.lang.String getLogNames(int index) { return logNames_.get(index); @@ -175,6 +187,9 @@ public java.lang.String getLogNames(int index) { * * * repeated string log_names = 3; + * + * @param index The index of the value to return. + * @return The bytes of the logNames at the given index. */ public com.google.protobuf.ByteString getLogNamesBytes(int index) { return logNames_.getByteString(index); @@ -192,6 +207,8 @@ public com.google.protobuf.ByteString getLogNamesBytes(int index) { * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -214,6 +231,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -478,14 +497,12 @@ public com.google.logging.v2.ListLogsResponse buildPartial() { com.google.logging.v2.ListLogsResponse result = new com.google.logging.v2.ListLogsResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) != 0)) { logNames_ = logNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.logNames_ = logNames_; result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -599,6 +616,8 @@ private void ensureLogNamesIsMutable() { * * * repeated string log_names = 3; + * + * @return A list containing the logNames. */ public com.google.protobuf.ProtocolStringList getLogNamesList() { return logNames_.getUnmodifiableView(); @@ -613,6 +632,8 @@ public com.google.protobuf.ProtocolStringList getLogNamesList() { * * * repeated string log_names = 3; + * + * @return The count of logNames. */ public int getLogNamesCount() { return logNames_.size(); @@ -627,6 +648,9 @@ public int getLogNamesCount() { * * * repeated string log_names = 3; + * + * @param index The index of the element to return. + * @return The logNames at the given index. */ public java.lang.String getLogNames(int index) { return logNames_.get(index); @@ -641,6 +665,9 @@ public java.lang.String getLogNames(int index) { * * * repeated string log_names = 3; + * + * @param index The index of the value to return. + * @return The bytes of the logNames at the given index. */ public com.google.protobuf.ByteString getLogNamesBytes(int index) { return logNames_.getByteString(index); @@ -655,6 +682,10 @@ public com.google.protobuf.ByteString getLogNamesBytes(int index) { * * * repeated string log_names = 3; + * + * @param index The index to set the value at. + * @param value The logNames to set. + * @return This builder for chaining. */ public Builder setLogNames(int index, java.lang.String value) { if (value == null) { @@ -675,6 +706,9 @@ public Builder setLogNames(int index, java.lang.String value) { * * * repeated string log_names = 3; + * + * @param value The logNames to add. + * @return This builder for chaining. */ public Builder addLogNames(java.lang.String value) { if (value == null) { @@ -695,6 +729,9 @@ public Builder addLogNames(java.lang.String value) { * * * repeated string log_names = 3; + * + * @param values The logNames to add. + * @return This builder for chaining. */ public Builder addAllLogNames(java.lang.Iterable values) { ensureLogNamesIsMutable(); @@ -712,6 +749,8 @@ public Builder addAllLogNames(java.lang.Iterable values) { * * * repeated string log_names = 3; + * + * @return This builder for chaining. */ public Builder clearLogNames() { logNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -729,6 +768,9 @@ public Builder clearLogNames() { * * * repeated string log_names = 3; + * + * @param value The bytes of the logNames to add. + * @return This builder for chaining. */ public Builder addLogNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -752,6 +794,8 @@ public Builder addLogNamesBytes(com.google.protobuf.ByteString value) { * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -774,6 +818,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -796,6 +842,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -816,6 +865,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -833,6 +884,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java index 6644252ed..518b244e6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java @@ -33,6 +33,8 @@ public interface ListLogsResponseOrBuilder * * * repeated string log_names = 3; + * + * @return A list containing the logNames. */ java.util.List getLogNamesList(); /** @@ -45,6 +47,8 @@ public interface ListLogsResponseOrBuilder * * * repeated string log_names = 3; + * + * @return The count of logNames. */ int getLogNamesCount(); /** @@ -57,6 +61,9 @@ public interface ListLogsResponseOrBuilder * * * repeated string log_names = 3; + * + * @param index The index of the element to return. + * @return The logNames at the given index. */ java.lang.String getLogNames(int index); /** @@ -69,6 +76,9 @@ public interface ListLogsResponseOrBuilder * * * repeated string log_names = 3; + * + * @param index The index of the value to return. + * @return The bytes of the logNames at the given index. */ com.google.protobuf.ByteString getLogNamesBytes(int index); @@ -82,6 +92,8 @@ public interface ListLogsResponseOrBuilder * * * string next_page_token = 2; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -94,6 +106,8 @@ public interface ListLogsResponseOrBuilder * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java index 58aa850a1..12cc45fdf 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java @@ -43,6 +43,12 @@ private ListMonitoredResourceDescriptorsRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListMonitoredResourceDescriptorsRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private ListMonitoredResourceDescriptorsRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * int32 page_size = 1; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -143,6 +150,8 @@ public int getPageSize() { * * * string page_token = 2; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -166,6 +175,8 @@ public java.lang.String getPageToken() { * * * string page_token = 2; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -527,6 +538,8 @@ public Builder mergeFrom( * * * int32 page_size = 1; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -541,6 +554,9 @@ public int getPageSize() { * * * int32 page_size = 1; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -558,6 +574,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 1; + * + * @return This builder for chaining. */ public Builder clearPageSize() { @@ -578,6 +596,8 @@ public Builder clearPageSize() { * * * string page_token = 2; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -601,6 +621,8 @@ public java.lang.String getPageToken() { * * * string page_token = 2; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -624,6 +646,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 2; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -645,6 +670,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 2; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -663,6 +690,9 @@ public Builder clearPageToken() { * * * string page_token = 2; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java index 827204d88..a110ee770 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder * * * int32 page_size = 1; + * + * @return The pageSize. */ int getPageSize(); @@ -47,6 +49,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder * * * string page_token = 2; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -60,6 +64,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder * * * string page_token = 2; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java index f2e28493e..be6b635c8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java @@ -44,6 +44,12 @@ private ListMonitoredResourceDescriptorsResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListMonitoredResourceDescriptorsResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -124,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.ListMonitoredResourceDescriptorsResponse.Builder.class); } - private int bitField0_; public static final int RESOURCE_DESCRIPTORS_FIELD_NUMBER = 1; private java.util.List resourceDescriptors_; /** @@ -202,6 +207,8 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -224,6 +231,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -493,7 +502,6 @@ public com.google.logging.v2.ListMonitoredResourceDescriptorsResponse buildParti com.google.logging.v2.ListMonitoredResourceDescriptorsResponse result = new com.google.logging.v2.ListMonitoredResourceDescriptorsResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (resourceDescriptorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { resourceDescriptors_ = java.util.Collections.unmodifiableList(resourceDescriptors_); @@ -504,7 +512,6 @@ public com.google.logging.v2.ListMonitoredResourceDescriptorsResponse buildParti result.resourceDescriptors_ = resourceDescriptorsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -991,6 +998,8 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -1013,6 +1022,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1035,6 +1046,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1055,6 +1069,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1072,6 +1088,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java index f92ef647a..0324d388e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java @@ -85,6 +85,8 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder * * * string next_page_token = 2; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -97,6 +99,8 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java index 91c719059..72e601c0b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java @@ -42,6 +42,12 @@ private ListSinksRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListSinksRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ListSinksRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -157,6 +164,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -183,6 +192,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string page_token = 2; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -206,6 +217,8 @@ public java.lang.String getPageToken() { * * * string page_token = 2; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -231,6 +244,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * int32 page_size = 3; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -595,6 +610,8 @@ public Builder mergeFrom( * * * string parent = 1; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -619,6 +636,8 @@ public java.lang.String getParent() { * * * string parent = 1; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -643,6 +662,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -665,6 +687,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -684,6 +708,9 @@ public Builder clearParent() { * * * string parent = 1; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -708,6 +735,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * string page_token = 2; + * + * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; @@ -731,6 +760,8 @@ public java.lang.String getPageToken() { * * * string page_token = 2; + * + * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; @@ -754,6 +785,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * * string page_token = 2; + * + * @param value The pageToken to set. + * @return This builder for chaining. */ public Builder setPageToken(java.lang.String value) { if (value == null) { @@ -775,6 +809,8 @@ public Builder setPageToken(java.lang.String value) { * * * string page_token = 2; + * + * @return This builder for chaining. */ public Builder clearPageToken() { @@ -793,6 +829,9 @@ public Builder clearPageToken() { * * * string page_token = 2; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -816,6 +855,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * * * int32 page_size = 3; + * + * @return The pageSize. */ public int getPageSize() { return pageSize_; @@ -830,6 +871,9 @@ public int getPageSize() { * * * int32 page_size = 3; + * + * @param value The pageSize to set. + * @return This builder for chaining. */ public Builder setPageSize(int value) { @@ -847,6 +891,8 @@ public Builder setPageSize(int value) { * * * int32 page_size = 3; + * + * @return This builder for chaining. */ public Builder clearPageSize() { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java index 392a7ae15..3a11a971a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface ListSinksRequestOrBuilder * * * string parent = 1; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -49,6 +51,8 @@ public interface ListSinksRequestOrBuilder * * * string parent = 1; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -63,6 +67,8 @@ public interface ListSinksRequestOrBuilder * * * string page_token = 2; + * + * @return The pageToken. */ java.lang.String getPageToken(); /** @@ -76,6 +82,8 @@ public interface ListSinksRequestOrBuilder * * * string page_token = 2; + * + * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); @@ -89,6 +97,8 @@ public interface ListSinksRequestOrBuilder * * * int32 page_size = 3; + * + * @return The pageSize. */ int getPageSize(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java index 1ee92f5ef..edd1243a5 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java @@ -42,6 +42,12 @@ private ListSinksResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListSinksResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.ListSinksResponse.Builder.class); } - private int bitField0_; public static final int SINKS_FIELD_NUMBER = 1; private java.util.List sinks_; /** @@ -196,6 +201,8 @@ public com.google.logging.v2.LogSinkOrBuilder getSinksOrBuilder(int index) { * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -218,6 +225,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -483,7 +492,6 @@ public com.google.logging.v2.ListSinksResponse buildPartial() { com.google.logging.v2.ListSinksResponse result = new com.google.logging.v2.ListSinksResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (sinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { sinks_ = java.util.Collections.unmodifiableList(sinks_); @@ -494,7 +502,6 @@ public com.google.logging.v2.ListSinksResponse buildPartial() { result.sinks_ = sinksBuilder_.build(); } result.nextPageToken_ = nextPageToken_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -961,6 +968,8 @@ public java.util.List getSinksBuilderList * * * string next_page_token = 2; + * + * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; @@ -983,6 +992,8 @@ public java.lang.String getNextPageToken() { * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; @@ -1005,6 +1016,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { @@ -1025,6 +1039,8 @@ public Builder setNextPageToken(java.lang.String value) { * * * string next_page_token = 2; + * + * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1042,6 +1058,9 @@ public Builder clearNextPageToken() { * * * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java index 0d08568b4..9b97bb332 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java @@ -84,6 +84,8 @@ public interface ListSinksResponseOrBuilder * * * string next_page_token = 2; + * + * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** @@ -96,6 +98,8 @@ public interface ListSinksResponseOrBuilder * * * string next_page_token = 2; + * + * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java index c4a5f9ac3..b72df072b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java @@ -45,6 +45,12 @@ private LogEntry() { spanId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogEntry(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -166,10 +172,10 @@ private LogEntry( } case 90: { - if (!((mutable_bitField0_ & 0x00000400) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000400; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -310,11 +316,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.logging.v2.LogEntry.class, com.google.logging.v2.LogEntry.Builder.class); } - private int bitField0_; private int payloadCase_ = 0; private java.lang.Object payload_; - public enum PayloadCase implements com.google.protobuf.Internal.EnumLite { + public enum PayloadCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { PROTO_PAYLOAD(2), TEXT_PAYLOAD(3), JSON_PAYLOAD(6), @@ -324,7 +332,11 @@ public enum PayloadCase implements com.google.protobuf.Internal.EnumLite { private PayloadCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static PayloadCase valueOf(int value) { return forNumber(value); @@ -381,6 +393,8 @@ public PayloadCase getPayloadCase() { * * * string log_name = 12; + * + * @return The logName. */ public java.lang.String getLogName() { java.lang.Object ref = logName_; @@ -418,6 +432,8 @@ public java.lang.String getLogName() { * * * string log_name = 12; + * + * @return The bytes for logName. */ public com.google.protobuf.ByteString getLogNameBytes() { java.lang.Object ref = logName_; @@ -444,6 +460,8 @@ public com.google.protobuf.ByteString getLogNameBytes() { * * * .google.api.MonitoredResource resource = 8; + * + * @return Whether the resource field is set. */ public boolean hasResource() { return resource_ != null; @@ -459,6 +477,8 @@ public boolean hasResource() { * * * .google.api.MonitoredResource resource = 8; + * + * @return The resource. */ public com.google.api.MonitoredResource getResource() { return resource_ == null ? com.google.api.MonitoredResource.getDefaultInstance() : resource_; @@ -493,6 +513,8 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() { * * * .google.protobuf.Any proto_payload = 2; + * + * @return Whether the protoPayload field is set. */ public boolean hasProtoPayload() { return payloadCase_ == 2; @@ -510,6 +532,8 @@ public boolean hasProtoPayload() { * * * .google.protobuf.Any proto_payload = 2; + * + * @return The protoPayload. */ public com.google.protobuf.Any getProtoPayload() { if (payloadCase_ == 2) { @@ -547,6 +571,8 @@ public com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder() { * * * string text_payload = 3; + * + * @return The textPayload. */ public java.lang.String getTextPayload() { java.lang.Object ref = ""; @@ -572,6 +598,8 @@ public java.lang.String getTextPayload() { * * * string text_payload = 3; + * + * @return The bytes for textPayload. */ public com.google.protobuf.ByteString getTextPayloadBytes() { java.lang.Object ref = ""; @@ -600,6 +628,8 @@ public com.google.protobuf.ByteString getTextPayloadBytes() { * * * .google.protobuf.Struct json_payload = 6; + * + * @return Whether the jsonPayload field is set. */ public boolean hasJsonPayload() { return payloadCase_ == 6; @@ -613,6 +643,8 @@ public boolean hasJsonPayload() { * * * .google.protobuf.Struct json_payload = 6; + * + * @return The jsonPayload. */ public com.google.protobuf.Struct getJsonPayload() { if (payloadCase_ == 6) { @@ -657,6 +689,8 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { * * * .google.protobuf.Timestamp timestamp = 9; + * + * @return Whether the timestamp field is set. */ public boolean hasTimestamp() { return timestamp_ != null; @@ -679,6 +713,8 @@ public boolean hasTimestamp() { * * * .google.protobuf.Timestamp timestamp = 9; + * + * @return The timestamp. */ public com.google.protobuf.Timestamp getTimestamp() { return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_; @@ -716,6 +752,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * * * .google.protobuf.Timestamp receive_timestamp = 24; + * + * @return Whether the receiveTimestamp field is set. */ public boolean hasReceiveTimestamp() { return receiveTimestamp_ != null; @@ -728,6 +766,8 @@ public boolean hasReceiveTimestamp() { * * * .google.protobuf.Timestamp receive_timestamp = 24; + * + * @return The receiveTimestamp. */ public com.google.protobuf.Timestamp getReceiveTimestamp() { return receiveTimestamp_ == null @@ -758,6 +798,8 @@ public com.google.protobuf.TimestampOrBuilder getReceiveTimestampOrBuilder() { * * * .google.logging.type.LogSeverity severity = 10; + * + * @return The enum numeric value on the wire for severity. */ public int getSeverityValue() { return severity_; @@ -771,6 +813,8 @@ public int getSeverityValue() { * * * .google.logging.type.LogSeverity severity = 10; + * + * @return The severity. */ public com.google.logging.type.LogSeverity getSeverity() { @SuppressWarnings("deprecation") @@ -794,6 +838,8 @@ public com.google.logging.type.LogSeverity getSeverity() { * * * string insert_id = 4; + * + * @return The insertId. */ public java.lang.String getInsertId() { java.lang.Object ref = insertId_; @@ -819,6 +865,8 @@ public java.lang.String getInsertId() { * * * string insert_id = 4; + * + * @return The bytes for insertId. */ public com.google.protobuf.ByteString getInsertIdBytes() { java.lang.Object ref = insertId_; @@ -843,6 +891,8 @@ public com.google.protobuf.ByteString getInsertIdBytes() { * * * .google.logging.type.HttpRequest http_request = 7; + * + * @return Whether the httpRequest field is set. */ public boolean hasHttpRequest() { return httpRequest_ != null; @@ -856,6 +906,8 @@ public boolean hasHttpRequest() { * * * .google.logging.type.HttpRequest http_request = 7; + * + * @return The httpRequest. */ public com.google.logging.type.HttpRequest getHttpRequest() { return httpRequest_ == null @@ -990,6 +1042,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * * .google.api.MonitoredResourceMetadata metadata = 25 [deprecated = true]; + * + * @return Whether the metadata field is set. */ @java.lang.Deprecated public boolean hasMetadata() { @@ -1010,6 +1064,8 @@ public boolean hasMetadata() { * * * .google.api.MonitoredResourceMetadata metadata = 25 [deprecated = true]; + * + * @return The metadata. */ @java.lang.Deprecated public com.google.api.MonitoredResourceMetadata getMetadata() { @@ -1049,6 +1105,8 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder() * * * .google.logging.v2.LogEntryOperation operation = 15; + * + * @return Whether the operation field is set. */ public boolean hasOperation() { return operation_ != null; @@ -1062,6 +1120,8 @@ public boolean hasOperation() { * * * .google.logging.v2.LogEntryOperation operation = 15; + * + * @return The operation. */ public com.google.logging.v2.LogEntryOperation getOperation() { return operation_ == null @@ -1095,6 +1155,8 @@ public com.google.logging.v2.LogEntryOperationOrBuilder getOperationOrBuilder() * * * string trace = 22; + * + * @return The trace. */ public java.lang.String getTrace() { java.lang.Object ref = trace_; @@ -1118,6 +1180,8 @@ public java.lang.String getTrace() { * * * string trace = 22; + * + * @return The bytes for trace. */ public com.google.protobuf.ByteString getTraceBytes() { java.lang.Object ref = trace_; @@ -1144,6 +1208,8 @@ public com.google.protobuf.ByteString getTraceBytes() { * * * string span_id = 27; + * + * @return The spanId. */ public java.lang.String getSpanId() { java.lang.Object ref = spanId_; @@ -1167,6 +1233,8 @@ public java.lang.String getSpanId() { * * * string span_id = 27; + * + * @return The bytes for spanId. */ public com.google.protobuf.ByteString getSpanIdBytes() { java.lang.Object ref = spanId_; @@ -1195,6 +1263,8 @@ public com.google.protobuf.ByteString getSpanIdBytes() { * * * bool trace_sampled = 30; + * + * @return The traceSampled. */ public boolean getTraceSampled() { return traceSampled_; @@ -1211,6 +1281,8 @@ public boolean getTraceSampled() { * * * .google.logging.v2.LogEntrySourceLocation source_location = 23; + * + * @return Whether the sourceLocation field is set. */ public boolean hasSourceLocation() { return sourceLocation_ != null; @@ -1224,6 +1296,8 @@ public boolean hasSourceLocation() { * * * .google.logging.v2.LogEntrySourceLocation source_location = 23; + * + * @return The sourceLocation. */ public com.google.logging.v2.LogEntrySourceLocation getSourceLocation() { return sourceLocation_ == null @@ -1761,7 +1835,6 @@ public com.google.logging.v2.LogEntry build() { public com.google.logging.v2.LogEntry buildPartial() { com.google.logging.v2.LogEntry result = new com.google.logging.v2.LogEntry(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.logName_ = logName_; if (resourceBuilder_ == null) { result.resource_ = resource_; @@ -1822,7 +1895,6 @@ public com.google.logging.v2.LogEntry buildPartial() { } else { result.sourceLocation_ = sourceLocationBuilder_.build(); } - result.bitField0_ = to_bitField0_; result.payloadCase_ = payloadCase_; onBuilt(); return result; @@ -2011,6 +2083,8 @@ public Builder clearPayload() { * * * string log_name = 12; + * + * @return The logName. */ public java.lang.String getLogName() { java.lang.Object ref = logName_; @@ -2048,6 +2122,8 @@ public java.lang.String getLogName() { * * * string log_name = 12; + * + * @return The bytes for logName. */ public com.google.protobuf.ByteString getLogNameBytes() { java.lang.Object ref = logName_; @@ -2085,6 +2161,9 @@ public com.google.protobuf.ByteString getLogNameBytes() { * * * string log_name = 12; + * + * @param value The logName to set. + * @return This builder for chaining. */ public Builder setLogName(java.lang.String value) { if (value == null) { @@ -2120,6 +2199,8 @@ public Builder setLogName(java.lang.String value) { * * * string log_name = 12; + * + * @return This builder for chaining. */ public Builder clearLogName() { @@ -2152,6 +2233,9 @@ public Builder clearLogName() { * * * string log_name = 12; + * + * @param value The bytes for logName to set. + * @return This builder for chaining. */ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2181,6 +2265,8 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { * * * .google.api.MonitoredResource resource = 8; + * + * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; @@ -2196,6 +2282,8 @@ public boolean hasResource() { * * * .google.api.MonitoredResource resource = 8; + * + * @return The resource. */ public com.google.api.MonitoredResource getResource() { if (resourceBuilder_ == null) { @@ -2390,6 +2478,8 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() { * * * .google.protobuf.Any proto_payload = 2; + * + * @return Whether the protoPayload field is set. */ public boolean hasProtoPayload() { return payloadCase_ == 2; @@ -2407,6 +2497,8 @@ public boolean hasProtoPayload() { * * * .google.protobuf.Any proto_payload = 2; + * + * @return The protoPayload. */ public com.google.protobuf.Any getProtoPayload() { if (protoPayloadBuilder_ == null) { @@ -2622,6 +2714,8 @@ public com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder() { * * * string text_payload = 3; + * + * @return The textPayload. */ public java.lang.String getTextPayload() { java.lang.Object ref = ""; @@ -2647,6 +2741,8 @@ public java.lang.String getTextPayload() { * * * string text_payload = 3; + * + * @return The bytes for textPayload. */ public com.google.protobuf.ByteString getTextPayloadBytes() { java.lang.Object ref = ""; @@ -2672,6 +2768,9 @@ public com.google.protobuf.ByteString getTextPayloadBytes() { * * * string text_payload = 3; + * + * @param value The textPayload to set. + * @return This builder for chaining. */ public Builder setTextPayload(java.lang.String value) { if (value == null) { @@ -2690,6 +2789,8 @@ public Builder setTextPayload(java.lang.String value) { * * * string text_payload = 3; + * + * @return This builder for chaining. */ public Builder clearTextPayload() { if (payloadCase_ == 3) { @@ -2707,6 +2808,9 @@ public Builder clearTextPayload() { * * * string text_payload = 3; + * + * @param value The bytes for textPayload to set. + * @return This builder for chaining. */ public Builder setTextPayloadBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2733,6 +2837,8 @@ public Builder setTextPayloadBytes(com.google.protobuf.ByteString value) { * * * .google.protobuf.Struct json_payload = 6; + * + * @return Whether the jsonPayload field is set. */ public boolean hasJsonPayload() { return payloadCase_ == 6; @@ -2746,6 +2852,8 @@ public boolean hasJsonPayload() { * * * .google.protobuf.Struct json_payload = 6; + * + * @return The jsonPayload. */ public com.google.protobuf.Struct getJsonPayload() { if (jsonPayloadBuilder_ == null) { @@ -2949,6 +3057,8 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { * * * .google.protobuf.Timestamp timestamp = 9; + * + * @return Whether the timestamp field is set. */ public boolean hasTimestamp() { return timestampBuilder_ != null || timestamp_ != null; @@ -2971,6 +3081,8 @@ public boolean hasTimestamp() { * * * .google.protobuf.Timestamp timestamp = 9; + * + * @return The timestamp. */ public com.google.protobuf.Timestamp getTimestamp() { if (timestampBuilder_ == null) { @@ -3204,6 +3316,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * * * .google.protobuf.Timestamp receive_timestamp = 24; + * + * @return Whether the receiveTimestamp field is set. */ public boolean hasReceiveTimestamp() { return receiveTimestampBuilder_ != null || receiveTimestamp_ != null; @@ -3216,6 +3330,8 @@ public boolean hasReceiveTimestamp() { * * * .google.protobuf.Timestamp receive_timestamp = 24; + * + * @return The receiveTimestamp. */ public com.google.protobuf.Timestamp getReceiveTimestamp() { if (receiveTimestampBuilder_ == null) { @@ -3381,6 +3497,8 @@ public com.google.protobuf.TimestampOrBuilder getReceiveTimestampOrBuilder() { * * * .google.logging.type.LogSeverity severity = 10; + * + * @return The enum numeric value on the wire for severity. */ public int getSeverityValue() { return severity_; @@ -3394,6 +3512,9 @@ public int getSeverityValue() { * * * .google.logging.type.LogSeverity severity = 10; + * + * @param value The enum numeric value on the wire for severity to set. + * @return This builder for chaining. */ public Builder setSeverityValue(int value) { severity_ = value; @@ -3409,6 +3530,8 @@ public Builder setSeverityValue(int value) { * * * .google.logging.type.LogSeverity severity = 10; + * + * @return The severity. */ public com.google.logging.type.LogSeverity getSeverity() { @SuppressWarnings("deprecation") @@ -3425,6 +3548,9 @@ public com.google.logging.type.LogSeverity getSeverity() { * * * .google.logging.type.LogSeverity severity = 10; + * + * @param value The severity to set. + * @return This builder for chaining. */ public Builder setSeverity(com.google.logging.type.LogSeverity value) { if (value == null) { @@ -3444,6 +3570,8 @@ public Builder setSeverity(com.google.logging.type.LogSeverity value) { * * * .google.logging.type.LogSeverity severity = 10; + * + * @return This builder for chaining. */ public Builder clearSeverity() { @@ -3466,6 +3594,8 @@ public Builder clearSeverity() { * * * string insert_id = 4; + * + * @return The insertId. */ public java.lang.String getInsertId() { java.lang.Object ref = insertId_; @@ -3491,6 +3621,8 @@ public java.lang.String getInsertId() { * * * string insert_id = 4; + * + * @return The bytes for insertId. */ public com.google.protobuf.ByteString getInsertIdBytes() { java.lang.Object ref = insertId_; @@ -3516,6 +3648,9 @@ public com.google.protobuf.ByteString getInsertIdBytes() { * * * string insert_id = 4; + * + * @param value The insertId to set. + * @return This builder for chaining. */ public Builder setInsertId(java.lang.String value) { if (value == null) { @@ -3539,6 +3674,8 @@ public Builder setInsertId(java.lang.String value) { * * * string insert_id = 4; + * + * @return This builder for chaining. */ public Builder clearInsertId() { @@ -3559,6 +3696,9 @@ public Builder clearInsertId() { * * * string insert_id = 4; + * + * @param value The bytes for insertId to set. + * @return This builder for chaining. */ public Builder setInsertIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -3586,6 +3726,8 @@ public Builder setInsertIdBytes(com.google.protobuf.ByteString value) { * * * .google.logging.type.HttpRequest http_request = 7; + * + * @return Whether the httpRequest field is set. */ public boolean hasHttpRequest() { return httpRequestBuilder_ != null || httpRequest_ != null; @@ -3599,6 +3741,8 @@ public boolean hasHttpRequest() { * * * .google.logging.type.HttpRequest http_request = 7; + * + * @return The httpRequest. */ public com.google.logging.type.HttpRequest getHttpRequest() { if (httpRequestBuilder_ == null) { @@ -3941,6 +4085,8 @@ public Builder putAllLabels(java.util.Map va * * * .google.api.MonitoredResourceMetadata metadata = 25 [deprecated = true]; + * + * @return Whether the metadata field is set. */ @java.lang.Deprecated public boolean hasMetadata() { @@ -3961,6 +4107,8 @@ public boolean hasMetadata() { * * * .google.api.MonitoredResourceMetadata metadata = 25 [deprecated = true]; + * + * @return The metadata. */ @java.lang.Deprecated public com.google.api.MonitoredResourceMetadata getMetadata() { @@ -4187,6 +4335,8 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder() * * * .google.logging.v2.LogEntryOperation operation = 15; + * + * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; @@ -4200,6 +4350,8 @@ public boolean hasOperation() { * * * .google.logging.v2.LogEntryOperation operation = 15; + * + * @return The operation. */ public com.google.logging.v2.LogEntryOperation getOperation() { if (operationBuilder_ == null) { @@ -4374,6 +4526,8 @@ public com.google.logging.v2.LogEntryOperationOrBuilder getOperationOrBuilder() * * * string trace = 22; + * + * @return The trace. */ public java.lang.String getTrace() { java.lang.Object ref = trace_; @@ -4397,6 +4551,8 @@ public java.lang.String getTrace() { * * * string trace = 22; + * + * @return The bytes for trace. */ public com.google.protobuf.ByteString getTraceBytes() { java.lang.Object ref = trace_; @@ -4420,6 +4576,9 @@ public com.google.protobuf.ByteString getTraceBytes() { * * * string trace = 22; + * + * @param value The trace to set. + * @return This builder for chaining. */ public Builder setTrace(java.lang.String value) { if (value == null) { @@ -4441,6 +4600,8 @@ public Builder setTrace(java.lang.String value) { * * * string trace = 22; + * + * @return This builder for chaining. */ public Builder clearTrace() { @@ -4459,6 +4620,9 @@ public Builder clearTrace() { * * * string trace = 22; + * + * @param value The bytes for trace to set. + * @return This builder for chaining. */ public Builder setTraceBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -4483,6 +4647,8 @@ public Builder setTraceBytes(com.google.protobuf.ByteString value) { * * * string span_id = 27; + * + * @return The spanId. */ public java.lang.String getSpanId() { java.lang.Object ref = spanId_; @@ -4506,6 +4672,8 @@ public java.lang.String getSpanId() { * * * string span_id = 27; + * + * @return The bytes for spanId. */ public com.google.protobuf.ByteString getSpanIdBytes() { java.lang.Object ref = spanId_; @@ -4529,6 +4697,9 @@ public com.google.protobuf.ByteString getSpanIdBytes() { * * * string span_id = 27; + * + * @param value The spanId to set. + * @return This builder for chaining. */ public Builder setSpanId(java.lang.String value) { if (value == null) { @@ -4550,6 +4721,8 @@ public Builder setSpanId(java.lang.String value) { * * * string span_id = 27; + * + * @return This builder for chaining. */ public Builder clearSpanId() { @@ -4568,6 +4741,9 @@ public Builder clearSpanId() { * * * string span_id = 27; + * + * @param value The bytes for spanId to set. + * @return This builder for chaining. */ public Builder setSpanIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -4594,6 +4770,8 @@ public Builder setSpanIdBytes(com.google.protobuf.ByteString value) { * * * bool trace_sampled = 30; + * + * @return The traceSampled. */ public boolean getTraceSampled() { return traceSampled_; @@ -4611,6 +4789,9 @@ public boolean getTraceSampled() { * * * bool trace_sampled = 30; + * + * @param value The traceSampled to set. + * @return This builder for chaining. */ public Builder setTraceSampled(boolean value) { @@ -4631,6 +4812,8 @@ public Builder setTraceSampled(boolean value) { * * * bool trace_sampled = 30; + * + * @return This builder for chaining. */ public Builder clearTraceSampled() { @@ -4654,6 +4837,8 @@ public Builder clearTraceSampled() { * * * .google.logging.v2.LogEntrySourceLocation source_location = 23; + * + * @return Whether the sourceLocation field is set. */ public boolean hasSourceLocation() { return sourceLocationBuilder_ != null || sourceLocation_ != null; @@ -4667,6 +4852,8 @@ public boolean hasSourceLocation() { * * * .google.logging.v2.LogEntrySourceLocation source_location = 23; + * + * @return The sourceLocation. */ public com.google.logging.v2.LogEntrySourceLocation getSourceLocation() { if (sourceLocationBuilder_ == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java index d6109920f..9830b1b58 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java @@ -43,6 +43,12 @@ private LogEntryOperation() { producer_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogEntryOperation(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private LogEntryOperation( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -136,6 +141,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string id = 1; + * + * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -157,6 +164,8 @@ public java.lang.String getId() { * * * string id = 1; + * + * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; @@ -182,6 +191,8 @@ public com.google.protobuf.ByteString getIdBytes() { * * * string producer = 2; + * + * @return The producer. */ public java.lang.String getProducer() { java.lang.Object ref = producer_; @@ -204,6 +215,8 @@ public java.lang.String getProducer() { * * * string producer = 2; + * + * @return The bytes for producer. */ public com.google.protobuf.ByteString getProducerBytes() { java.lang.Object ref = producer_; @@ -227,6 +240,8 @@ public com.google.protobuf.ByteString getProducerBytes() { * * * bool first = 3; + * + * @return The first. */ public boolean getFirst() { return first_; @@ -242,6 +257,8 @@ public boolean getFirst() { * * * bool last = 4; + * + * @return The last. */ public boolean getLast() { return last_; @@ -619,6 +636,8 @@ public Builder mergeFrom( * * * string id = 1; + * + * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -640,6 +659,8 @@ public java.lang.String getId() { * * * string id = 1; + * + * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; @@ -661,6 +682,9 @@ public com.google.protobuf.ByteString getIdBytes() { * * * string id = 1; + * + * @param value The id to set. + * @return This builder for chaining. */ public Builder setId(java.lang.String value) { if (value == null) { @@ -680,6 +704,8 @@ public Builder setId(java.lang.String value) { * * * string id = 1; + * + * @return This builder for chaining. */ public Builder clearId() { @@ -696,6 +722,9 @@ public Builder clearId() { * * * string id = 1; + * + * @param value The bytes for id to set. + * @return This builder for chaining. */ public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -719,6 +748,8 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { * * * string producer = 2; + * + * @return The producer. */ public java.lang.String getProducer() { java.lang.Object ref = producer_; @@ -741,6 +772,8 @@ public java.lang.String getProducer() { * * * string producer = 2; + * + * @return The bytes for producer. */ public com.google.protobuf.ByteString getProducerBytes() { java.lang.Object ref = producer_; @@ -763,6 +796,9 @@ public com.google.protobuf.ByteString getProducerBytes() { * * * string producer = 2; + * + * @param value The producer to set. + * @return This builder for chaining. */ public Builder setProducer(java.lang.String value) { if (value == null) { @@ -783,6 +819,8 @@ public Builder setProducer(java.lang.String value) { * * * string producer = 2; + * + * @return This builder for chaining. */ public Builder clearProducer() { @@ -800,6 +838,9 @@ public Builder clearProducer() { * * * string producer = 2; + * + * @param value The bytes for producer to set. + * @return This builder for chaining. */ public Builder setProducerBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -821,6 +862,8 @@ public Builder setProducerBytes(com.google.protobuf.ByteString value) { * * * bool first = 3; + * + * @return The first. */ public boolean getFirst() { return first_; @@ -833,6 +876,9 @@ public boolean getFirst() { * * * bool first = 3; + * + * @param value The first to set. + * @return This builder for chaining. */ public Builder setFirst(boolean value) { @@ -848,6 +894,8 @@ public Builder setFirst(boolean value) { * * * bool first = 3; + * + * @return This builder for chaining. */ public Builder clearFirst() { @@ -865,6 +913,8 @@ public Builder clearFirst() { * * * bool last = 4; + * + * @return The last. */ public boolean getLast() { return last_; @@ -877,6 +927,9 @@ public boolean getLast() { * * * bool last = 4; + * + * @param value The last to set. + * @return This builder for chaining. */ public Builder setLast(boolean value) { @@ -892,6 +945,8 @@ public Builder setLast(boolean value) { * * * bool last = 4; + * + * @return This builder for chaining. */ public Builder clearLast() { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java index 0b06b6a17..b8601c112 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java @@ -32,6 +32,8 @@ public interface LogEntryOperationOrBuilder * * * string id = 1; + * + * @return The id. */ java.lang.String getId(); /** @@ -43,6 +45,8 @@ public interface LogEntryOperationOrBuilder * * * string id = 1; + * + * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); @@ -56,6 +60,8 @@ public interface LogEntryOperationOrBuilder * * * string producer = 2; + * + * @return The producer. */ java.lang.String getProducer(); /** @@ -68,6 +74,8 @@ public interface LogEntryOperationOrBuilder * * * string producer = 2; + * + * @return The bytes for producer. */ com.google.protobuf.ByteString getProducerBytes(); @@ -79,6 +87,8 @@ public interface LogEntryOperationOrBuilder * * * bool first = 3; + * + * @return The first. */ boolean getFirst(); @@ -90,6 +100,8 @@ public interface LogEntryOperationOrBuilder * * * bool last = 4; + * + * @return The last. */ boolean getLast(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java index bf8a8cc8e..03e849694 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java @@ -48,6 +48,8 @@ public interface LogEntryOrBuilder * * * string log_name = 12; + * + * @return The logName. */ java.lang.String getLogName(); /** @@ -75,6 +77,8 @@ public interface LogEntryOrBuilder * * * string log_name = 12; + * + * @return The bytes for logName. */ com.google.protobuf.ByteString getLogNameBytes(); @@ -89,6 +93,8 @@ public interface LogEntryOrBuilder * * * .google.api.MonitoredResource resource = 8; + * + * @return Whether the resource field is set. */ boolean hasResource(); /** @@ -102,6 +108,8 @@ public interface LogEntryOrBuilder * * * .google.api.MonitoredResource resource = 8; + * + * @return The resource. */ com.google.api.MonitoredResource getResource(); /** @@ -131,6 +139,8 @@ public interface LogEntryOrBuilder * * * .google.protobuf.Any proto_payload = 2; + * + * @return Whether the protoPayload field is set. */ boolean hasProtoPayload(); /** @@ -146,6 +156,8 @@ public interface LogEntryOrBuilder * * * .google.protobuf.Any proto_payload = 2; + * + * @return The protoPayload. */ com.google.protobuf.Any getProtoPayload(); /** @@ -172,6 +184,8 @@ public interface LogEntryOrBuilder * * * string text_payload = 3; + * + * @return The textPayload. */ java.lang.String getTextPayload(); /** @@ -182,6 +196,8 @@ public interface LogEntryOrBuilder * * * string text_payload = 3; + * + * @return The bytes for textPayload. */ com.google.protobuf.ByteString getTextPayloadBytes(); @@ -194,6 +210,8 @@ public interface LogEntryOrBuilder * * * .google.protobuf.Struct json_payload = 6; + * + * @return Whether the jsonPayload field is set. */ boolean hasJsonPayload(); /** @@ -205,6 +223,8 @@ public interface LogEntryOrBuilder * * * .google.protobuf.Struct json_payload = 6; + * + * @return The jsonPayload. */ com.google.protobuf.Struct getJsonPayload(); /** @@ -237,6 +257,8 @@ public interface LogEntryOrBuilder * * * .google.protobuf.Timestamp timestamp = 9; + * + * @return Whether the timestamp field is set. */ boolean hasTimestamp(); /** @@ -257,6 +279,8 @@ public interface LogEntryOrBuilder * * * .google.protobuf.Timestamp timestamp = 9; + * + * @return The timestamp. */ com.google.protobuf.Timestamp getTimestamp(); /** @@ -288,6 +312,8 @@ public interface LogEntryOrBuilder * * * .google.protobuf.Timestamp receive_timestamp = 24; + * + * @return Whether the receiveTimestamp field is set. */ boolean hasReceiveTimestamp(); /** @@ -298,6 +324,8 @@ public interface LogEntryOrBuilder * * * .google.protobuf.Timestamp receive_timestamp = 24; + * + * @return The receiveTimestamp. */ com.google.protobuf.Timestamp getReceiveTimestamp(); /** @@ -320,6 +348,8 @@ public interface LogEntryOrBuilder * * * .google.logging.type.LogSeverity severity = 10; + * + * @return The enum numeric value on the wire for severity. */ int getSeverityValue(); /** @@ -331,6 +361,8 @@ public interface LogEntryOrBuilder * * * .google.logging.type.LogSeverity severity = 10; + * + * @return The severity. */ com.google.logging.type.LogSeverity getSeverity(); @@ -347,6 +379,8 @@ public interface LogEntryOrBuilder * * * string insert_id = 4; + * + * @return The insertId. */ java.lang.String getInsertId(); /** @@ -362,6 +396,8 @@ public interface LogEntryOrBuilder * * * string insert_id = 4; + * + * @return The bytes for insertId. */ com.google.protobuf.ByteString getInsertIdBytes(); @@ -374,6 +410,8 @@ public interface LogEntryOrBuilder * * * .google.logging.type.HttpRequest http_request = 7; + * + * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** @@ -385,6 +423,8 @@ public interface LogEntryOrBuilder * * * .google.logging.type.HttpRequest http_request = 7; + * + * @return The httpRequest. */ com.google.logging.type.HttpRequest getHttpRequest(); /** @@ -473,6 +513,8 @@ public interface LogEntryOrBuilder * * * .google.api.MonitoredResourceMetadata metadata = 25 [deprecated = true]; + * + * @return Whether the metadata field is set. */ @java.lang.Deprecated boolean hasMetadata(); @@ -491,6 +533,8 @@ public interface LogEntryOrBuilder * * * .google.api.MonitoredResourceMetadata metadata = 25 [deprecated = true]; + * + * @return The metadata. */ @java.lang.Deprecated com.google.api.MonitoredResourceMetadata getMetadata(); @@ -522,6 +566,8 @@ public interface LogEntryOrBuilder * * * .google.logging.v2.LogEntryOperation operation = 15; + * + * @return Whether the operation field is set. */ boolean hasOperation(); /** @@ -533,6 +579,8 @@ public interface LogEntryOrBuilder * * * .google.logging.v2.LogEntryOperation operation = 15; + * + * @return The operation. */ com.google.logging.v2.LogEntryOperation getOperation(); /** @@ -558,6 +606,8 @@ public interface LogEntryOrBuilder * * * string trace = 22; + * + * @return The trace. */ java.lang.String getTrace(); /** @@ -571,6 +621,8 @@ public interface LogEntryOrBuilder * * * string trace = 22; + * + * @return The bytes for trace. */ com.google.protobuf.ByteString getTraceBytes(); @@ -585,6 +637,8 @@ public interface LogEntryOrBuilder * * * string span_id = 27; + * + * @return The spanId. */ java.lang.String getSpanId(); /** @@ -598,6 +652,8 @@ public interface LogEntryOrBuilder * * * string span_id = 27; + * + * @return The bytes for spanId. */ com.google.protobuf.ByteString getSpanIdBytes(); @@ -614,6 +670,8 @@ public interface LogEntryOrBuilder * * * bool trace_sampled = 30; + * + * @return The traceSampled. */ boolean getTraceSampled(); @@ -626,6 +684,8 @@ public interface LogEntryOrBuilder * * * .google.logging.v2.LogEntrySourceLocation source_location = 23; + * + * @return Whether the sourceLocation field is set. */ boolean hasSourceLocation(); /** @@ -637,6 +697,8 @@ public interface LogEntryOrBuilder * * * .google.logging.v2.LogEntrySourceLocation source_location = 23; + * + * @return The sourceLocation. */ com.google.logging.v2.LogEntrySourceLocation getSourceLocation(); /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java index 2d05a8e90..61d7c9903 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java @@ -89,27 +89,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Google.Cloud.Logging.V2\312\002\027Google\\Cloud\\L" + "ogging\\V2b\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.MonitoredResourceProto.getDescriptor(), - com.google.logging.type.HttpRequestProto.getDescriptor(), - com.google.logging.type.LogSeverityProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.logging.type.HttpRequestProto.getDescriptor(), + com.google.logging.type.LogSeverityProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); internal_static_google_logging_v2_LogEntry_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_logging_v2_LogEntry_fieldAccessorTable = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java index 0cc24faaf..4333761e6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java @@ -43,6 +43,12 @@ private LogEntrySourceLocation() { function_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogEntrySourceLocation(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private LogEntrySourceLocation( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -131,6 +136,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string file = 1; + * + * @return The file. */ public java.lang.String getFile() { java.lang.Object ref = file_; @@ -152,6 +159,8 @@ public java.lang.String getFile() { * * * string file = 1; + * + * @return The bytes for file. */ public com.google.protobuf.ByteString getFileBytes() { java.lang.Object ref = file_; @@ -176,6 +185,8 @@ public com.google.protobuf.ByteString getFileBytes() { * * * int64 line = 2; + * + * @return The line. */ public long getLine() { return line_; @@ -196,6 +207,8 @@ public long getLine() { * * * string function = 3; + * + * @return The function. */ public java.lang.String getFunction() { java.lang.Object ref = function_; @@ -221,6 +234,8 @@ public java.lang.String getFunction() { * * * string function = 3; + * + * @return The bytes for function. */ public com.google.protobuf.ByteString getFunctionBytes() { java.lang.Object ref = function_; @@ -592,6 +607,8 @@ public Builder mergeFrom( * * * string file = 1; + * + * @return The file. */ public java.lang.String getFile() { java.lang.Object ref = file_; @@ -613,6 +630,8 @@ public java.lang.String getFile() { * * * string file = 1; + * + * @return The bytes for file. */ public com.google.protobuf.ByteString getFileBytes() { java.lang.Object ref = file_; @@ -634,6 +653,9 @@ public com.google.protobuf.ByteString getFileBytes() { * * * string file = 1; + * + * @param value The file to set. + * @return This builder for chaining. */ public Builder setFile(java.lang.String value) { if (value == null) { @@ -653,6 +675,8 @@ public Builder setFile(java.lang.String value) { * * * string file = 1; + * + * @return This builder for chaining. */ public Builder clearFile() { @@ -669,6 +693,9 @@ public Builder clearFile() { * * * string file = 1; + * + * @param value The bytes for file to set. + * @return This builder for chaining. */ public Builder setFileBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -691,6 +718,8 @@ public Builder setFileBytes(com.google.protobuf.ByteString value) { * * * int64 line = 2; + * + * @return The line. */ public long getLine() { return line_; @@ -704,6 +733,9 @@ public long getLine() { * * * int64 line = 2; + * + * @param value The line to set. + * @return This builder for chaining. */ public Builder setLine(long value) { @@ -720,6 +752,8 @@ public Builder setLine(long value) { * * * int64 line = 2; + * + * @return This builder for chaining. */ public Builder clearLine() { @@ -742,6 +776,8 @@ public Builder clearLine() { * * * string function = 3; + * + * @return The function. */ public java.lang.String getFunction() { java.lang.Object ref = function_; @@ -767,6 +803,8 @@ public java.lang.String getFunction() { * * * string function = 3; + * + * @return The bytes for function. */ public com.google.protobuf.ByteString getFunctionBytes() { java.lang.Object ref = function_; @@ -792,6 +830,9 @@ public com.google.protobuf.ByteString getFunctionBytes() { * * * string function = 3; + * + * @param value The function to set. + * @return This builder for chaining. */ public Builder setFunction(java.lang.String value) { if (value == null) { @@ -815,6 +856,8 @@ public Builder setFunction(java.lang.String value) { * * * string function = 3; + * + * @return This builder for chaining. */ public Builder clearFunction() { @@ -835,6 +878,9 @@ public Builder clearFunction() { * * * string function = 3; + * + * @param value The bytes for function to set. + * @return This builder for chaining. */ public Builder setFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java index ee81f1f1c..e6f0c910e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java @@ -32,6 +32,8 @@ public interface LogEntrySourceLocationOrBuilder * * * string file = 1; + * + * @return The file. */ java.lang.String getFile(); /** @@ -43,6 +45,8 @@ public interface LogEntrySourceLocationOrBuilder * * * string file = 1; + * + * @return The bytes for file. */ com.google.protobuf.ByteString getFileBytes(); @@ -55,6 +59,8 @@ public interface LogEntrySourceLocationOrBuilder * * * int64 line = 2; + * + * @return The line. */ long getLine(); @@ -71,6 +77,8 @@ public interface LogEntrySourceLocationOrBuilder * * * string function = 3; + * + * @return The function. */ java.lang.String getFunction(); /** @@ -86,6 +94,8 @@ public interface LogEntrySourceLocationOrBuilder * * * string function = 3; + * + * @return The bytes for function. */ com.google.protobuf.ByteString getFunctionBytes(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java index 0495306ea..63a391c33 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java @@ -48,6 +48,12 @@ private LogExclusion() { filter_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogExclusion(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -61,7 +67,6 @@ private LogExclusion( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -174,6 +179,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -196,6 +203,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -219,6 +228,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string description = 2; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -239,6 +250,8 @@ public java.lang.String getDescription() { * * * string description = 2; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -268,6 +281,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * string filter = 3; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -294,6 +309,8 @@ public java.lang.String getFilter() { * * * string filter = 3; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -320,6 +337,8 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * bool disabled = 4; + * + * @return The disabled. */ public boolean getDisabled() { return disabled_; @@ -336,6 +355,8 @@ public boolean getDisabled() { * * * .google.protobuf.Timestamp create_time = 5; + * + * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTime_ != null; @@ -349,6 +370,8 @@ public boolean hasCreateTime() { * * * .google.protobuf.Timestamp create_time = 5; + * + * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; @@ -378,6 +401,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * * .google.protobuf.Timestamp update_time = 6; + * + * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTime_ != null; @@ -391,6 +416,8 @@ public boolean hasUpdateTime() { * * * .google.protobuf.Timestamp update_time = 6; + * + * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; @@ -841,6 +868,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -863,6 +892,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -885,6 +916,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -905,6 +939,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -922,6 +958,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -943,6 +982,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * string description = 2; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -963,6 +1004,8 @@ public java.lang.String getDescription() { * * * string description = 2; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -983,6 +1026,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * string description = 2; + * + * @param value The description to set. + * @return This builder for chaining. */ public Builder setDescription(java.lang.String value) { if (value == null) { @@ -1001,6 +1047,8 @@ public Builder setDescription(java.lang.String value) { * * * string description = 2; + * + * @return This builder for chaining. */ public Builder clearDescription() { @@ -1016,6 +1064,9 @@ public Builder clearDescription() { * * * string description = 2; + * + * @param value The bytes for description to set. + * @return This builder for chaining. */ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1043,6 +1094,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * * string filter = 3; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -1069,6 +1122,8 @@ public java.lang.String getFilter() { * * * string filter = 3; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1095,6 +1150,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * string filter = 3; + * + * @param value The filter to set. + * @return This builder for chaining. */ public Builder setFilter(java.lang.String value) { if (value == null) { @@ -1119,6 +1177,8 @@ public Builder setFilter(java.lang.String value) { * * * string filter = 3; + * + * @return This builder for chaining. */ public Builder clearFilter() { @@ -1140,6 +1200,9 @@ public Builder clearFilter() { * * * string filter = 3; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. */ public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1164,6 +1227,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * * bool disabled = 4; + * + * @return The disabled. */ public boolean getDisabled() { return disabled_; @@ -1179,6 +1244,9 @@ public boolean getDisabled() { * * * bool disabled = 4; + * + * @param value The disabled to set. + * @return This builder for chaining. */ public Builder setDisabled(boolean value) { @@ -1197,6 +1265,8 @@ public Builder setDisabled(boolean value) { * * * bool disabled = 4; + * + * @return This builder for chaining. */ public Builder clearDisabled() { @@ -1220,6 +1290,8 @@ public Builder clearDisabled() { * * * .google.protobuf.Timestamp create_time = 5; + * + * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; @@ -1233,6 +1305,8 @@ public boolean hasCreateTime() { * * * .google.protobuf.Timestamp create_time = 5; + * + * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { @@ -1408,6 +1482,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * * .google.protobuf.Timestamp update_time = 6; + * + * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; @@ -1421,6 +1497,8 @@ public boolean hasUpdateTime() { * * * .google.protobuf.Timestamp update_time = 6; + * + * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java index 97b2dee19..b0ec3c841 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java @@ -33,6 +33,8 @@ public interface LogExclusionOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -45,6 +47,8 @@ public interface LogExclusionOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -56,6 +60,8 @@ public interface LogExclusionOrBuilder * * * string description = 2; + * + * @return The description. */ java.lang.String getDescription(); /** @@ -66,6 +72,8 @@ public interface LogExclusionOrBuilder * * * string description = 2; + * + * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); @@ -83,6 +91,8 @@ public interface LogExclusionOrBuilder * * * string filter = 3; + * + * @return The filter. */ java.lang.String getFilter(); /** @@ -99,6 +109,8 @@ public interface LogExclusionOrBuilder * * * string filter = 3; + * + * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); @@ -113,6 +125,8 @@ public interface LogExclusionOrBuilder * * * bool disabled = 4; + * + * @return The disabled. */ boolean getDisabled(); @@ -125,6 +139,8 @@ public interface LogExclusionOrBuilder * * * .google.protobuf.Timestamp create_time = 5; + * + * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** @@ -136,6 +152,8 @@ public interface LogExclusionOrBuilder * * * .google.protobuf.Timestamp create_time = 5; + * + * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** @@ -159,6 +177,8 @@ public interface LogExclusionOrBuilder * * * .google.protobuf.Timestamp update_time = 6; + * + * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** @@ -170,6 +190,8 @@ public interface LogExclusionOrBuilder * * * .google.protobuf.Timestamp update_time = 6; + * + * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java index d9856cf4e..592053d95 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java @@ -50,6 +50,12 @@ private LogMetric() { version_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogMetric(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -126,11 +132,11 @@ private LogMetric( } case 58: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labelExtractors_ = com.google.protobuf.MapField.newMapField( LabelExtractorsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labelExtractors__ = input.readMessage( @@ -293,12 +299,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static ApiVersion valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static ApiVersion forNumber(int value) { switch (value) { case 0: @@ -354,7 +368,6 @@ private ApiVersion(int value) { // @@protoc_insertion_point(enum_scope:google.logging.v2.LogMetric.ApiVersion) } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -375,6 +388,8 @@ private ApiVersion(int value) { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -405,6 +420,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -429,6 +446,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string description = 2; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -450,6 +469,8 @@ public java.lang.String getDescription() { * * * string description = 2; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -477,6 +498,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * string filter = 3; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -501,6 +524,8 @@ public java.lang.String getFilter() { * * * string filter = 3; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -540,6 +565,8 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * .google.api.MetricDescriptor metric_descriptor = 5; + * + * @return Whether the metricDescriptor field is set. */ public boolean hasMetricDescriptor() { return metricDescriptor_ != null; @@ -568,6 +595,8 @@ public boolean hasMetricDescriptor() { * * * .google.api.MetricDescriptor metric_descriptor = 5; + * + * @return The metricDescriptor. */ public com.google.api.MetricDescriptor getMetricDescriptor() { return metricDescriptor_ == null @@ -629,6 +658,8 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * * * string value_extractor = 6; + * + * @return The valueExtractor. */ public java.lang.String getValueExtractor() { java.lang.Object ref = valueExtractor_; @@ -665,6 +696,8 @@ public java.lang.String getValueExtractor() { * * * string value_extractor = 6; + * + * @return The bytes for valueExtractor. */ public com.google.protobuf.ByteString getValueExtractorBytes() { java.lang.Object ref = valueExtractor_; @@ -830,6 +863,8 @@ public java.lang.String getLabelExtractorsOrThrow(java.lang.String key) { * * * .google.api.Distribution.BucketOptions bucket_options = 8; + * + * @return Whether the bucketOptions field is set. */ public boolean hasBucketOptions() { return bucketOptions_ != null; @@ -844,6 +879,8 @@ public boolean hasBucketOptions() { * * * .google.api.Distribution.BucketOptions bucket_options = 8; + * + * @return The bucketOptions. */ public com.google.api.Distribution.BucketOptions getBucketOptions() { return bucketOptions_ == null @@ -876,6 +913,8 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil * * * .google.protobuf.Timestamp create_time = 9; + * + * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTime_ != null; @@ -889,6 +928,8 @@ public boolean hasCreateTime() { * * * .google.protobuf.Timestamp create_time = 9; + * + * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; @@ -918,6 +959,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * * .google.protobuf.Timestamp update_time = 10; + * + * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTime_ != null; @@ -931,6 +974,8 @@ public boolean hasUpdateTime() { * * * .google.protobuf.Timestamp update_time = 10; + * + * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; @@ -960,6 +1005,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * * .google.logging.v2.LogMetric.ApiVersion version = 4 [deprecated = true]; + * + * @return The enum numeric value on the wire for version. */ @java.lang.Deprecated public int getVersionValue() { @@ -974,6 +1021,8 @@ public int getVersionValue() { * * * .google.logging.v2.LogMetric.ApiVersion version = 4 [deprecated = true]; + * + * @return The version. */ @java.lang.Deprecated public com.google.logging.v2.LogMetric.ApiVersion getVersion() { @@ -1380,7 +1429,6 @@ public com.google.logging.v2.LogMetric build() { public com.google.logging.v2.LogMetric buildPartial() { com.google.logging.v2.LogMetric result = new com.google.logging.v2.LogMetric(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; result.description_ = description_; result.filter_ = filter_; @@ -1408,7 +1456,6 @@ public com.google.logging.v2.LogMetric buildPartial() { result.updateTime_ = updateTimeBuilder_.build(); } result.version_ = version_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1540,6 +1587,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -1570,6 +1619,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -1600,6 +1651,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -1628,6 +1682,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -1653,6 +1709,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1675,6 +1734,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * string description = 2; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -1696,6 +1757,8 @@ public java.lang.String getDescription() { * * * string description = 2; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -1717,6 +1780,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * string description = 2; + * + * @param value The description to set. + * @return This builder for chaining. */ public Builder setDescription(java.lang.String value) { if (value == null) { @@ -1736,6 +1802,8 @@ public Builder setDescription(java.lang.String value) { * * * string description = 2; + * + * @return This builder for chaining. */ public Builder clearDescription() { @@ -1752,6 +1820,9 @@ public Builder clearDescription() { * * * string description = 2; + * + * @param value The bytes for description to set. + * @return This builder for chaining. */ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1777,6 +1848,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * * string filter = 3; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -1801,6 +1874,8 @@ public java.lang.String getFilter() { * * * string filter = 3; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1825,6 +1900,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * string filter = 3; + * + * @param value The filter to set. + * @return This builder for chaining. */ public Builder setFilter(java.lang.String value) { if (value == null) { @@ -1847,6 +1925,8 @@ public Builder setFilter(java.lang.String value) { * * * string filter = 3; + * + * @return This builder for chaining. */ public Builder clearFilter() { @@ -1866,6 +1946,9 @@ public Builder clearFilter() { * * * string filter = 3; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. */ public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1908,6 +1991,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * * .google.api.MetricDescriptor metric_descriptor = 5; + * + * @return Whether the metricDescriptor field is set. */ public boolean hasMetricDescriptor() { return metricDescriptorBuilder_ != null || metricDescriptor_ != null; @@ -1936,6 +2021,8 @@ public boolean hasMetricDescriptor() { * * * .google.api.MetricDescriptor metric_descriptor = 5; + * + * @return The metricDescriptor. */ public com.google.api.MetricDescriptor getMetricDescriptor() { if (metricDescriptorBuilder_ == null) { @@ -2228,6 +2315,8 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * * * string value_extractor = 6; + * + * @return The valueExtractor. */ public java.lang.String getValueExtractor() { java.lang.Object ref = valueExtractor_; @@ -2264,6 +2353,8 @@ public java.lang.String getValueExtractor() { * * * string value_extractor = 6; + * + * @return The bytes for valueExtractor. */ public com.google.protobuf.ByteString getValueExtractorBytes() { java.lang.Object ref = valueExtractor_; @@ -2300,6 +2391,9 @@ public com.google.protobuf.ByteString getValueExtractorBytes() { * * * string value_extractor = 6; + * + * @param value The valueExtractor to set. + * @return This builder for chaining. */ public Builder setValueExtractor(java.lang.String value) { if (value == null) { @@ -2334,6 +2428,8 @@ public Builder setValueExtractor(java.lang.String value) { * * * string value_extractor = 6; + * + * @return This builder for chaining. */ public Builder clearValueExtractor() { @@ -2365,6 +2461,9 @@ public Builder clearValueExtractor() { * * * string value_extractor = 6; + * + * @param value The bytes for valueExtractor to set. + * @return This builder for chaining. */ public Builder setValueExtractorBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2626,6 +2725,8 @@ public Builder putAllLabelExtractors(java.util.Map * * .google.api.Distribution.BucketOptions bucket_options = 8; + * + * @return Whether the bucketOptions field is set. */ public boolean hasBucketOptions() { return bucketOptionsBuilder_ != null || bucketOptions_ != null; @@ -2640,6 +2741,8 @@ public boolean hasBucketOptions() { * * * .google.api.Distribution.BucketOptions bucket_options = 8; + * + * @return The bucketOptions. */ public com.google.api.Distribution.BucketOptions getBucketOptions() { if (bucketOptionsBuilder_ == null) { @@ -2825,6 +2928,8 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil * * * .google.protobuf.Timestamp create_time = 9; + * + * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; @@ -2838,6 +2943,8 @@ public boolean hasCreateTime() { * * * .google.protobuf.Timestamp create_time = 9; + * + * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { @@ -3013,6 +3120,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * * .google.protobuf.Timestamp update_time = 10; + * + * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; @@ -3026,6 +3135,8 @@ public boolean hasUpdateTime() { * * * .google.protobuf.Timestamp update_time = 10; + * + * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3196,6 +3307,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * * .google.logging.v2.LogMetric.ApiVersion version = 4 [deprecated = true]; + * + * @return The enum numeric value on the wire for version. */ @java.lang.Deprecated public int getVersionValue() { @@ -3210,6 +3323,9 @@ public int getVersionValue() { * * * .google.logging.v2.LogMetric.ApiVersion version = 4 [deprecated = true]; + * + * @param value The enum numeric value on the wire for version to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setVersionValue(int value) { @@ -3226,6 +3342,8 @@ public Builder setVersionValue(int value) { * * * .google.logging.v2.LogMetric.ApiVersion version = 4 [deprecated = true]; + * + * @return The version. */ @java.lang.Deprecated public com.google.logging.v2.LogMetric.ApiVersion getVersion() { @@ -3243,6 +3361,9 @@ public com.google.logging.v2.LogMetric.ApiVersion getVersion() { * * * .google.logging.v2.LogMetric.ApiVersion version = 4 [deprecated = true]; + * + * @param value The version to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setVersion(com.google.logging.v2.LogMetric.ApiVersion value) { @@ -3263,6 +3384,8 @@ public Builder setVersion(com.google.logging.v2.LogMetric.ApiVersion value) { * * * .google.logging.v2.LogMetric.ApiVersion version = 4 [deprecated = true]; + * + * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearVersion() { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java index cb095a67a..9ea406200 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java @@ -41,6 +41,8 @@ public interface LogMetricOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -61,6 +63,8 @@ public interface LogMetricOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -73,6 +77,8 @@ public interface LogMetricOrBuilder * * * string description = 2; + * + * @return The description. */ java.lang.String getDescription(); /** @@ -84,6 +90,8 @@ public interface LogMetricOrBuilder * * * string description = 2; + * + * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); @@ -99,6 +107,8 @@ public interface LogMetricOrBuilder * * * string filter = 3; + * + * @return The filter. */ java.lang.String getFilter(); /** @@ -113,6 +123,8 @@ public interface LogMetricOrBuilder * * * string filter = 3; + * + * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); @@ -140,6 +152,8 @@ public interface LogMetricOrBuilder * * * .google.api.MetricDescriptor metric_descriptor = 5; + * + * @return Whether the metricDescriptor field is set. */ boolean hasMetricDescriptor(); /** @@ -166,6 +180,8 @@ public interface LogMetricOrBuilder * * * .google.api.MetricDescriptor metric_descriptor = 5; + * + * @return The metricDescriptor. */ com.google.api.MetricDescriptor getMetricDescriptor(); /** @@ -219,6 +235,8 @@ public interface LogMetricOrBuilder * * * string value_extractor = 6; + * + * @return The valueExtractor. */ java.lang.String getValueExtractor(); /** @@ -245,6 +263,8 @@ public interface LogMetricOrBuilder * * * string value_extractor = 6; + * + * @return The bytes for valueExtractor. */ com.google.protobuf.ByteString getValueExtractorBytes(); @@ -367,6 +387,8 @@ public interface LogMetricOrBuilder * * * .google.api.Distribution.BucketOptions bucket_options = 8; + * + * @return Whether the bucketOptions field is set. */ boolean hasBucketOptions(); /** @@ -379,6 +401,8 @@ public interface LogMetricOrBuilder * * * .google.api.Distribution.BucketOptions bucket_options = 8; + * + * @return The bucketOptions. */ com.google.api.Distribution.BucketOptions getBucketOptions(); /** @@ -403,6 +427,8 @@ public interface LogMetricOrBuilder * * * .google.protobuf.Timestamp create_time = 9; + * + * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** @@ -414,6 +440,8 @@ public interface LogMetricOrBuilder * * * .google.protobuf.Timestamp create_time = 9; + * + * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** @@ -437,6 +465,8 @@ public interface LogMetricOrBuilder * * * .google.protobuf.Timestamp update_time = 10; + * + * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** @@ -448,6 +478,8 @@ public interface LogMetricOrBuilder * * * .google.protobuf.Timestamp update_time = 10; + * + * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** @@ -471,6 +503,8 @@ public interface LogMetricOrBuilder * * * .google.logging.v2.LogMetric.ApiVersion version = 4 [deprecated = true]; + * + * @return The enum numeric value on the wire for version. */ @java.lang.Deprecated int getVersionValue(); @@ -483,6 +517,8 @@ public interface LogMetricOrBuilder * * * .google.logging.v2.LogMetric.ApiVersion version = 4 [deprecated = true]; + * + * @return The version. */ @java.lang.Deprecated com.google.logging.v2.LogMetric.ApiVersion getVersion(); diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java index 9bf999a77..e3fc4d26b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java @@ -18,7 +18,7 @@ import com.google.api.resourcenames.ResourceName; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public abstract class LogName implements ResourceName { protected LogName() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogNames.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogNames.java index 2607187c2..4fd52efe0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogNames.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogNames.java @@ -16,8 +16,13 @@ package com.google.logging.v2; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class LogNames { private LogNames() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java index 3769d3a8f..5bc2beb60 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java @@ -49,6 +49,12 @@ private LogSink() { writerIdentity_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogSink(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -62,7 +68,6 @@ private LogSink( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -306,12 +311,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static VersionFormat valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static VersionFormat forNumber(int value) { switch (value) { case 0: @@ -372,7 +385,10 @@ private VersionFormat(int value) { private int optionsCase_ = 0; private java.lang.Object options_; - public enum OptionsCase implements com.google.protobuf.Internal.EnumLite { + public enum OptionsCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { BIGQUERY_OPTIONS(12), OPTIONS_NOT_SET(0); private final int value; @@ -380,7 +396,11 @@ public enum OptionsCase implements com.google.protobuf.Internal.EnumLite { private OptionsCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static OptionsCase valueOf(int value) { return forNumber(value); @@ -420,6 +440,8 @@ public OptionsCase getOptionsCase() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -444,6 +466,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -474,6 +498,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string destination = 3; + * + * @return The destination. */ public java.lang.String getDestination() { java.lang.Object ref = destination_; @@ -501,6 +527,8 @@ public java.lang.String getDestination() { * * * string destination = 3; + * + * @return The bytes for destination. */ public com.google.protobuf.ByteString getDestinationBytes() { java.lang.Object ref = destination_; @@ -527,6 +555,8 @@ public com.google.protobuf.ByteString getDestinationBytes() { * * * string filter = 5; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -550,6 +580,8 @@ public java.lang.String getFilter() { * * * string filter = 5; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -575,6 +607,8 @@ public com.google.protobuf.ByteString getFilterBytes() { * * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; * + * + * @return The enum numeric value on the wire for outputVersionFormat. */ @java.lang.Deprecated public int getOutputVersionFormatValue() { @@ -590,6 +624,8 @@ public int getOutputVersionFormatValue() { * * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; * + * + * @return The outputVersionFormat. */ @java.lang.Deprecated public com.google.logging.v2.LogSink.VersionFormat getOutputVersionFormat() { @@ -621,6 +657,8 @@ public com.google.logging.v2.LogSink.VersionFormat getOutputVersionFormat() { * * * string writer_identity = 8; + * + * @return The writerIdentity. */ public java.lang.String getWriterIdentity() { java.lang.Object ref = writerIdentity_; @@ -653,6 +691,8 @@ public java.lang.String getWriterIdentity() { * * * string writer_identity = 8; + * + * @return The bytes for writerIdentity. */ public com.google.protobuf.ByteString getWriterIdentityBytes() { java.lang.Object ref = writerIdentity_; @@ -687,6 +727,8 @@ public com.google.protobuf.ByteString getWriterIdentityBytes() { * * * bool include_children = 9; + * + * @return The includeChildren. */ public boolean getIncludeChildren() { return includeChildren_; @@ -701,6 +743,8 @@ public boolean getIncludeChildren() { * * * .google.logging.v2.BigQueryOptions bigquery_options = 12; + * + * @return Whether the bigqueryOptions field is set. */ public boolean hasBigqueryOptions() { return optionsCase_ == 12; @@ -713,6 +757,8 @@ public boolean hasBigqueryOptions() { * * * .google.logging.v2.BigQueryOptions bigquery_options = 12; + * + * @return The bigqueryOptions. */ public com.google.logging.v2.BigQueryOptions getBigqueryOptions() { if (optionsCase_ == 12) { @@ -747,6 +793,8 @@ public com.google.logging.v2.BigQueryOptionsOrBuilder getBigqueryOptionsOrBuilde * * * .google.protobuf.Timestamp create_time = 13; + * + * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTime_ != null; @@ -760,6 +808,8 @@ public boolean hasCreateTime() { * * * .google.protobuf.Timestamp create_time = 13; + * + * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; @@ -789,6 +839,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * * .google.protobuf.Timestamp update_time = 14; + * + * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTime_ != null; @@ -802,6 +854,8 @@ public boolean hasUpdateTime() { * * * .google.protobuf.Timestamp update_time = 14; + * + * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; @@ -830,6 +884,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * * .google.protobuf.Timestamp start_time = 10 [deprecated = true]; + * + * @return Whether the startTime field is set. */ @java.lang.Deprecated public boolean hasStartTime() { @@ -843,6 +899,8 @@ public boolean hasStartTime() { * * * .google.protobuf.Timestamp start_time = 10 [deprecated = true]; + * + * @return The startTime. */ @java.lang.Deprecated public com.google.protobuf.Timestamp getStartTime() { @@ -872,6 +930,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * * .google.protobuf.Timestamp end_time = 11 [deprecated = true]; + * + * @return Whether the endTime field is set. */ @java.lang.Deprecated public boolean hasEndTime() { @@ -885,6 +945,8 @@ public boolean hasEndTime() { * * * .google.protobuf.Timestamp end_time = 11 [deprecated = true]; + * + * @return The endTime. */ @java.lang.Deprecated public com.google.protobuf.Timestamp getEndTime() { @@ -1484,6 +1546,8 @@ public Builder clearOptions() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -1508,6 +1572,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -1532,6 +1598,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -1554,6 +1623,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -1573,6 +1644,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1601,6 +1675,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * string destination = 3; + * + * @return The destination. */ public java.lang.String getDestination() { java.lang.Object ref = destination_; @@ -1628,6 +1704,8 @@ public java.lang.String getDestination() { * * * string destination = 3; + * + * @return The bytes for destination. */ public com.google.protobuf.ByteString getDestinationBytes() { java.lang.Object ref = destination_; @@ -1655,6 +1733,9 @@ public com.google.protobuf.ByteString getDestinationBytes() { * * * string destination = 3; + * + * @param value The destination to set. + * @return This builder for chaining. */ public Builder setDestination(java.lang.String value) { if (value == null) { @@ -1680,6 +1761,8 @@ public Builder setDestination(java.lang.String value) { * * * string destination = 3; + * + * @return This builder for chaining. */ public Builder clearDestination() { @@ -1702,6 +1785,9 @@ public Builder clearDestination() { * * * string destination = 3; + * + * @param value The bytes for destination to set. + * @return This builder for chaining. */ public Builder setDestinationBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1726,6 +1812,8 @@ public Builder setDestinationBytes(com.google.protobuf.ByteString value) { * * * string filter = 5; + * + * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -1749,6 +1837,8 @@ public java.lang.String getFilter() { * * * string filter = 5; + * + * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1772,6 +1862,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * * string filter = 5; + * + * @param value The filter to set. + * @return This builder for chaining. */ public Builder setFilter(java.lang.String value) { if (value == null) { @@ -1793,6 +1886,8 @@ public Builder setFilter(java.lang.String value) { * * * string filter = 5; + * + * @return This builder for chaining. */ public Builder clearFilter() { @@ -1811,6 +1906,9 @@ public Builder clearFilter() { * * * string filter = 5; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. */ public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1834,6 +1932,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; * + * + * @return The enum numeric value on the wire for outputVersionFormat. */ @java.lang.Deprecated public int getOutputVersionFormatValue() { @@ -1849,6 +1949,9 @@ public int getOutputVersionFormatValue() { * * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; * + * + * @param value The enum numeric value on the wire for outputVersionFormat to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setOutputVersionFormatValue(int value) { @@ -1866,6 +1969,8 @@ public Builder setOutputVersionFormatValue(int value) { * * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; * + * + * @return The outputVersionFormat. */ @java.lang.Deprecated public com.google.logging.v2.LogSink.VersionFormat getOutputVersionFormat() { @@ -1884,6 +1989,9 @@ public com.google.logging.v2.LogSink.VersionFormat getOutputVersionFormat() { * * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; * + * + * @param value The outputVersionFormat to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setOutputVersionFormat(com.google.logging.v2.LogSink.VersionFormat value) { @@ -1905,6 +2013,8 @@ public Builder setOutputVersionFormat(com.google.logging.v2.LogSink.VersionForma * * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; * + * + * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearOutputVersionFormat() { @@ -1935,6 +2045,8 @@ public Builder clearOutputVersionFormat() { * * * string writer_identity = 8; + * + * @return The writerIdentity. */ public java.lang.String getWriterIdentity() { java.lang.Object ref = writerIdentity_; @@ -1967,6 +2079,8 @@ public java.lang.String getWriterIdentity() { * * * string writer_identity = 8; + * + * @return The bytes for writerIdentity. */ public com.google.protobuf.ByteString getWriterIdentityBytes() { java.lang.Object ref = writerIdentity_; @@ -1999,6 +2113,9 @@ public com.google.protobuf.ByteString getWriterIdentityBytes() { * * * string writer_identity = 8; + * + * @param value The writerIdentity to set. + * @return This builder for chaining. */ public Builder setWriterIdentity(java.lang.String value) { if (value == null) { @@ -2029,6 +2146,8 @@ public Builder setWriterIdentity(java.lang.String value) { * * * string writer_identity = 8; + * + * @return This builder for chaining. */ public Builder clearWriterIdentity() { @@ -2056,6 +2175,9 @@ public Builder clearWriterIdentity() { * * * string writer_identity = 8; + * + * @param value The bytes for writerIdentity to set. + * @return This builder for chaining. */ public Builder setWriterIdentityBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2088,6 +2210,8 @@ public Builder setWriterIdentityBytes(com.google.protobuf.ByteString value) { * * * bool include_children = 9; + * + * @return The includeChildren. */ public boolean getIncludeChildren() { return includeChildren_; @@ -2111,6 +2235,9 @@ public boolean getIncludeChildren() { * * * bool include_children = 9; + * + * @param value The includeChildren to set. + * @return This builder for chaining. */ public Builder setIncludeChildren(boolean value) { @@ -2137,6 +2264,8 @@ public Builder setIncludeChildren(boolean value) { * * * bool include_children = 9; + * + * @return This builder for chaining. */ public Builder clearIncludeChildren() { @@ -2158,6 +2287,8 @@ public Builder clearIncludeChildren() { * * * .google.logging.v2.BigQueryOptions bigquery_options = 12; + * + * @return Whether the bigqueryOptions field is set. */ public boolean hasBigqueryOptions() { return optionsCase_ == 12; @@ -2170,6 +2301,8 @@ public boolean hasBigqueryOptions() { * * * .google.logging.v2.BigQueryOptions bigquery_options = 12; + * + * @return The bigqueryOptions. */ public com.google.logging.v2.BigQueryOptions getBigqueryOptions() { if (bigqueryOptionsBuilder_ == null) { @@ -2362,6 +2495,8 @@ public com.google.logging.v2.BigQueryOptionsOrBuilder getBigqueryOptionsOrBuilde * * * .google.protobuf.Timestamp create_time = 13; + * + * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; @@ -2375,6 +2510,8 @@ public boolean hasCreateTime() { * * * .google.protobuf.Timestamp create_time = 13; + * + * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { @@ -2550,6 +2687,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * * .google.protobuf.Timestamp update_time = 14; + * + * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; @@ -2563,6 +2702,8 @@ public boolean hasUpdateTime() { * * * .google.protobuf.Timestamp update_time = 14; + * + * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2737,6 +2878,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * * .google.protobuf.Timestamp start_time = 10 [deprecated = true]; + * + * @return Whether the startTime field is set. */ @java.lang.Deprecated public boolean hasStartTime() { @@ -2750,6 +2893,8 @@ public boolean hasStartTime() { * * * .google.protobuf.Timestamp start_time = 10 [deprecated = true]; + * + * @return The startTime. */ @java.lang.Deprecated public com.google.protobuf.Timestamp getStartTime() { @@ -2920,6 +3065,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * * .google.protobuf.Timestamp end_time = 11 [deprecated = true]; + * + * @return Whether the endTime field is set. */ @java.lang.Deprecated public boolean hasEndTime() { @@ -2933,6 +3080,8 @@ public boolean hasEndTime() { * * * .google.protobuf.Timestamp end_time = 11 [deprecated = true]; + * + * @return The endTime. */ @java.lang.Deprecated public com.google.protobuf.Timestamp getEndTime() { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java index ded8e1fea..a58d74b3e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java @@ -35,6 +35,8 @@ public interface LogSinkOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -49,6 +51,8 @@ public interface LogSinkOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -67,6 +71,8 @@ public interface LogSinkOrBuilder * * * string destination = 3; + * + * @return The destination. */ java.lang.String getDestination(); /** @@ -84,6 +90,8 @@ public interface LogSinkOrBuilder * * * string destination = 3; + * + * @return The bytes for destination. */ com.google.protobuf.ByteString getDestinationBytes(); @@ -98,6 +106,8 @@ public interface LogSinkOrBuilder * * * string filter = 5; + * + * @return The filter. */ java.lang.String getFilter(); /** @@ -111,6 +121,8 @@ public interface LogSinkOrBuilder * * * string filter = 5; + * + * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); @@ -124,6 +136,8 @@ public interface LogSinkOrBuilder * * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; * + * + * @return The enum numeric value on the wire for outputVersionFormat. */ @java.lang.Deprecated int getOutputVersionFormatValue(); @@ -137,6 +151,8 @@ public interface LogSinkOrBuilder * * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; * + * + * @return The outputVersionFormat. */ @java.lang.Deprecated com.google.logging.v2.LogSink.VersionFormat getOutputVersionFormat(); @@ -161,6 +177,8 @@ public interface LogSinkOrBuilder * * * string writer_identity = 8; + * + * @return The writerIdentity. */ java.lang.String getWriterIdentity(); /** @@ -183,6 +201,8 @@ public interface LogSinkOrBuilder * * * string writer_identity = 8; + * + * @return The bytes for writerIdentity. */ com.google.protobuf.ByteString getWriterIdentityBytes(); @@ -205,6 +225,8 @@ public interface LogSinkOrBuilder * * * bool include_children = 9; + * + * @return The includeChildren. */ boolean getIncludeChildren(); @@ -216,6 +238,8 @@ public interface LogSinkOrBuilder * * * .google.logging.v2.BigQueryOptions bigquery_options = 12; + * + * @return Whether the bigqueryOptions field is set. */ boolean hasBigqueryOptions(); /** @@ -226,6 +250,8 @@ public interface LogSinkOrBuilder * * * .google.logging.v2.BigQueryOptions bigquery_options = 12; + * + * @return The bigqueryOptions. */ com.google.logging.v2.BigQueryOptions getBigqueryOptions(); /** @@ -248,6 +274,8 @@ public interface LogSinkOrBuilder * * * .google.protobuf.Timestamp create_time = 13; + * + * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** @@ -259,6 +287,8 @@ public interface LogSinkOrBuilder * * * .google.protobuf.Timestamp create_time = 13; + * + * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** @@ -282,6 +312,8 @@ public interface LogSinkOrBuilder * * * .google.protobuf.Timestamp update_time = 14; + * + * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** @@ -293,6 +325,8 @@ public interface LogSinkOrBuilder * * * .google.protobuf.Timestamp update_time = 14; + * + * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** @@ -315,6 +349,8 @@ public interface LogSinkOrBuilder * * * .google.protobuf.Timestamp start_time = 10 [deprecated = true]; + * + * @return Whether the startTime field is set. */ @java.lang.Deprecated boolean hasStartTime(); @@ -326,6 +362,8 @@ public interface LogSinkOrBuilder * * * .google.protobuf.Timestamp start_time = 10 [deprecated = true]; + * + * @return The startTime. */ @java.lang.Deprecated com.google.protobuf.Timestamp getStartTime(); @@ -349,6 +387,8 @@ public interface LogSinkOrBuilder * * * .google.protobuf.Timestamp end_time = 11 [deprecated = true]; + * + * @return Whether the endTime field is set. */ @java.lang.Deprecated boolean hasEndTime(); @@ -360,6 +400,8 @@ public interface LogSinkOrBuilder * * * .google.protobuf.Timestamp end_time = 11 [deprecated = true]; + * + * @return The endTime. */ @java.lang.Deprecated com.google.protobuf.Timestamp getEndTime(); diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java index 879403205..cd025939c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java @@ -238,25 +238,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gging/v2;logging\370\001\001\252\002\027Google.Cloud.Loggi" + "ng.V2\312\002\027Google\\Cloud\\Logging\\V2b\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + }); internal_static_google_logging_v2_LogSink_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_logging_v2_LogSink_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java index 8da65b02a..61b60454e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java @@ -130,26 +130,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Clou" + "d\\Logging\\V2b\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.DistributionProto.getDescriptor(), - com.google.api.MetricProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.DistributionProto.getDescriptor(), + com.google.api.MetricProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + }); internal_static_google_logging_v2_LogMetric_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_logging_v2_LogMetric_fieldAccessorTable = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java index f2a58dac6..e16f7a8c1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java @@ -160,28 +160,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogging.V2\312\002\027Google\\Cloud\\Logging\\V2b\006pro" + "to3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.MonitoredResourceProto.getDescriptor(), - com.google.logging.v2.LogEntryProto.getDescriptor(), - com.google.logging.v2.LoggingConfigProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.logging.v2.LogEntryProto.getDescriptor(), + com.google.logging.v2.LoggingConfigProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + }); internal_static_google_logging_v2_DeleteLogRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_logging_v2_DeleteLogRequest_fieldAccessorTable = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricName.java index cfc93daac..294b75a17 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricName.java @@ -18,7 +18,7 @@ import com.google.api.resourcenames.ResourceName; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public abstract class MetricName implements ResourceName { protected MetricName() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricNames.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricNames.java index 3b67b8601..9f1e6011e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricNames.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricNames.java @@ -16,8 +16,13 @@ package com.google.logging.v2; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class MetricNames { private MetricNames() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationExclusionName.java index b8052f7b5..90501fce1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationExclusionName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class OrganizationExclusionName extends ExclusionName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLogName.java index 9270ab6c9..6c3ca135d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLogName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class OrganizationLogName extends LogName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java index f4f11936a..1a008ca5d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class OrganizationName extends ParentName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationSinkName.java index 2d74202fd..6e8f15f59 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationSinkName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class OrganizationSinkName extends SinkName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ParentName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ParentName.java index 45a4428a5..50188af12 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ParentName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ParentName.java @@ -18,7 +18,7 @@ import com.google.api.resourcenames.ResourceName; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public abstract class ParentName implements ResourceName { protected ParentName() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ParentNames.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ParentNames.java index 73cc18bf4..49062612a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ParentNames.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ParentNames.java @@ -16,8 +16,13 @@ package com.google.logging.v2; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ParentNames { private ParentNames() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectExclusionName.java index 42fd0c221..26ab71b06 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectExclusionName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ProjectExclusionName extends ExclusionName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectLogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectLogName.java index f48b957b0..cf639171c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectLogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectLogName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ProjectLogName extends LogName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectMetricName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectMetricName.java index dab5ddcce..ba17810e1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectMetricName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectMetricName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ProjectMetricName extends MetricName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java index 48fca196e..3ec793874 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ProjectName extends ParentName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectSinkName.java index f2058c916..c052f7ac7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectSinkName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class ProjectSinkName extends SinkName { private static final PathTemplate PATH_TEMPLATE = diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SinkName.java index 0a89ff91b..3153759f8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SinkName.java @@ -18,7 +18,7 @@ import com.google.api.resourcenames.ResourceName; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public abstract class SinkName implements ResourceName { protected SinkName() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SinkNames.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SinkNames.java index 422f88caa..08880ce63 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SinkNames.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SinkNames.java @@ -16,8 +16,13 @@ package com.google.logging.v2; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class SinkNames { private SinkNames() {} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedExclusionName.java index cd0898a6b..3db60c266 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedExclusionName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class UntypedExclusionName extends ExclusionName { private final String rawValue; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedLogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedLogName.java index a01e0d680..37ad20984 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedLogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedLogName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class UntypedLogName extends LogName { private final String rawValue; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedMetricName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedMetricName.java index 89c447442..e5ebaa5d3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedMetricName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedMetricName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class UntypedMetricName extends MetricName { private final String rawValue; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedParentName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedParentName.java index b511046e8..99cea87b4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedParentName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedParentName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class UntypedParentName extends ParentName { private final String rawValue; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedSinkName.java index 8a8788d50..ce8f59409 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UntypedSinkName.java @@ -23,8 +23,13 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * AUTO-GENERATED DOCUMENTATION AND CLASS + * + * @deprecated This resource name class will be removed in the next major version. + */ @javax.annotation.Generated("by GAPIC protoc plugin") +@Deprecated public class UntypedSinkName extends SinkName { private final String rawValue; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java index d1d1dfcc6..1fd49a122 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java @@ -41,6 +41,12 @@ private UpdateExclusionRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateExclusionRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private UpdateExclusionRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -151,6 +156,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -176,6 +183,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -200,6 +209,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return Whether the exclusion field is set. */ public boolean hasExclusion() { return exclusion_ != null; @@ -213,6 +224,8 @@ public boolean hasExclusion() { * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return The exclusion. */ public com.google.logging.v2.LogExclusion getExclusion() { return exclusion_ == null @@ -248,6 +261,8 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMask_ != null; @@ -265,6 +280,8 @@ public boolean hasUpdateMask() { * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; @@ -673,6 +690,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -698,6 +717,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -723,6 +744,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -746,6 +770,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -766,6 +792,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -793,6 +822,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return Whether the exclusion field is set. */ public boolean hasExclusion() { return exclusionBuilder_ != null || exclusion_ != null; @@ -806,6 +837,8 @@ public boolean hasExclusion() { * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return The exclusion. */ public com.google.logging.v2.LogExclusion getExclusion() { if (exclusionBuilder_ == null) { @@ -987,6 +1020,8 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; @@ -1004,6 +1039,8 @@ public boolean hasUpdateMask() { * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java index 595a35d18..f63f182d3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java @@ -36,6 +36,8 @@ public interface UpdateExclusionRequestOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -51,6 +53,8 @@ public interface UpdateExclusionRequestOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -63,6 +67,8 @@ public interface UpdateExclusionRequestOrBuilder * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return Whether the exclusion field is set. */ boolean hasExclusion(); /** @@ -74,6 +80,8 @@ public interface UpdateExclusionRequestOrBuilder * * * .google.logging.v2.LogExclusion exclusion = 2; + * + * @return The exclusion. */ com.google.logging.v2.LogExclusion getExclusion(); /** @@ -101,6 +109,8 @@ public interface UpdateExclusionRequestOrBuilder * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** @@ -116,6 +126,8 @@ public interface UpdateExclusionRequestOrBuilder * * * .google.protobuf.FieldMask update_mask = 3; + * + * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java index 71ed77428..c7257aca2 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java @@ -41,6 +41,12 @@ private UpdateLogMetricRequest() { metricName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateLogMetricRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private UpdateLogMetricRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -135,6 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string metric_name = 1; + * + * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; @@ -159,6 +166,8 @@ public java.lang.String getMetricName() { * * * string metric_name = 1; + * + * @return The bytes for metricName. */ public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; @@ -182,6 +191,8 @@ public com.google.protobuf.ByteString getMetricNameBytes() { * * * .google.logging.v2.LogMetric metric = 2; + * + * @return Whether the metric field is set. */ public boolean hasMetric() { return metric_ != null; @@ -194,6 +205,8 @@ public boolean hasMetric() { * * * .google.logging.v2.LogMetric metric = 2; + * + * @return The metric. */ public com.google.logging.v2.LogMetric getMetric() { return metric_ == null ? com.google.logging.v2.LogMetric.getDefaultInstance() : metric_; @@ -568,6 +581,8 @@ public Builder mergeFrom( * * * string metric_name = 1; + * + * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; @@ -592,6 +607,8 @@ public java.lang.String getMetricName() { * * * string metric_name = 1; + * + * @return The bytes for metricName. */ public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; @@ -616,6 +633,9 @@ public com.google.protobuf.ByteString getMetricNameBytes() { * * * string metric_name = 1; + * + * @param value The metricName to set. + * @return This builder for chaining. */ public Builder setMetricName(java.lang.String value) { if (value == null) { @@ -638,6 +658,8 @@ public Builder setMetricName(java.lang.String value) { * * * string metric_name = 1; + * + * @return This builder for chaining. */ public Builder clearMetricName() { @@ -657,6 +679,9 @@ public Builder clearMetricName() { * * * string metric_name = 1; + * + * @param value The bytes for metricName to set. + * @return This builder for chaining. */ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -683,6 +708,8 @@ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { * * * .google.logging.v2.LogMetric metric = 2; + * + * @return Whether the metric field is set. */ public boolean hasMetric() { return metricBuilder_ != null || metric_ != null; @@ -695,6 +722,8 @@ public boolean hasMetric() { * * * .google.logging.v2.LogMetric metric = 2; + * + * @return The metric. */ public com.google.logging.v2.LogMetric getMetric() { if (metricBuilder_ == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java index 04dcfcafd..db324722f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface UpdateLogMetricRequestOrBuilder * * * string metric_name = 1; + * + * @return The metricName. */ java.lang.String getMetricName(); /** @@ -49,6 +51,8 @@ public interface UpdateLogMetricRequestOrBuilder * * * string metric_name = 1; + * + * @return The bytes for metricName. */ com.google.protobuf.ByteString getMetricNameBytes(); @@ -60,6 +64,8 @@ public interface UpdateLogMetricRequestOrBuilder * * * .google.logging.v2.LogMetric metric = 2; + * + * @return Whether the metric field is set. */ boolean hasMetric(); /** @@ -70,6 +76,8 @@ public interface UpdateLogMetricRequestOrBuilder * * * .google.logging.v2.LogMetric metric = 2; + * + * @return The metric. */ com.google.logging.v2.LogMetric getMetric(); /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java index a3b06cbce..1852a694c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java @@ -41,6 +41,12 @@ private UpdateSinkRequest() { sinkName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateSinkRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private UpdateSinkRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -156,6 +161,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string sink_name = 1; + * + * @return The sinkName. */ public java.lang.String getSinkName() { java.lang.Object ref = sinkName_; @@ -182,6 +189,8 @@ public java.lang.String getSinkName() { * * * string sink_name = 1; + * + * @return The bytes for sinkName. */ public com.google.protobuf.ByteString getSinkNameBytes() { java.lang.Object ref = sinkName_; @@ -206,6 +215,8 @@ public com.google.protobuf.ByteString getSinkNameBytes() { * * * .google.logging.v2.LogSink sink = 2; + * + * @return Whether the sink field is set. */ public boolean hasSink() { return sink_ != null; @@ -219,6 +230,8 @@ public boolean hasSink() { * * * .google.logging.v2.LogSink sink = 2; + * + * @return The sink. */ public com.google.logging.v2.LogSink getSink() { return sink_ == null ? com.google.logging.v2.LogSink.getDefaultInstance() : sink_; @@ -256,6 +269,8 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * * * bool unique_writer_identity = 3; + * + * @return The uniqueWriterIdentity. */ public boolean getUniqueWriterIdentity() { return uniqueWriterIdentity_; @@ -281,6 +296,8 @@ public boolean getUniqueWriterIdentity() { * * * .google.protobuf.FieldMask update_mask = 4; + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMask_ != null; @@ -303,6 +320,8 @@ public boolean hasUpdateMask() { * * * .google.protobuf.FieldMask update_mask = 4; + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; @@ -731,6 +750,8 @@ public Builder mergeFrom( * * * string sink_name = 1; + * + * @return The sinkName. */ public java.lang.String getSinkName() { java.lang.Object ref = sinkName_; @@ -757,6 +778,8 @@ public java.lang.String getSinkName() { * * * string sink_name = 1; + * + * @return The bytes for sinkName. */ public com.google.protobuf.ByteString getSinkNameBytes() { java.lang.Object ref = sinkName_; @@ -783,6 +806,9 @@ public com.google.protobuf.ByteString getSinkNameBytes() { * * * string sink_name = 1; + * + * @param value The sinkName to set. + * @return This builder for chaining. */ public Builder setSinkName(java.lang.String value) { if (value == null) { @@ -807,6 +833,8 @@ public Builder setSinkName(java.lang.String value) { * * * string sink_name = 1; + * + * @return This builder for chaining. */ public Builder clearSinkName() { @@ -828,6 +856,9 @@ public Builder clearSinkName() { * * * string sink_name = 1; + * + * @param value The bytes for sinkName to set. + * @return This builder for chaining. */ public Builder setSinkNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -855,6 +886,8 @@ public Builder setSinkNameBytes(com.google.protobuf.ByteString value) { * * * .google.logging.v2.LogSink sink = 2; + * + * @return Whether the sink field is set. */ public boolean hasSink() { return sinkBuilder_ != null || sink_ != null; @@ -868,6 +901,8 @@ public boolean hasSink() { * * * .google.logging.v2.LogSink sink = 2; + * + * @return The sink. */ public com.google.logging.v2.LogSink getSink() { if (sinkBuilder_ == null) { @@ -1041,6 +1076,8 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * * * bool unique_writer_identity = 3; + * + * @return The uniqueWriterIdentity. */ public boolean getUniqueWriterIdentity() { return uniqueWriterIdentity_; @@ -1062,6 +1099,9 @@ public boolean getUniqueWriterIdentity() { * * * bool unique_writer_identity = 3; + * + * @param value The uniqueWriterIdentity to set. + * @return This builder for chaining. */ public Builder setUniqueWriterIdentity(boolean value) { @@ -1086,6 +1126,8 @@ public Builder setUniqueWriterIdentity(boolean value) { * * * bool unique_writer_identity = 3; + * + * @return This builder for chaining. */ public Builder clearUniqueWriterIdentity() { @@ -1118,6 +1160,8 @@ public Builder clearUniqueWriterIdentity() { * * * .google.protobuf.FieldMask update_mask = 4; + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; @@ -1140,6 +1184,8 @@ public boolean hasUpdateMask() { * * * .google.protobuf.FieldMask update_mask = 4; + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java index 6beb01de2..e095604df 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java @@ -37,6 +37,8 @@ public interface UpdateSinkRequestOrBuilder * * * string sink_name = 1; + * + * @return The sinkName. */ java.lang.String getSinkName(); /** @@ -53,6 +55,8 @@ public interface UpdateSinkRequestOrBuilder * * * string sink_name = 1; + * + * @return The bytes for sinkName. */ com.google.protobuf.ByteString getSinkNameBytes(); @@ -65,6 +69,8 @@ public interface UpdateSinkRequestOrBuilder * * * .google.logging.v2.LogSink sink = 2; + * + * @return Whether the sink field is set. */ boolean hasSink(); /** @@ -76,6 +82,8 @@ public interface UpdateSinkRequestOrBuilder * * * .google.logging.v2.LogSink sink = 2; + * + * @return The sink. */ com.google.logging.v2.LogSink getSink(); /** @@ -107,6 +115,8 @@ public interface UpdateSinkRequestOrBuilder * * * bool unique_writer_identity = 3; + * + * @return The uniqueWriterIdentity. */ boolean getUniqueWriterIdentity(); @@ -128,6 +138,8 @@ public interface UpdateSinkRequestOrBuilder * * * .google.protobuf.FieldMask update_mask = 4; + * + * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** @@ -148,6 +160,8 @@ public interface UpdateSinkRequestOrBuilder * * * .google.protobuf.FieldMask update_mask = 4; + * + * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java index 76ed4f85e..1a7a97902 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java @@ -39,6 +39,12 @@ private WriteLogEntriesPartialErrors(com.google.protobuf.GeneratedMessageV3.Buil private WriteLogEntriesPartialErrors() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteLogEntriesPartialErrors(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java index d9697e3b7..4a6a81af1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java @@ -42,6 +42,12 @@ private WriteLogEntriesRequest() { entries_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteLogEntriesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -90,10 +96,10 @@ private WriteLogEntriesRequest( } case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( @@ -103,9 +109,9 @@ private WriteLogEntriesRequest( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { entries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000002; } entries_.add( input.readMessage(com.google.logging.v2.LogEntry.parser(), extensionRegistry)); @@ -135,7 +141,7 @@ private WriteLogEntriesRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { entries_ = java.util.Collections.unmodifiableList(entries_); } this.unknownFields = unknownFields.build(); @@ -169,7 +175,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.logging.v2.WriteLogEntriesRequest.Builder.class); } - private int bitField0_; public static final int LOG_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object logName_; /** @@ -192,6 +197,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * string log_name = 1; + * + * @return The logName. */ public java.lang.String getLogName() { java.lang.Object ref = logName_; @@ -224,6 +231,8 @@ public java.lang.String getLogName() { * * * string log_name = 1; + * + * @return The bytes for logName. */ public com.google.protobuf.ByteString getLogNameBytes() { java.lang.Object ref = logName_; @@ -252,6 +261,8 @@ public com.google.protobuf.ByteString getLogNameBytes() { * * * .google.api.MonitoredResource resource = 2; + * + * @return Whether the resource field is set. */ public boolean hasResource() { return resource_ != null; @@ -269,6 +280,8 @@ public boolean hasResource() { * * * .google.api.MonitoredResource resource = 2; + * + * @return The resource. */ public com.google.api.MonitoredResource getResource() { return resource_ == null ? com.google.api.MonitoredResource.getDefaultInstance() : resource_; @@ -569,6 +582,8 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * * * bool partial_success = 5; + * + * @return The partialSuccess. */ public boolean getPartialSuccess() { return partialSuccess_; @@ -586,6 +601,8 @@ public boolean getPartialSuccess() { * * * bool dry_run = 6; + * + * @return The dryRun. */ public boolean getDryRun() { return dryRun_; @@ -888,7 +905,7 @@ public Builder clear() { internalGetMutableLabels().clear(); if (entriesBuilder_ == null) { entries_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } else { entriesBuilder_.clear(); } @@ -924,7 +941,6 @@ public com.google.logging.v2.WriteLogEntriesRequest buildPartial() { com.google.logging.v2.WriteLogEntriesRequest result = new com.google.logging.v2.WriteLogEntriesRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.logName_ = logName_; if (resourceBuilder_ == null) { result.resource_ = resource_; @@ -934,9 +950,9 @@ public com.google.logging.v2.WriteLogEntriesRequest buildPartial() { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); if (entriesBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { entries_ = java.util.Collections.unmodifiableList(entries_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } result.entries_ = entries_; } else { @@ -944,7 +960,6 @@ public com.google.logging.v2.WriteLogEntriesRequest buildPartial() { } result.partialSuccess_ = partialSuccess_; result.dryRun_ = dryRun_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1006,7 +1021,7 @@ public Builder mergeFrom(com.google.logging.v2.WriteLogEntriesRequest other) { if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { entries_ = other.entries_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureEntriesIsMutable(); entries_.addAll(other.entries_); @@ -1019,7 +1034,7 @@ public Builder mergeFrom(com.google.logging.v2.WriteLogEntriesRequest other) { entriesBuilder_.dispose(); entriesBuilder_ = null; entries_ = other.entries_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); entriesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntriesFieldBuilder() @@ -1087,6 +1102,8 @@ public Builder mergeFrom( * * * string log_name = 1; + * + * @return The logName. */ public java.lang.String getLogName() { java.lang.Object ref = logName_; @@ -1119,6 +1136,8 @@ public java.lang.String getLogName() { * * * string log_name = 1; + * + * @return The bytes for logName. */ public com.google.protobuf.ByteString getLogNameBytes() { java.lang.Object ref = logName_; @@ -1151,6 +1170,9 @@ public com.google.protobuf.ByteString getLogNameBytes() { * * * string log_name = 1; + * + * @param value The logName to set. + * @return This builder for chaining. */ public Builder setLogName(java.lang.String value) { if (value == null) { @@ -1181,6 +1203,8 @@ public Builder setLogName(java.lang.String value) { * * * string log_name = 1; + * + * @return This builder for chaining. */ public Builder clearLogName() { @@ -1208,6 +1232,9 @@ public Builder clearLogName() { * * * string log_name = 1; + * + * @param value The bytes for logName to set. + * @return This builder for chaining. */ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1239,6 +1266,8 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { * * * .google.api.MonitoredResource resource = 2; + * + * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; @@ -1256,6 +1285,8 @@ public boolean hasResource() { * * * .google.api.MonitoredResource resource = 2; + * + * @return The resource. */ public com.google.api.MonitoredResource getResource() { if (resourceBuilder_ == null) { @@ -1623,9 +1654,9 @@ public Builder putAllLabels(java.util.Map va java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { entries_ = new java.util.ArrayList(entries_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000002; } } @@ -2047,7 +2078,7 @@ public Builder addAllEntries( public Builder clearEntries() { if (entriesBuilder_ == null) { entries_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { entriesBuilder_.clear(); @@ -2301,7 +2332,7 @@ public java.util.List getEntriesBuilderL com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder>( - entries_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + entries_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; @@ -2320,6 +2351,8 @@ public java.util.List getEntriesBuilderL * * * bool partial_success = 5; + * + * @return The partialSuccess. */ public boolean getPartialSuccess() { return partialSuccess_; @@ -2336,6 +2369,9 @@ public boolean getPartialSuccess() { * * * bool partial_success = 5; + * + * @param value The partialSuccess to set. + * @return This builder for chaining. */ public Builder setPartialSuccess(boolean value) { @@ -2355,6 +2391,8 @@ public Builder setPartialSuccess(boolean value) { * * * bool partial_success = 5; + * + * @return This builder for chaining. */ public Builder clearPartialSuccess() { @@ -2374,6 +2412,8 @@ public Builder clearPartialSuccess() { * * * bool dry_run = 6; + * + * @return The dryRun. */ public boolean getDryRun() { return dryRun_; @@ -2388,6 +2428,9 @@ public boolean getDryRun() { * * * bool dry_run = 6; + * + * @param value The dryRun to set. + * @return This builder for chaining. */ public Builder setDryRun(boolean value) { @@ -2405,6 +2448,8 @@ public Builder setDryRun(boolean value) { * * * bool dry_run = 6; + * + * @return This builder for chaining. */ public Builder clearDryRun() { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java index c3e94e90d..247252ffc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java @@ -43,6 +43,8 @@ public interface WriteLogEntriesRequestOrBuilder * * * string log_name = 1; + * + * @return The logName. */ java.lang.String getLogName(); /** @@ -65,6 +67,8 @@ public interface WriteLogEntriesRequestOrBuilder * * * string log_name = 1; + * + * @return The bytes for logName. */ com.google.protobuf.ByteString getLogNameBytes(); @@ -81,6 +85,8 @@ public interface WriteLogEntriesRequestOrBuilder * * * .google.api.MonitoredResource resource = 2; + * + * @return Whether the resource field is set. */ boolean hasResource(); /** @@ -96,6 +102,8 @@ public interface WriteLogEntriesRequestOrBuilder * * * .google.api.MonitoredResource resource = 2; + * + * @return The resource. */ com.google.api.MonitoredResource getResource(); /** @@ -341,6 +349,8 @@ public interface WriteLogEntriesRequestOrBuilder * * * bool partial_success = 5; + * + * @return The partialSuccess. */ boolean getPartialSuccess(); @@ -354,6 +364,8 @@ public interface WriteLogEntriesRequestOrBuilder * * * bool dry_run = 6; + * + * @return The dryRun. */ boolean getDryRun(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java index ef5bb316c..c7d176c1b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java @@ -40,6 +40,12 @@ private WriteLogEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder