github.com/hashicorp/vault/sdk@v0.13.0/logical/plugin.pb.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  // Code generated by protoc-gen-go. DO NOT EDIT.
     5  // versions:
     6  // 	protoc-gen-go v1.34.1
     7  // 	protoc        (unknown)
     8  // source: sdk/logical/plugin.proto
     9  
    10  package logical
    11  
    12  import (
    13  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    14  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    15  	reflect "reflect"
    16  	sync "sync"
    17  )
    18  
    19  const (
    20  	// Verify that this generated code is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    22  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    24  )
    25  
    26  type PluginEnvironment struct {
    27  	state         protoimpl.MessageState
    28  	sizeCache     protoimpl.SizeCache
    29  	unknownFields protoimpl.UnknownFields
    30  
    31  	// VaultVersion is the version of the Vault server
    32  	VaultVersion string `protobuf:"bytes,1,opt,name=vault_version,json=vaultVersion,proto3" json:"vault_version,omitempty"`
    33  	// VaultVersionPrerelease is the prerelease information of the Vault server
    34  	VaultVersionPrerelease string `protobuf:"bytes,2,opt,name=vault_version_prerelease,json=vaultVersionPrerelease,proto3" json:"vault_version_prerelease,omitempty"`
    35  	// VaultVersionMetadata is the version metadata of the Vault server
    36  	VaultVersionMetadata string `protobuf:"bytes,3,opt,name=vault_version_metadata,json=vaultVersionMetadata,proto3" json:"vault_version_metadata,omitempty"`
    37  }
    38  
    39  func (x *PluginEnvironment) Reset() {
    40  	*x = PluginEnvironment{}
    41  	if protoimpl.UnsafeEnabled {
    42  		mi := &file_sdk_logical_plugin_proto_msgTypes[0]
    43  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    44  		ms.StoreMessageInfo(mi)
    45  	}
    46  }
    47  
    48  func (x *PluginEnvironment) String() string {
    49  	return protoimpl.X.MessageStringOf(x)
    50  }
    51  
    52  func (*PluginEnvironment) ProtoMessage() {}
    53  
    54  func (x *PluginEnvironment) ProtoReflect() protoreflect.Message {
    55  	mi := &file_sdk_logical_plugin_proto_msgTypes[0]
    56  	if protoimpl.UnsafeEnabled && x != nil {
    57  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    58  		if ms.LoadMessageInfo() == nil {
    59  			ms.StoreMessageInfo(mi)
    60  		}
    61  		return ms
    62  	}
    63  	return mi.MessageOf(x)
    64  }
    65  
    66  // Deprecated: Use PluginEnvironment.ProtoReflect.Descriptor instead.
    67  func (*PluginEnvironment) Descriptor() ([]byte, []int) {
    68  	return file_sdk_logical_plugin_proto_rawDescGZIP(), []int{0}
    69  }
    70  
    71  func (x *PluginEnvironment) GetVaultVersion() string {
    72  	if x != nil {
    73  		return x.VaultVersion
    74  	}
    75  	return ""
    76  }
    77  
    78  func (x *PluginEnvironment) GetVaultVersionPrerelease() string {
    79  	if x != nil {
    80  		return x.VaultVersionPrerelease
    81  	}
    82  	return ""
    83  }
    84  
    85  func (x *PluginEnvironment) GetVaultVersionMetadata() string {
    86  	if x != nil {
    87  		return x.VaultVersionMetadata
    88  	}
    89  	return ""
    90  }
    91  
    92  var File_sdk_logical_plugin_proto protoreflect.FileDescriptor
    93  
    94  var file_sdk_logical_plugin_proto_rawDesc = []byte{
    95  	0x0a, 0x18, 0x73, 0x64, 0x6b, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x6c,
    96  	0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x6f, 0x67, 0x69,
    97  	0x63, 0x61, 0x6c, 0x22, 0xa8, 0x01, 0x0a, 0x11, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x6e,
    98  	0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x75,
    99  	0x6c, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   100  	0x52, 0x0c, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x38,
   101  	0x0a, 0x18, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
   102  	0x70, 0x72, 0x65, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   103  	0x52, 0x16, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72,
   104  	0x65, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x76, 0x61, 0x75, 0x6c,
   105  	0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
   106  	0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x56,
   107  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x28,
   108  	0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73,
   109  	0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x73, 0x64, 0x6b,
   110  	0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   111  }
   112  
   113  var (
   114  	file_sdk_logical_plugin_proto_rawDescOnce sync.Once
   115  	file_sdk_logical_plugin_proto_rawDescData = file_sdk_logical_plugin_proto_rawDesc
   116  )
   117  
   118  func file_sdk_logical_plugin_proto_rawDescGZIP() []byte {
   119  	file_sdk_logical_plugin_proto_rawDescOnce.Do(func() {
   120  		file_sdk_logical_plugin_proto_rawDescData = protoimpl.X.CompressGZIP(file_sdk_logical_plugin_proto_rawDescData)
   121  	})
   122  	return file_sdk_logical_plugin_proto_rawDescData
   123  }
   124  
   125  var file_sdk_logical_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   126  var file_sdk_logical_plugin_proto_goTypes = []interface{}{
   127  	(*PluginEnvironment)(nil), // 0: logical.PluginEnvironment
   128  }
   129  var file_sdk_logical_plugin_proto_depIdxs = []int32{
   130  	0, // [0:0] is the sub-list for method output_type
   131  	0, // [0:0] is the sub-list for method input_type
   132  	0, // [0:0] is the sub-list for extension type_name
   133  	0, // [0:0] is the sub-list for extension extendee
   134  	0, // [0:0] is the sub-list for field type_name
   135  }
   136  
   137  func init() { file_sdk_logical_plugin_proto_init() }
   138  func file_sdk_logical_plugin_proto_init() {
   139  	if File_sdk_logical_plugin_proto != nil {
   140  		return
   141  	}
   142  	if !protoimpl.UnsafeEnabled {
   143  		file_sdk_logical_plugin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   144  			switch v := v.(*PluginEnvironment); i {
   145  			case 0:
   146  				return &v.state
   147  			case 1:
   148  				return &v.sizeCache
   149  			case 2:
   150  				return &v.unknownFields
   151  			default:
   152  				return nil
   153  			}
   154  		}
   155  	}
   156  	type x struct{}
   157  	out := protoimpl.TypeBuilder{
   158  		File: protoimpl.DescBuilder{
   159  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   160  			RawDescriptor: file_sdk_logical_plugin_proto_rawDesc,
   161  			NumEnums:      0,
   162  			NumMessages:   1,
   163  			NumExtensions: 0,
   164  			NumServices:   0,
   165  		},
   166  		GoTypes:           file_sdk_logical_plugin_proto_goTypes,
   167  		DependencyIndexes: file_sdk_logical_plugin_proto_depIdxs,
   168  		MessageInfos:      file_sdk_logical_plugin_proto_msgTypes,
   169  	}.Build()
   170  	File_sdk_logical_plugin_proto = out.File
   171  	file_sdk_logical_plugin_proto_rawDesc = nil
   172  	file_sdk_logical_plugin_proto_goTypes = nil
   173  	file_sdk_logical_plugin_proto_depIdxs = nil
   174  }