// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: service_entry.proto
package com.alibaba.nacos.istio.model.naming;
/**
* <pre>
* ServiceEntry enables adding additional entries into Istio's internal
* service registry.
* <!-- go code generation tags
* +kubetype-gen
* +kubetype-gen:groupVersion=networking.istio.io/v1alpha3
* +genclient
* +k8s:deepcopy-gen=true
* -->
* </pre>
*
* Protobuf type {@code istio.networking.v1alpha3.ServiceEntry}
*/
public final class ServiceEntry extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:istio.networking.v1alpha3.ServiceEntry)
ServiceEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use ServiceEntry.newBuilder() to construct.
private ServiceEntry(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ServiceEntry() {
hosts_ = com.google.protobuf.LazyStringArrayList.EMPTY;
addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
ports_ = java.util.Collections.emptyList();
location_ = 0;
resolution_ = 0;
endpoints_ = java.util.Collections.emptyList();
exportTo_ = com.google.protobuf.LazyStringArrayList.EMPTY;
subjectAltNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ServiceEntry();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServiceEntry(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
hosts_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
hosts_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
addresses_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
addresses_.add(s);
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
ports_ = new java.util.ArrayList<com.alibaba.nacos.istio.model.Port>();
mutable_bitField0_ |= 0x00000004;
}
ports_.add(
input.readMessage(com.alibaba.nacos.istio.model.Port.parser(), extensionRegistry));
break;
}
case 32: {
int rawValue = input.readEnum();
location_ = rawValue;
break;
}
case 40: {
int rawValue = input.readEnum();
resolution_ = rawValue;
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
endpoints_ = new java.util.ArrayList<com.alibaba.nacos.istio.model.naming.ServiceEntry.Endpoint>();
mutable_bitField0_ |= 0x00000008;
}
endpoints_.add(
input.readMessage(com.alibaba.nacos.istio.model.naming.ServiceEntry.Endpoint.parser(), extensionRegistry));
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
exportTo_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000010;
}
exportTo_.add(s);
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000020) != 0)) {
subjectAltNames_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000020;
}
subjectAltNames_.add(s);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
hosts_ = hosts_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
addresses_ = addresses_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
ports_ = java.util.Collections.unmodifiableList(ports_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
endpoints_ = java.util.Collections.unmodifiableList(endpoints_);
}
if (((mutable_bitField0_ & 0x00000010) != 0)) {
exportTo_ = exportTo_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000020) != 0)) {
subjectAltNames_ = subjectAltNames_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.nacos.istio.model.naming.ServiceEntryOuterClass.internal_static_istio_networking_v1alpha3_ServiceEntry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.nacos.istio.model.naming.ServiceEntryOuterClass.internal_static_istio_networking_v1alpha3_ServiceEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.nacos.istio.model.naming.ServiceEntry.class, com.alibaba.nacos.istio.model.naming.ServiceEntry.Builder.class);
}
/**
* <pre>
* Location specifies whether the service is part of Istio mesh or
* outside the mesh. Location determines the behavior of several
* features, such as service-to-service mTLS authentication, policy
* enforcement, etc. When communicating with services outside the mesh,
* Istio's mTLS authentication is disabled, and policy enforcement is
* performed on the client-side as opposed to server-side.
* </pre>
*
* Protobuf enum {@code istio.networking.v1alpha3.ServiceEntry.Location}
*/
public enum Location
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <pre>
* Signifies that the service is external to the mesh. Typically used
* to indicate external services consumed through APIs.
* </pre>
*
* <code>MESH_EXTERNAL = 0;</code>
*/
MESH_EXTERNAL(0),
/**
* <pre>
* Signifies that the service is part of the mesh. Typically used to
* indicate services added explicitly as part of expanding the service
* mesh to include unmanag
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
本项目是一个集Java、JavaScript、CSS、HTML、Shell、TypeScript多语言于一体的文章收藏与原创设计源码分享平台,包含1023个文件,涵盖457个Java源文件、163个Markdown文档、162个JavaScript文件、多种格式资源文件,如PNG图片、SCSS样式、XML配置等。该平台支持用户收藏和分享文章,既包括原创内容,也涵盖他人佳作,旨在为开发者提供丰富的知识库和资源共享环境。
资源推荐
资源详情
资源评论
收起资源包目录
基于Java、JavaScript、CSS、HTML、Shell、TypeScript的多语言文章收藏与原创设计源码分享平台 (1026个子文件)
111 27KB
70 178KB
701 15KB
702 35KB
70232323 37KB
7034 5KB
7075 37KB
7077 37KB
748 22KB
.babelrc 384B
BUILDING 1KB
startup.cmd 3KB
shutdown.cmd 978B
main.css 368KB
editor.main.css 168KB
console1412.css 153KB
bootstrap.css 127KB
font-awesome.css 35KB
codemirror.css 9KB
icon.css 5KB
merge.css 4KB
.editorconfig 267B
.editorconfig 259B
aliyun-console-font.eot 166KB
roboto-bold.eot 23KB
roboto-regular.eot 22KB
roboto-medium.eot 22KB
roboto-light.eot 22KB
roboto-thin.eot 21KB
icon-font.eot 10KB
.eslintignore 52B
.eslintrc 955B
application.properties.example 419B
cluster.conf.example 62B
spring.factories 540B
201905211829_763.gif 140KB
.gitattributes 90B
.gitignore 243B
.gitignore 170B
.gitignore 29B
index.html 3KB
index.html 2KB
login.html 594B
favicon.ico 4KB
ServiceEntry.java 209KB
Server.java 208KB
PersistService.java 153KB
Resources.java 70KB
Metadata.java 62KB
RequestResources.java 60KB
IncrementalMeshConfigRequest.java 59KB
IncrementalMeshConfigResponse.java 54KB
MeshConfigRequest.java 52KB
MeshConfigResponse.java 48KB
Gateway.java 43KB
RaftCore.java 38KB
ServiceManager.java 33KB
SinkNode.java 30KB
ConfigController.java 30KB
Resource.java 29KB
Base64.java 27KB
Port.java 26KB
PushService.java 25KB
ClientWorker.java 25KB
ConfigService.java 22KB
NamingProxy.java 22KB
CapacityService.java 22KB
InstanceController.java 21KB
HttpClient.java 21KB
LongPollingService.java 20KB
NacosNamingService.java 20KB
ServiceEntryOrBuilder.java 20KB
NamingService.java 20KB
CapacityManagementAspect.java 18KB
ServerHttpAgent.java 18KB
ServiceController.java 18KB
ServerListService.java 17KB
AggregatedMeshConfigServiceGrpc.java 17KB
DumpTask.java 17KB
Service.java 17KB
ServerListManager.java 17KB
DumpService.java 17KB
ServerListManager.java 16KB
DistroConsistencyServiceImpl.java 15KB
ConfigServletInner.java 14KB
SwitchManager.java 14KB
TcpSuperSenseProcessor.java 14KB
Cluster.java 14KB
AsyncNotifyService.java 14KB
GroupCapacityPersistService.java 13KB
BasicDataSourceServiceImpl.java 13KB
HostReactor.java 13KB
SwitchDomain.java 13KB
NacosConfigService.java 13KB
Mcp.java 12KB
ServerOrBuilder.java 12KB
ResourceSourceGrpc.java 12KB
ResourceSinkGrpc.java 12KB
RaftStore.java 12KB
NamingProxy.java 12KB
共 1026 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11
资源评论
lly202406
- 粉丝: 3004
- 资源: 5525
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功