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

Commit

Permalink
chore: regenerate with updated protoc (#140)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/bc5f29c9-de4e-484a-96d3-b4a4987109b1/targets

PiperOrigin-RevId: 313460921
Source-Link: googleapis/googleapis@c4e3701
  • Loading branch information
yoshi-automation committed Jun 3, 2020
1 parent 45143c6 commit cececb8
Show file tree
Hide file tree
Showing 33 changed files with 331 additions and 5 deletions.
Expand Up @@ -151,6 +151,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
@java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
Expand All @@ -177,6 +178,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
@java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
Expand Down Expand Up @@ -208,6 +210,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
Expand Down Expand Up @@ -236,6 +239,7 @@ public java.lang.String getInstanceId() {
*
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
Expand All @@ -262,6 +266,7 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
*
* @return Whether the instance field is set.
*/
@java.lang.Override
public boolean hasInstance() {
return instance_ != null;
}
Expand All @@ -277,6 +282,7 @@ public boolean hasInstance() {
*
* @return The instance.
*/
@java.lang.Override
public com.google.cloud.redis.v1.Instance getInstance() {
return instance_ == null ? com.google.cloud.redis.v1.Instance.getDefaultInstance() : instance_;
}
Expand All @@ -290,6 +296,7 @@ public com.google.cloud.redis.v1.Instance getInstance() {
* <code>.google.cloud.redis.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public com.google.cloud.redis.v1.InstanceOrBuilder getInstanceOrBuilder() {
return getInstance();
}
Expand Down
Expand Up @@ -128,6 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand All @@ -154,6 +155,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand Down
Expand Up @@ -142,6 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand All @@ -166,6 +167,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand Down Expand Up @@ -193,6 +195,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return Whether the outputConfig field is set.
*/
@java.lang.Override
public boolean hasOutputConfig() {
return outputConfig_ != null;
}
Expand All @@ -209,6 +212,7 @@ public boolean hasOutputConfig() {
*
* @return The outputConfig.
*/
@java.lang.Override
public com.google.cloud.redis.v1.OutputConfig getOutputConfig() {
return outputConfig_ == null
? com.google.cloud.redis.v1.OutputConfig.getDefaultInstance()
Expand All @@ -225,6 +229,7 @@ public com.google.cloud.redis.v1.OutputConfig getOutputConfig() {
* .google.cloud.redis.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public com.google.cloud.redis.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() {
return getOutputConfig();
}
Expand Down
Expand Up @@ -250,6 +250,10 @@ public DataProtectionMode findValueByNumber(int number) {
};

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}

Expand Down Expand Up @@ -302,6 +306,7 @@ private DataProtectionMode(int value) {
*
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand All @@ -328,6 +333,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand Down Expand Up @@ -356,6 +362,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return The enum numeric value on the wire for dataProtectionMode.
*/
@java.lang.Override
public int getDataProtectionModeValue() {
return dataProtectionMode_;
}
Expand All @@ -373,6 +380,7 @@ public int getDataProtectionModeValue() {
*
* @return The dataProtectionMode.
*/
@java.lang.Override
public com.google.cloud.redis.v1.FailoverInstanceRequest.DataProtectionMode
getDataProtectionMode() {
@SuppressWarnings("deprecation")
Expand Down Expand Up @@ -864,6 +872,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
* @return The enum numeric value on the wire for dataProtectionMode.
*/
@java.lang.Override
public int getDataProtectionModeValue() {
return dataProtectionMode_;
}
Expand All @@ -883,6 +892,7 @@ public int getDataProtectionModeValue() {
* @return This builder for chaining.
*/
public Builder setDataProtectionModeValue(int value) {

dataProtectionMode_ = value;
onChanged();
return this;
Expand All @@ -901,6 +911,7 @@ public Builder setDataProtectionModeValue(int value) {
*
* @return The dataProtectionMode.
*/
@java.lang.Override
public com.google.cloud.redis.v1.FailoverInstanceRequest.DataProtectionMode
getDataProtectionMode() {
@SuppressWarnings("deprecation")
Expand Down
Expand Up @@ -125,6 +125,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The uri.
*/
@java.lang.Override
public java.lang.String getUri() {
java.lang.Object ref = uri_;
if (ref instanceof java.lang.String) {
Expand All @@ -148,6 +149,7 @@ public java.lang.String getUri() {
*
* @return The bytes for uri.
*/
@java.lang.Override
public com.google.protobuf.ByteString getUriBytes() {
java.lang.Object ref = uri_;
if (ref instanceof java.lang.String) {
Expand Down
Expand Up @@ -124,6 +124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The uri.
*/
@java.lang.Override
public java.lang.String getUri() {
java.lang.Object ref = uri_;
if (ref instanceof java.lang.String) {
Expand All @@ -146,6 +147,7 @@ public java.lang.String getUri() {
*
* @return The bytes for uri.
*/
@java.lang.Override
public com.google.protobuf.ByteString getUriBytes() {
java.lang.Object ref = uri_;
if (ref instanceof java.lang.String) {
Expand Down
Expand Up @@ -128,6 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand All @@ -154,6 +155,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand Down
Expand Up @@ -142,6 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand All @@ -166,6 +167,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand Down Expand Up @@ -193,6 +195,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return Whether the inputConfig field is set.
*/
@java.lang.Override
public boolean hasInputConfig() {
return inputConfig_ != null;
}
Expand All @@ -209,6 +212,7 @@ public boolean hasInputConfig() {
*
* @return The inputConfig.
*/
@java.lang.Override
public com.google.cloud.redis.v1.InputConfig getInputConfig() {
return inputConfig_ == null
? com.google.cloud.redis.v1.InputConfig.getDefaultInstance()
Expand All @@ -225,6 +229,7 @@ public com.google.cloud.redis.v1.InputConfig getInputConfig() {
* .google.cloud.redis.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public com.google.cloud.redis.v1.InputConfigOrBuilder getInputConfigOrBuilder() {
return getInputConfig();
}
Expand Down
Expand Up @@ -174,6 +174,7 @@ public SourceCase getSourceCase() {
*
* @return Whether the gcsSource field is set.
*/
@java.lang.Override
public boolean hasGcsSource() {
return sourceCase_ == 1;
}
Expand All @@ -188,6 +189,7 @@ public boolean hasGcsSource() {
*
* @return The gcsSource.
*/
@java.lang.Override
public com.google.cloud.redis.v1.GcsSource getGcsSource() {
if (sourceCase_ == 1) {
return (com.google.cloud.redis.v1.GcsSource) source_;
Expand All @@ -203,6 +205,7 @@ public com.google.cloud.redis.v1.GcsSource getGcsSource() {
*
* <code>.google.cloud.redis.v1.GcsSource gcs_source = 1;</code>
*/
@java.lang.Override
public com.google.cloud.redis.v1.GcsSourceOrBuilder getGcsSourceOrBuilder() {
if (sourceCase_ == 1) {
return (com.google.cloud.redis.v1.GcsSource) source_;
Expand Down Expand Up @@ -583,6 +586,7 @@ public Builder clearSource() {
*
* @return Whether the gcsSource field is set.
*/
@java.lang.Override
public boolean hasGcsSource() {
return sourceCase_ == 1;
}
Expand All @@ -597,6 +601,7 @@ public boolean hasGcsSource() {
*
* @return The gcsSource.
*/
@java.lang.Override
public com.google.cloud.redis.v1.GcsSource getGcsSource() {
if (gcsSourceBuilder_ == null) {
if (sourceCase_ == 1) {
Expand Down Expand Up @@ -728,6 +733,7 @@ public com.google.cloud.redis.v1.GcsSource.Builder getGcsSourceBuilder() {
*
* <code>.google.cloud.redis.v1.GcsSource gcs_source = 1;</code>
*/
@java.lang.Override
public com.google.cloud.redis.v1.GcsSourceOrBuilder getGcsSourceOrBuilder() {
if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) {
return gcsSourceBuilder_.getMessageOrBuilder();
Expand Down

0 comments on commit cececb8

Please sign in to comment.