All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.netapp.v1.SMBSettings Maven / Gradle / Ivy

/*
 * Copyright 2024 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

// Protobuf Java Version: 3.25.4
package com.google.cloud.netapp.v1;

/**
 *
 *
 * 
 * SMBSettings
 * Modifies the behaviour of a SMB volume.
 * 
* * Protobuf enum {@code google.cloud.netapp.v1.SMBSettings} */ public enum SMBSettings implements com.google.protobuf.ProtocolMessageEnum { /** * * *
   * Unspecified default option
   * 
* * SMB_SETTINGS_UNSPECIFIED = 0; */ SMB_SETTINGS_UNSPECIFIED(0), /** * * *
   * SMB setting encrypt data
   * 
* * ENCRYPT_DATA = 1; */ ENCRYPT_DATA(1), /** * * *
   * SMB setting browsable
   * 
* * BROWSABLE = 2; */ BROWSABLE(2), /** * * *
   * SMB setting notify change
   * 
* * CHANGE_NOTIFY = 3; */ CHANGE_NOTIFY(3), /** * * *
   * SMB setting not to notify change
   * 
* * NON_BROWSABLE = 4; */ NON_BROWSABLE(4), /** * * *
   * SMB setting oplocks
   * 
* * OPLOCKS = 5; */ OPLOCKS(5), /** * * *
   * SMB setting to show snapshots
   * 
* * SHOW_SNAPSHOT = 6; */ SHOW_SNAPSHOT(6), /** * * *
   * SMB setting to show previous versions
   * 
* * SHOW_PREVIOUS_VERSIONS = 7; */ SHOW_PREVIOUS_VERSIONS(7), /** * * *
   * SMB setting to access volume based on enumerartion
   * 
* * ACCESS_BASED_ENUMERATION = 8; */ ACCESS_BASED_ENUMERATION(8), /** * * *
   * Continuously available enumeration
   * 
* * CONTINUOUSLY_AVAILABLE = 9; */ CONTINUOUSLY_AVAILABLE(9), UNRECOGNIZED(-1), ; /** * * *
   * Unspecified default option
   * 
* * SMB_SETTINGS_UNSPECIFIED = 0; */ public static final int SMB_SETTINGS_UNSPECIFIED_VALUE = 0; /** * * *
   * SMB setting encrypt data
   * 
* * ENCRYPT_DATA = 1; */ public static final int ENCRYPT_DATA_VALUE = 1; /** * * *
   * SMB setting browsable
   * 
* * BROWSABLE = 2; */ public static final int BROWSABLE_VALUE = 2; /** * * *
   * SMB setting notify change
   * 
* * CHANGE_NOTIFY = 3; */ public static final int CHANGE_NOTIFY_VALUE = 3; /** * * *
   * SMB setting not to notify change
   * 
* * NON_BROWSABLE = 4; */ public static final int NON_BROWSABLE_VALUE = 4; /** * * *
   * SMB setting oplocks
   * 
* * OPLOCKS = 5; */ public static final int OPLOCKS_VALUE = 5; /** * * *
   * SMB setting to show snapshots
   * 
* * SHOW_SNAPSHOT = 6; */ public static final int SHOW_SNAPSHOT_VALUE = 6; /** * * *
   * SMB setting to show previous versions
   * 
* * SHOW_PREVIOUS_VERSIONS = 7; */ public static final int SHOW_PREVIOUS_VERSIONS_VALUE = 7; /** * * *
   * SMB setting to access volume based on enumerartion
   * 
* * ACCESS_BASED_ENUMERATION = 8; */ public static final int ACCESS_BASED_ENUMERATION_VALUE = 8; /** * * *
   * Continuously available enumeration
   * 
* * CONTINUOUSLY_AVAILABLE = 9; */ public static final int CONTINUOUSLY_AVAILABLE_VALUE = 9; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @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 SMBSettings 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 SMBSettings forNumber(int value) { switch (value) { case 0: return SMB_SETTINGS_UNSPECIFIED; case 1: return ENCRYPT_DATA; case 2: return BROWSABLE; case 3: return CHANGE_NOTIFY; case 4: return NON_BROWSABLE; case 5: return OPLOCKS; case 6: return SHOW_SNAPSHOT; case 7: return SHOW_PREVIOUS_VERSIONS; case 8: return ACCESS_BASED_ENUMERATION; case 9: return CONTINUOUSLY_AVAILABLE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SMBSettings findValueByNumber(int number) { return SMBSettings.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() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.netapp.v1.VolumeProto.getDescriptor().getEnumTypes().get(2); } private static final SMBSettings[] VALUES = values(); public static SMBSettings valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private SMBSettings(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.cloud.netapp.v1.SMBSettings) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy