Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

docs(regen): updated javadocs from protoc update #20

Merged
merged 1 commit into from Dec 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -51,6 +51,12 @@ private AppEngineHttpTarget() {
body_ = com.google.protobuf.ByteString.EMPTY;
}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new AppEngineHttpTarget();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand Down Expand Up @@ -107,11 +113,11 @@ private AppEngineHttpTarget(
}
case 34:
{
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
headers_ =
com.google.protobuf.MapField.newMapField(
HeadersDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000008;
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry<java.lang.String, java.lang.String> headers__ =
input.readMessage(
Expand Down Expand Up @@ -169,7 +175,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder.class);
}

private int bitField0_;
public static final int HTTP_METHOD_FIELD_NUMBER = 1;
private int httpMethod_;
/**
Expand All @@ -181,6 +186,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
* </pre>
*
* <code>.google.cloud.scheduler.v1.HttpMethod http_method = 1;</code>
*
* @return The enum numeric value on the wire for httpMethod.
*/
public int getHttpMethodValue() {
return httpMethod_;
Expand All @@ -194,6 +201,8 @@ public int getHttpMethodValue() {
* </pre>
*
* <code>.google.cloud.scheduler.v1.HttpMethod http_method = 1;</code>
*
* @return The httpMethod.
*/
public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() {
@SuppressWarnings("deprecation")
Expand All @@ -212,6 +221,8 @@ public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() {
* </pre>
*
* <code>.google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2;</code>
*
* @return Whether the appEngineRouting field is set.
*/
public boolean hasAppEngineRouting() {
return appEngineRouting_ != null;
Expand All @@ -224,6 +235,8 @@ public boolean hasAppEngineRouting() {
* </pre>
*
* <code>.google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2;</code>
*
* @return The appEngineRouting.
*/
public com.google.cloud.scheduler.v1.AppEngineRouting getAppEngineRouting() {
return appEngineRouting_ == null
Expand Down Expand Up @@ -257,6 +270,8 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti
* </pre>
*
* <code>string relative_uri = 3;</code>
*
* @return The relativeUri.
*/
public java.lang.String getRelativeUri() {
java.lang.Object ref = relativeUri_;
Expand All @@ -281,6 +296,8 @@ public java.lang.String getRelativeUri() {
* </pre>
*
* <code>string relative_uri = 3;</code>
*
* @return The bytes for relativeUri.
*/
public com.google.protobuf.ByteString getRelativeUriBytes() {
java.lang.Object ref = relativeUri_;
Expand Down Expand Up @@ -492,6 +509,8 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
* </pre>
*
* <code>bytes body = 5;</code>
*
* @return The body.
*/
public com.google.protobuf.ByteString getBody() {
return body_;
Expand Down Expand Up @@ -821,7 +840,6 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget buildPartial() {
com.google.cloud.scheduler.v1.AppEngineHttpTarget result =
new com.google.cloud.scheduler.v1.AppEngineHttpTarget(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.httpMethod_ = httpMethod_;
if (appEngineRoutingBuilder_ == null) {
result.appEngineRouting_ = appEngineRouting_;
Expand All @@ -832,7 +850,6 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget buildPartial() {
result.headers_ = internalGetHeaders();
result.headers_.makeImmutable();
result.body_ = body_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
Expand Down Expand Up @@ -939,6 +956,8 @@ public Builder mergeFrom(
* </pre>
*
* <code>.google.cloud.scheduler.v1.HttpMethod http_method = 1;</code>
*
* @return The enum numeric value on the wire for httpMethod.
*/
public int getHttpMethodValue() {
return httpMethod_;
Expand All @@ -952,6 +971,9 @@ public int getHttpMethodValue() {
* </pre>
*
* <code>.google.cloud.scheduler.v1.HttpMethod http_method = 1;</code>
*
* @param value The enum numeric value on the wire for httpMethod to set.
* @return This builder for chaining.
*/
public Builder setHttpMethodValue(int value) {
httpMethod_ = value;
Expand All @@ -967,6 +989,8 @@ public Builder setHttpMethodValue(int value) {
* </pre>
*
* <code>.google.cloud.scheduler.v1.HttpMethod http_method = 1;</code>
*
* @return The httpMethod.
*/
public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() {
@SuppressWarnings("deprecation")
Expand All @@ -983,6 +1007,9 @@ public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() {
* </pre>
*
* <code>.google.cloud.scheduler.v1.HttpMethod http_method = 1;</code>
*
* @param value The httpMethod to set.
* @return This builder for chaining.
*/
public Builder setHttpMethod(com.google.cloud.scheduler.v1.HttpMethod value) {
if (value == null) {
Expand All @@ -1002,6 +1029,8 @@ public Builder setHttpMethod(com.google.cloud.scheduler.v1.HttpMethod value) {
* </pre>
*
* <code>.google.cloud.scheduler.v1.HttpMethod http_method = 1;</code>
*
* @return This builder for chaining.
*/
public Builder clearHttpMethod() {

Expand All @@ -1024,6 +1053,8 @@ public Builder clearHttpMethod() {
* </pre>
*
* <code>.google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2;</code>
*
* @return Whether the appEngineRouting field is set.
*/
public boolean hasAppEngineRouting() {
return appEngineRoutingBuilder_ != null || appEngineRouting_ != null;
Expand All @@ -1036,6 +1067,8 @@ public boolean hasAppEngineRouting() {
* </pre>
*
* <code>.google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2;</code>
*
* @return The appEngineRouting.
*/
public com.google.cloud.scheduler.v1.AppEngineRouting getAppEngineRouting() {
if (appEngineRoutingBuilder_ == null) {
Expand Down Expand Up @@ -1205,6 +1238,8 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti
* </pre>
*
* <code>string relative_uri = 3;</code>
*
* @return The relativeUri.
*/
public java.lang.String getRelativeUri() {
java.lang.Object ref = relativeUri_;
Expand All @@ -1229,6 +1264,8 @@ public java.lang.String getRelativeUri() {
* </pre>
*
* <code>string relative_uri = 3;</code>
*
* @return The bytes for relativeUri.
*/
public com.google.protobuf.ByteString getRelativeUriBytes() {
java.lang.Object ref = relativeUri_;
Expand All @@ -1253,6 +1290,9 @@ public com.google.protobuf.ByteString getRelativeUriBytes() {
* </pre>
*
* <code>string relative_uri = 3;</code>
*
* @param value The relativeUri to set.
* @return This builder for chaining.
*/
public Builder setRelativeUri(java.lang.String value) {
if (value == null) {
Expand All @@ -1275,6 +1315,8 @@ public Builder setRelativeUri(java.lang.String value) {
* </pre>
*
* <code>string relative_uri = 3;</code>
*
* @return This builder for chaining.
*/
public Builder clearRelativeUri() {

Expand All @@ -1294,6 +1336,9 @@ public Builder clearRelativeUri() {
* </pre>
*
* <code>string relative_uri = 3;</code>
*
* @param value The bytes for relativeUri to set.
* @return This builder for chaining.
*/
public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) {
if (value == null) {
Expand Down Expand Up @@ -1631,6 +1676,8 @@ public Builder putAllHeaders(java.util.Map<java.lang.String, java.lang.String> v
* </pre>
*
* <code>bytes body = 5;</code>
*
* @return The body.
*/
public com.google.protobuf.ByteString getBody() {
return body_;
Expand All @@ -1646,6 +1693,9 @@ public com.google.protobuf.ByteString getBody() {
* </pre>
*
* <code>bytes body = 5;</code>
*
* @param value The body to set.
* @return This builder for chaining.
*/
public Builder setBody(com.google.protobuf.ByteString value) {
if (value == null) {
Expand All @@ -1667,6 +1717,8 @@ public Builder setBody(com.google.protobuf.ByteString value) {
* </pre>
*
* <code>bytes body = 5;</code>
*
* @return This builder for chaining.
*/
public Builder clearBody() {

Expand Down
Expand Up @@ -32,6 +32,8 @@ public interface AppEngineHttpTargetOrBuilder
* </pre>
*
* <code>.google.cloud.scheduler.v1.HttpMethod http_method = 1;</code>
*
* @return The enum numeric value on the wire for httpMethod.
*/
int getHttpMethodValue();
/**
Expand All @@ -43,6 +45,8 @@ public interface AppEngineHttpTargetOrBuilder
* </pre>
*
* <code>.google.cloud.scheduler.v1.HttpMethod http_method = 1;</code>
*
* @return The httpMethod.
*/
com.google.cloud.scheduler.v1.HttpMethod getHttpMethod();

Expand All @@ -54,6 +58,8 @@ public interface AppEngineHttpTargetOrBuilder
* </pre>
*
* <code>.google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2;</code>
*
* @return Whether the appEngineRouting field is set.
*/
boolean hasAppEngineRouting();
/**
Expand All @@ -64,6 +70,8 @@ public interface AppEngineHttpTargetOrBuilder
* </pre>
*
* <code>.google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2;</code>
*
* @return The appEngineRouting.
*/
com.google.cloud.scheduler.v1.AppEngineRouting getAppEngineRouting();
/**
Expand All @@ -89,6 +97,8 @@ public interface AppEngineHttpTargetOrBuilder
* </pre>
*
* <code>string relative_uri = 3;</code>
*
* @return The relativeUri.
*/
java.lang.String getRelativeUri();
/**
Expand All @@ -103,6 +113,8 @@ public interface AppEngineHttpTargetOrBuilder
* </pre>
*
* <code>string relative_uri = 3;</code>
*
* @return The bytes for relativeUri.
*/
com.google.protobuf.ByteString getRelativeUriBytes();

Expand Down Expand Up @@ -286,6 +298,8 @@ public interface AppEngineHttpTargetOrBuilder
* </pre>
*
* <code>bytes body = 5;</code>
*
* @return The body.
*/
com.google.protobuf.ByteString getBody();
}