Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Aug 4, 2023
1 parent 214c8b0 commit 645063b
Show file tree
Hide file tree
Showing 363 changed files with 34,724 additions and 21,110 deletions.
2 changes: 1 addition & 1 deletion java-netapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.20.0</version>
<version>26.21.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.location.GetLocationRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import com.google.api.gax.httpjson.ProtoMessageResponseParser;
import com.google.api.gax.httpjson.ProtoRestSerializer;
import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
import com.google.api.gax.longrunning.OperationSnapshot;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.RequestParamsBuilder;
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion java-netapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
<module>google-cloud-netapp-bom</module>
</modules>

</project>
</project>
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
/*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/netapp/v1/volume.proto

package com.google.cloud.netapp.v1;

/**
* Protobuf enum {@code google.cloud.netapp.v1.AccessType}
*/
public enum AccessType
implements com.google.protobuf.ProtocolMessageEnum {
/** Protobuf enum {@code google.cloud.netapp.v1.AccessType} */
public enum AccessType implements com.google.protobuf.ProtocolMessageEnum {
/**
*
*
* <pre>
* Unspecified Access Type
* </pre>
Expand All @@ -17,6 +31,8 @@ public enum AccessType
*/
ACCESS_TYPE_UNSPECIFIED(0),
/**
*
*
* <pre>
* Read Only
* </pre>
Expand All @@ -25,6 +41,8 @@ public enum AccessType
*/
READ_ONLY(1),
/**
*
*
* <pre>
* Read Write
* </pre>
Expand All @@ -33,6 +51,8 @@ public enum AccessType
*/
READ_WRITE(2),
/**
*
*
* <pre>
* None
* </pre>
Expand All @@ -44,6 +64,8 @@ public enum AccessType
;

/**
*
*
* <pre>
* Unspecified Access Type
* </pre>
Expand All @@ -52,6 +74,8 @@ public enum AccessType
*/
public static final int ACCESS_TYPE_UNSPECIFIED_VALUE = 0;
/**
*
*
* <pre>
* Read Only
* </pre>
Expand All @@ -60,6 +84,8 @@ public enum AccessType
*/
public static final int READ_ONLY_VALUE = 1;
/**
*
*
* <pre>
* Read Write
* </pre>
Expand All @@ -68,6 +94,8 @@ public enum AccessType
*/
public static final int READ_WRITE_VALUE = 2;
/**
*
*
* <pre>
* None
* </pre>
Expand All @@ -76,7 +104,6 @@ public enum AccessType
*/
public static final int READ_NONE_VALUE = 3;


public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
Expand All @@ -101,50 +128,51 @@ public static AccessType valueOf(int value) {
*/
public static AccessType forNumber(int value) {
switch (value) {
case 0: return ACCESS_TYPE_UNSPECIFIED;
case 1: return READ_ONLY;
case 2: return READ_WRITE;
case 3: return READ_NONE;
default: return null;
case 0:
return ACCESS_TYPE_UNSPECIFIED;
case 1:
return READ_ONLY;
case 2:
return READ_WRITE;
case 3:
return READ_NONE;
default:
return null;
}
}

public static com.google.protobuf.Internal.EnumLiteMap<AccessType>
internalGetValueMap() {
public static com.google.protobuf.Internal.EnumLiteMap<AccessType> internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AccessType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AccessType>() {
public AccessType findValueByNumber(int number) {
return AccessType.forNumber(number);
}
};

public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {

private static final com.google.protobuf.Internal.EnumLiteMap<AccessType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AccessType>() {
public AccessType findValueByNumber(int number) {
return AccessType.forNumber(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());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {

public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {

public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return com.google.cloud.netapp.v1.VolumeProto.getDescriptor().getEnumTypes().get(1);
}

private static final AccessType[] VALUES = values();

public static AccessType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
public static AccessType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
Expand All @@ -160,4 +188,3 @@ private AccessType(int value) {

// @@protoc_insertion_point(enum_scope:google.cloud.netapp.v1.AccessType)
}

Loading

0 comments on commit 645063b

Please sign in to comment.