类 ServiceEntryOuterClass.ServiceEntry.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
- istio.networking.v1alpha3.ServiceEntryOuterClass.ServiceEntry.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ServiceEntryOuterClass.ServiceEntryOrBuilder,java.lang.Cloneable
public static final class ServiceEntryOuterClass.ServiceEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder> implements ServiceEntryOuterClass.ServiceEntryOrBuilder
ServiceEntry enables adding additional entries into Istio's internal service registry. <!-- crd generation tags +cue-gen:ServiceEntry:groupName:networking.istio.io +cue-gen:ServiceEntry:version:v1alpha3 +cue-gen:ServiceEntry:storageVersion +cue-gen:ServiceEntry:annotations:helm.sh/resource-policy=keep +cue-gen:ServiceEntry:labels:app=istio-pilot,chart=istio,heritage=Tiller,release=istio +cue-gen:ServiceEntry:subresource:status +cue-gen:ServiceEntry:scope:Namespaced +cue-gen:ServiceEntry:resource:categories=istio-io,networking-istio-io,shortNames=se,plural=serviceentries +cue-gen:ServiceEntry:printerColumn:name=Hosts,type=string,JSONPath=.spec.hosts,description="The hosts associated with the ServiceEntry" +cue-gen:ServiceEntry:printerColumn:name=Location,type=string,JSONPath=.spec.location,description="Whether the service is external to the mesh or part of the mesh (MESH_EXTERNAL or MESH_INTERNAL)" +cue-gen:ServiceEntry:printerColumn:name=Resolution,type=string,JSONPath=.spec.resolution,description="Service discovery mode for the hosts (NONE, STATIC, or DNS)" +cue-gen:ServiceEntry:printerColumn:name=Age,type=date,JSONPath=.metadata.creationTimestamp,description="CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" +cue-gen:ServiceEntry:preserveUnknownFields:false --> <!-- go code generation tags +kubetype-gen +kubetype-gen:groupVersion=networking.istio.io/v1alpha3 +genclient +k8s:deepcopy-gen=true -->
Protobuf typeistio.networking.v1alpha3.ServiceEntry
-
-
字段概要
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 ServiceEntryOuterClass.ServiceEntry.BuilderaddAddresses(java.lang.String value)The virtual IP addresses associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderaddAddressesBytes(com.google.protobuf.ByteString value)The virtual IP addresses associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderaddAllAddresses(java.lang.Iterable<java.lang.String> values)The virtual IP addresses associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderaddAllEndpoints(java.lang.Iterable<? extends WorkloadEntryOuterClass.WorkloadEntry> values)One or more endpoints associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderaddAllExportTo(java.lang.Iterable<java.lang.String> values)A list of namespaces to which this service is exported.ServiceEntryOuterClass.ServiceEntry.BuilderaddAllHosts(java.lang.Iterable<java.lang.String> values)The hosts associated with the ServiceEntry.ServiceEntryOuterClass.ServiceEntry.BuilderaddAllPorts(java.lang.Iterable<? extends GatewayOuterClass.Port> values)The ports associated with the external service.ServiceEntryOuterClass.ServiceEntry.BuilderaddAllSubjectAltNames(java.lang.Iterable<java.lang.String> values)If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.ServiceEntryOuterClass.ServiceEntry.BuilderaddEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry value)One or more endpoints associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderaddEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)One or more endpoints associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderaddEndpoints(WorkloadEntryOuterClass.WorkloadEntry value)One or more endpoints associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderaddEndpoints(WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)One or more endpoints associated with the service.WorkloadEntryOuterClass.WorkloadEntry.BuilderaddEndpointsBuilder()One or more endpoints associated with the service.WorkloadEntryOuterClass.WorkloadEntry.BuilderaddEndpointsBuilder(int index)One or more endpoints associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderaddExportTo(java.lang.String value)A list of namespaces to which this service is exported.ServiceEntryOuterClass.ServiceEntry.BuilderaddExportToBytes(com.google.protobuf.ByteString value)A list of namespaces to which this service is exported.ServiceEntryOuterClass.ServiceEntry.BuilderaddHosts(java.lang.String value)The hosts associated with the ServiceEntry.ServiceEntryOuterClass.ServiceEntry.BuilderaddHostsBytes(com.google.protobuf.ByteString value)The hosts associated with the ServiceEntry.ServiceEntryOuterClass.ServiceEntry.BuilderaddPorts(int index, GatewayOuterClass.Port value)The ports associated with the external service.ServiceEntryOuterClass.ServiceEntry.BuilderaddPorts(int index, GatewayOuterClass.Port.Builder builderForValue)The ports associated with the external service.ServiceEntryOuterClass.ServiceEntry.BuilderaddPorts(GatewayOuterClass.Port value)The ports associated with the external service.ServiceEntryOuterClass.ServiceEntry.BuilderaddPorts(GatewayOuterClass.Port.Builder builderForValue)The ports associated with the external service.GatewayOuterClass.Port.BuilderaddPortsBuilder()The ports associated with the external service.GatewayOuterClass.Port.BuilderaddPortsBuilder(int index)The ports associated with the external service.ServiceEntryOuterClass.ServiceEntry.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ServiceEntryOuterClass.ServiceEntry.BuilderaddSubjectAltNames(java.lang.String value)If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.ServiceEntryOuterClass.ServiceEntry.BuilderaddSubjectAltNamesBytes(com.google.protobuf.ByteString value)If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.ServiceEntryOuterClass.ServiceEntrybuild()ServiceEntryOuterClass.ServiceEntrybuildPartial()ServiceEntryOuterClass.ServiceEntry.Builderclear()ServiceEntryOuterClass.ServiceEntry.BuilderclearAddresses()The virtual IP addresses associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderclearEndpoints()One or more endpoints associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderclearExportTo()A list of namespaces to which this service is exported.ServiceEntryOuterClass.ServiceEntry.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ServiceEntryOuterClass.ServiceEntry.BuilderclearHosts()The hosts associated with the ServiceEntry.ServiceEntryOuterClass.ServiceEntry.BuilderclearLocation()Specify whether the service should be considered external to the mesh or part of the mesh.ServiceEntryOuterClass.ServiceEntry.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ServiceEntryOuterClass.ServiceEntry.BuilderclearPorts()The ports associated with the external service.ServiceEntryOuterClass.ServiceEntry.BuilderclearResolution()Service discovery mode for the hosts.ServiceEntryOuterClass.ServiceEntry.BuilderclearSubjectAltNames()If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.ServiceEntryOuterClass.ServiceEntry.BuilderclearWorkloadSelector()Applicable only for MESH_INTERNAL services.ServiceEntryOuterClass.ServiceEntry.Builderclone()private voidensureAddressesIsMutable()private voidensureEndpointsIsMutable()private voidensureExportToIsMutable()private voidensureHostsIsMutable()private voidensurePortsIsMutable()private voidensureSubjectAltNamesIsMutable()java.lang.StringgetAddresses(int index)The virtual IP addresses associated with the service.com.google.protobuf.ByteStringgetAddressesBytes(int index)The virtual IP addresses associated with the service.intgetAddressesCount()The virtual IP addresses associated with the service.com.google.protobuf.ProtocolStringListgetAddressesList()The virtual IP addresses associated with the service.ServiceEntryOuterClass.ServiceEntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()WorkloadEntryOuterClass.WorkloadEntrygetEndpoints(int index)One or more endpoints associated with the service.WorkloadEntryOuterClass.WorkloadEntry.BuildergetEndpointsBuilder(int index)One or more endpoints associated with the service.java.util.List<WorkloadEntryOuterClass.WorkloadEntry.Builder>getEndpointsBuilderList()One or more endpoints associated with the service.intgetEndpointsCount()One or more endpoints associated with the service.private com.google.protobuf.RepeatedFieldBuilderV3<WorkloadEntryOuterClass.WorkloadEntry,WorkloadEntryOuterClass.WorkloadEntry.Builder,WorkloadEntryOuterClass.WorkloadEntryOrBuilder>getEndpointsFieldBuilder()java.util.List<WorkloadEntryOuterClass.WorkloadEntry>getEndpointsList()One or more endpoints associated with the service.WorkloadEntryOuterClass.WorkloadEntryOrBuildergetEndpointsOrBuilder(int index)One or more endpoints associated with the service.java.util.List<? extends WorkloadEntryOuterClass.WorkloadEntryOrBuilder>getEndpointsOrBuilderList()One or more endpoints associated with the service.java.lang.StringgetExportTo(int index)A list of namespaces to which this service is exported.com.google.protobuf.ByteStringgetExportToBytes(int index)A list of namespaces to which this service is exported.intgetExportToCount()A list of namespaces to which this service is exported.com.google.protobuf.ProtocolStringListgetExportToList()A list of namespaces to which this service is exported.java.lang.StringgetHosts(int index)The hosts associated with the ServiceEntry.com.google.protobuf.ByteStringgetHostsBytes(int index)The hosts associated with the ServiceEntry.intgetHostsCount()The hosts associated with the ServiceEntry.com.google.protobuf.ProtocolStringListgetHostsList()The hosts associated with the ServiceEntry.ServiceEntryOuterClass.ServiceEntry.LocationgetLocation()Specify whether the service should be considered external to the mesh or part of the mesh.intgetLocationValue()Specify whether the service should be considered external to the mesh or part of the mesh.GatewayOuterClass.PortgetPorts(int index)The ports associated with the external service.GatewayOuterClass.Port.BuildergetPortsBuilder(int index)The ports associated with the external service.java.util.List<GatewayOuterClass.Port.Builder>getPortsBuilderList()The ports associated with the external service.intgetPortsCount()The ports associated with the external service.private com.google.protobuf.RepeatedFieldBuilderV3<GatewayOuterClass.Port,GatewayOuterClass.Port.Builder,GatewayOuterClass.PortOrBuilder>getPortsFieldBuilder()java.util.List<GatewayOuterClass.Port>getPortsList()The ports associated with the external service.GatewayOuterClass.PortOrBuildergetPortsOrBuilder(int index)The ports associated with the external service.java.util.List<? extends GatewayOuterClass.PortOrBuilder>getPortsOrBuilderList()The ports associated with the external service.ServiceEntryOuterClass.ServiceEntry.ResolutiongetResolution()Service discovery mode for the hosts.intgetResolutionValue()Service discovery mode for the hosts.java.lang.StringgetSubjectAltNames(int index)If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.com.google.protobuf.ByteStringgetSubjectAltNamesBytes(int index)If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.intgetSubjectAltNamesCount()If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.com.google.protobuf.ProtocolStringListgetSubjectAltNamesList()If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.SidecarOuterClass.WorkloadSelectorgetWorkloadSelector()Applicable only for MESH_INTERNAL services.SidecarOuterClass.WorkloadSelector.BuildergetWorkloadSelectorBuilder()Applicable only for MESH_INTERNAL services.private com.google.protobuf.SingleFieldBuilderV3<SidecarOuterClass.WorkloadSelector,SidecarOuterClass.WorkloadSelector.Builder,SidecarOuterClass.WorkloadSelectorOrBuilder>getWorkloadSelectorFieldBuilder()Applicable only for MESH_INTERNAL services.SidecarOuterClass.WorkloadSelectorOrBuildergetWorkloadSelectorOrBuilder()Applicable only for MESH_INTERNAL services.booleanhasWorkloadSelector()Applicable only for MESH_INTERNAL services.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ServiceEntryOuterClass.ServiceEntry.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ServiceEntryOuterClass.ServiceEntry.BuildermergeFrom(com.google.protobuf.Message other)ServiceEntryOuterClass.ServiceEntry.BuildermergeFrom(ServiceEntryOuterClass.ServiceEntry other)ServiceEntryOuterClass.ServiceEntry.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ServiceEntryOuterClass.ServiceEntry.BuildermergeWorkloadSelector(SidecarOuterClass.WorkloadSelector value)Applicable only for MESH_INTERNAL services.ServiceEntryOuterClass.ServiceEntry.BuilderremoveEndpoints(int index)One or more endpoints associated with the service.ServiceEntryOuterClass.ServiceEntry.BuilderremovePorts(int index)The ports associated with the external service.ServiceEntryOuterClass.ServiceEntry.BuildersetAddresses(int index, java.lang.String value)The virtual IP addresses associated with the service.ServiceEntryOuterClass.ServiceEntry.BuildersetEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry value)One or more endpoints associated with the service.ServiceEntryOuterClass.ServiceEntry.BuildersetEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)One or more endpoints associated with the service.ServiceEntryOuterClass.ServiceEntry.BuildersetExportTo(int index, java.lang.String value)A list of namespaces to which this service is exported.ServiceEntryOuterClass.ServiceEntry.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ServiceEntryOuterClass.ServiceEntry.BuildersetHosts(int index, java.lang.String value)The hosts associated with the ServiceEntry.ServiceEntryOuterClass.ServiceEntry.BuildersetLocation(ServiceEntryOuterClass.ServiceEntry.Location value)Specify whether the service should be considered external to the mesh or part of the mesh.ServiceEntryOuterClass.ServiceEntry.BuildersetLocationValue(int value)Specify whether the service should be considered external to the mesh or part of the mesh.ServiceEntryOuterClass.ServiceEntry.BuildersetPorts(int index, GatewayOuterClass.Port value)The ports associated with the external service.ServiceEntryOuterClass.ServiceEntry.BuildersetPorts(int index, GatewayOuterClass.Port.Builder builderForValue)The ports associated with the external service.ServiceEntryOuterClass.ServiceEntry.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ServiceEntryOuterClass.ServiceEntry.BuildersetResolution(ServiceEntryOuterClass.ServiceEntry.Resolution value)Service discovery mode for the hosts.ServiceEntryOuterClass.ServiceEntry.BuildersetResolutionValue(int value)Service discovery mode for the hosts.ServiceEntryOuterClass.ServiceEntry.BuildersetSubjectAltNames(int index, java.lang.String value)If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.ServiceEntryOuterClass.ServiceEntry.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ServiceEntryOuterClass.ServiceEntry.BuildersetWorkloadSelector(SidecarOuterClass.WorkloadSelector value)Applicable only for MESH_INTERNAL services.ServiceEntryOuterClass.ServiceEntry.BuildersetWorkloadSelector(SidecarOuterClass.WorkloadSelector.Builder builderForValue)Applicable only for MESH_INTERNAL services.-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
字段详细资料
-
bitField0_
private int bitField0_
-
hosts_
private com.google.protobuf.LazyStringList hosts_
-
addresses_
private com.google.protobuf.LazyStringList addresses_
-
ports_
private java.util.List<GatewayOuterClass.Port> ports_
-
portsBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<GatewayOuterClass.Port,GatewayOuterClass.Port.Builder,GatewayOuterClass.PortOrBuilder> portsBuilder_
-
location_
private int location_
-
resolution_
private int resolution_
-
endpoints_
private java.util.List<WorkloadEntryOuterClass.WorkloadEntry> endpoints_
-
endpointsBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<WorkloadEntryOuterClass.WorkloadEntry,WorkloadEntryOuterClass.WorkloadEntry.Builder,WorkloadEntryOuterClass.WorkloadEntryOrBuilder> endpointsBuilder_
-
workloadSelector_
private SidecarOuterClass.WorkloadSelector workloadSelector_
-
workloadSelectorBuilder_
private com.google.protobuf.SingleFieldBuilderV3<SidecarOuterClass.WorkloadSelector,SidecarOuterClass.WorkloadSelector.Builder,SidecarOuterClass.WorkloadSelectorOrBuilder> workloadSelectorBuilder_
-
exportTo_
private com.google.protobuf.LazyStringList exportTo_
-
subjectAltNames_
private com.google.protobuf.LazyStringList subjectAltNames_
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
clear
public ServiceEntryOuterClass.ServiceEntry.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
getDefaultInstanceForType
public ServiceEntryOuterClass.ServiceEntry getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public ServiceEntryOuterClass.ServiceEntry build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public ServiceEntryOuterClass.ServiceEntry buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public ServiceEntryOuterClass.ServiceEntry.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
setField
public ServiceEntryOuterClass.ServiceEntry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
clearField
public ServiceEntryOuterClass.ServiceEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
clearOneof
public ServiceEntryOuterClass.ServiceEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
setRepeatedField
public ServiceEntryOuterClass.ServiceEntry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
addRepeatedField
public ServiceEntryOuterClass.ServiceEntry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
mergeFrom
public ServiceEntryOuterClass.ServiceEntry.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
mergeFrom
public ServiceEntryOuterClass.ServiceEntry.Builder mergeFrom(ServiceEntryOuterClass.ServiceEntry other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
mergeFrom
public ServiceEntryOuterClass.ServiceEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>- 抛出:
java.io.IOException
-
ensureHostsIsMutable
private void ensureHostsIsMutable()
-
getHostsList
public com.google.protobuf.ProtocolStringList getHostsList()
The hosts associated with the ServiceEntry. Could be a DNS name with wildcard prefix. 1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules. 2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field. 3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value will be matched against the hosts field. **NOTE 1:** When resolution is set to type DNS and no endpoints are specified, the host field will be used as the DNS name of the endpoint to route traffic to. **NOTE 2:** If the hostname matches with the name of a service from another service registry such as Kubernetes that also supplies its own set of endpoints, the ServiceEntry will be treated as a decorator of the existing Kubernetes service. Properties in the service entry will be added to the Kubernetes service if applicable. Currently, the only the following additional properties will be considered by `istiod`: 1. subjectAltNames: In addition to verifying the SANs of the service accounts associated with the pods of the service, the SANs specified here will also be verified.repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];- 指定者:
getHostsList在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- A list containing the hosts.
-
getHostsCount
public int getHostsCount()
The hosts associated with the ServiceEntry. Could be a DNS name with wildcard prefix. 1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules. 2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field. 3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value will be matched against the hosts field. **NOTE 1:** When resolution is set to type DNS and no endpoints are specified, the host field will be used as the DNS name of the endpoint to route traffic to. **NOTE 2:** If the hostname matches with the name of a service from another service registry such as Kubernetes that also supplies its own set of endpoints, the ServiceEntry will be treated as a decorator of the existing Kubernetes service. Properties in the service entry will be added to the Kubernetes service if applicable. Currently, the only the following additional properties will be considered by `istiod`: 1. subjectAltNames: In addition to verifying the SANs of the service accounts associated with the pods of the service, the SANs specified here will also be verified.repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];- 指定者:
getHostsCount在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- The count of hosts.
-
getHosts
public java.lang.String getHosts(int index)
The hosts associated with the ServiceEntry. Could be a DNS name with wildcard prefix. 1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules. 2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field. 3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value will be matched against the hosts field. **NOTE 1:** When resolution is set to type DNS and no endpoints are specified, the host field will be used as the DNS name of the endpoint to route traffic to. **NOTE 2:** If the hostname matches with the name of a service from another service registry such as Kubernetes that also supplies its own set of endpoints, the ServiceEntry will be treated as a decorator of the existing Kubernetes service. Properties in the service entry will be added to the Kubernetes service if applicable. Currently, the only the following additional properties will be considered by `istiod`: 1. subjectAltNames: In addition to verifying the SANs of the service accounts associated with the pods of the service, the SANs specified here will also be verified.repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];- 指定者:
getHosts在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The hosts at the given index.
-
getHostsBytes
public com.google.protobuf.ByteString getHostsBytes(int index)
The hosts associated with the ServiceEntry. Could be a DNS name with wildcard prefix. 1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules. 2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field. 3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value will be matched against the hosts field. **NOTE 1:** When resolution is set to type DNS and no endpoints are specified, the host field will be used as the DNS name of the endpoint to route traffic to. **NOTE 2:** If the hostname matches with the name of a service from another service registry such as Kubernetes that also supplies its own set of endpoints, the ServiceEntry will be treated as a decorator of the existing Kubernetes service. Properties in the service entry will be added to the Kubernetes service if applicable. Currently, the only the following additional properties will be considered by `istiod`: 1. subjectAltNames: In addition to verifying the SANs of the service accounts associated with the pods of the service, the SANs specified here will also be verified.repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];- 指定者:
getHostsBytes在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the hosts at the given index.
-
setHosts
public ServiceEntryOuterClass.ServiceEntry.Builder setHosts(int index, java.lang.String value)
The hosts associated with the ServiceEntry. Could be a DNS name with wildcard prefix. 1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules. 2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field. 3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value will be matched against the hosts field. **NOTE 1:** When resolution is set to type DNS and no endpoints are specified, the host field will be used as the DNS name of the endpoint to route traffic to. **NOTE 2:** If the hostname matches with the name of a service from another service registry such as Kubernetes that also supplies its own set of endpoints, the ServiceEntry will be treated as a decorator of the existing Kubernetes service. Properties in the service entry will be added to the Kubernetes service if applicable. Currently, the only the following additional properties will be considered by `istiod`: 1. subjectAltNames: In addition to verifying the SANs of the service accounts associated with the pods of the service, the SANs specified here will also be verified.repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];- 参数:
index- The index to set the value at.value- The hosts to set.- 返回:
- This builder for chaining.
-
addHosts
public ServiceEntryOuterClass.ServiceEntry.Builder addHosts(java.lang.String value)
The hosts associated with the ServiceEntry. Could be a DNS name with wildcard prefix. 1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules. 2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field. 3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value will be matched against the hosts field. **NOTE 1:** When resolution is set to type DNS and no endpoints are specified, the host field will be used as the DNS name of the endpoint to route traffic to. **NOTE 2:** If the hostname matches with the name of a service from another service registry such as Kubernetes that also supplies its own set of endpoints, the ServiceEntry will be treated as a decorator of the existing Kubernetes service. Properties in the service entry will be added to the Kubernetes service if applicable. Currently, the only the following additional properties will be considered by `istiod`: 1. subjectAltNames: In addition to verifying the SANs of the service accounts associated with the pods of the service, the SANs specified here will also be verified.repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];- 参数:
value- The hosts to add.- 返回:
- This builder for chaining.
-
addAllHosts
public ServiceEntryOuterClass.ServiceEntry.Builder addAllHosts(java.lang.Iterable<java.lang.String> values)
The hosts associated with the ServiceEntry. Could be a DNS name with wildcard prefix. 1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules. 2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field. 3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value will be matched against the hosts field. **NOTE 1:** When resolution is set to type DNS and no endpoints are specified, the host field will be used as the DNS name of the endpoint to route traffic to. **NOTE 2:** If the hostname matches with the name of a service from another service registry such as Kubernetes that also supplies its own set of endpoints, the ServiceEntry will be treated as a decorator of the existing Kubernetes service. Properties in the service entry will be added to the Kubernetes service if applicable. Currently, the only the following additional properties will be considered by `istiod`: 1. subjectAltNames: In addition to verifying the SANs of the service accounts associated with the pods of the service, the SANs specified here will also be verified.repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];- 参数:
values- The hosts to add.- 返回:
- This builder for chaining.
-
clearHosts
public ServiceEntryOuterClass.ServiceEntry.Builder clearHosts()
The hosts associated with the ServiceEntry. Could be a DNS name with wildcard prefix. 1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules. 2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field. 3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value will be matched against the hosts field. **NOTE 1:** When resolution is set to type DNS and no endpoints are specified, the host field will be used as the DNS name of the endpoint to route traffic to. **NOTE 2:** If the hostname matches with the name of a service from another service registry such as Kubernetes that also supplies its own set of endpoints, the ServiceEntry will be treated as a decorator of the existing Kubernetes service. Properties in the service entry will be added to the Kubernetes service if applicable. Currently, the only the following additional properties will be considered by `istiod`: 1. subjectAltNames: In addition to verifying the SANs of the service accounts associated with the pods of the service, the SANs specified here will also be verified.repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];- 返回:
- This builder for chaining.
-
addHostsBytes
public ServiceEntryOuterClass.ServiceEntry.Builder addHostsBytes(com.google.protobuf.ByteString value)
The hosts associated with the ServiceEntry. Could be a DNS name with wildcard prefix. 1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules. 2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field. 3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value will be matched against the hosts field. **NOTE 1:** When resolution is set to type DNS and no endpoints are specified, the host field will be used as the DNS name of the endpoint to route traffic to. **NOTE 2:** If the hostname matches with the name of a service from another service registry such as Kubernetes that also supplies its own set of endpoints, the ServiceEntry will be treated as a decorator of the existing Kubernetes service. Properties in the service entry will be added to the Kubernetes service if applicable. Currently, the only the following additional properties will be considered by `istiod`: 1. subjectAltNames: In addition to verifying the SANs of the service accounts associated with the pods of the service, the SANs specified here will also be verified.repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];- 参数:
value- The bytes of the hosts to add.- 返回:
- This builder for chaining.
-
ensureAddressesIsMutable
private void ensureAddressesIsMutable()
-
getAddressesList
public com.google.protobuf.ProtocolStringList getAddressesList()
The virtual IP addresses associated with the service. Could be CIDR prefix. For HTTP traffic, generated route configurations will include http route domains for both the `addresses` and `hosts` field values and the destination will be identified based on the HTTP Host/Authority header. If one or more IP addresses are specified, the incoming traffic will be identified as belonging to this service if the destination IP matches the IP/CIDRs specified in the addresses field. If the Addresses field is empty, traffic will be identified solely based on the destination port. In such scenarios, the port on which the service is being accessed must not be shared by any other service in the mesh. In other words, the sidecar will behave as a simple TCP proxy, forwarding incoming traffic on a specified port to the specified destination endpoint IP/host. Unix domain socket addresses are not supported in this field.
repeated string addresses = 2;- 指定者:
getAddressesList在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- A list containing the addresses.
-
getAddressesCount
public int getAddressesCount()
The virtual IP addresses associated with the service. Could be CIDR prefix. For HTTP traffic, generated route configurations will include http route domains for both the `addresses` and `hosts` field values and the destination will be identified based on the HTTP Host/Authority header. If one or more IP addresses are specified, the incoming traffic will be identified as belonging to this service if the destination IP matches the IP/CIDRs specified in the addresses field. If the Addresses field is empty, traffic will be identified solely based on the destination port. In such scenarios, the port on which the service is being accessed must not be shared by any other service in the mesh. In other words, the sidecar will behave as a simple TCP proxy, forwarding incoming traffic on a specified port to the specified destination endpoint IP/host. Unix domain socket addresses are not supported in this field.
repeated string addresses = 2;- 指定者:
getAddressesCount在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- The count of addresses.
-
getAddresses
public java.lang.String getAddresses(int index)
The virtual IP addresses associated with the service. Could be CIDR prefix. For HTTP traffic, generated route configurations will include http route domains for both the `addresses` and `hosts` field values and the destination will be identified based on the HTTP Host/Authority header. If one or more IP addresses are specified, the incoming traffic will be identified as belonging to this service if the destination IP matches the IP/CIDRs specified in the addresses field. If the Addresses field is empty, traffic will be identified solely based on the destination port. In such scenarios, the port on which the service is being accessed must not be shared by any other service in the mesh. In other words, the sidecar will behave as a simple TCP proxy, forwarding incoming traffic on a specified port to the specified destination endpoint IP/host. Unix domain socket addresses are not supported in this field.
repeated string addresses = 2;- 指定者:
getAddresses在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The addresses at the given index.
-
getAddressesBytes
public com.google.protobuf.ByteString getAddressesBytes(int index)
The virtual IP addresses associated with the service. Could be CIDR prefix. For HTTP traffic, generated route configurations will include http route domains for both the `addresses` and `hosts` field values and the destination will be identified based on the HTTP Host/Authority header. If one or more IP addresses are specified, the incoming traffic will be identified as belonging to this service if the destination IP matches the IP/CIDRs specified in the addresses field. If the Addresses field is empty, traffic will be identified solely based on the destination port. In such scenarios, the port on which the service is being accessed must not be shared by any other service in the mesh. In other words, the sidecar will behave as a simple TCP proxy, forwarding incoming traffic on a specified port to the specified destination endpoint IP/host. Unix domain socket addresses are not supported in this field.
repeated string addresses = 2;- 指定者:
getAddressesBytes在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the addresses at the given index.
-
setAddresses
public ServiceEntryOuterClass.ServiceEntry.Builder setAddresses(int index, java.lang.String value)
The virtual IP addresses associated with the service. Could be CIDR prefix. For HTTP traffic, generated route configurations will include http route domains for both the `addresses` and `hosts` field values and the destination will be identified based on the HTTP Host/Authority header. If one or more IP addresses are specified, the incoming traffic will be identified as belonging to this service if the destination IP matches the IP/CIDRs specified in the addresses field. If the Addresses field is empty, traffic will be identified solely based on the destination port. In such scenarios, the port on which the service is being accessed must not be shared by any other service in the mesh. In other words, the sidecar will behave as a simple TCP proxy, forwarding incoming traffic on a specified port to the specified destination endpoint IP/host. Unix domain socket addresses are not supported in this field.
repeated string addresses = 2;- 参数:
index- The index to set the value at.value- The addresses to set.- 返回:
- This builder for chaining.
-
addAddresses
public ServiceEntryOuterClass.ServiceEntry.Builder addAddresses(java.lang.String value)
The virtual IP addresses associated with the service. Could be CIDR prefix. For HTTP traffic, generated route configurations will include http route domains for both the `addresses` and `hosts` field values and the destination will be identified based on the HTTP Host/Authority header. If one or more IP addresses are specified, the incoming traffic will be identified as belonging to this service if the destination IP matches the IP/CIDRs specified in the addresses field. If the Addresses field is empty, traffic will be identified solely based on the destination port. In such scenarios, the port on which the service is being accessed must not be shared by any other service in the mesh. In other words, the sidecar will behave as a simple TCP proxy, forwarding incoming traffic on a specified port to the specified destination endpoint IP/host. Unix domain socket addresses are not supported in this field.
repeated string addresses = 2;- 参数:
value- The addresses to add.- 返回:
- This builder for chaining.
-
addAllAddresses
public ServiceEntryOuterClass.ServiceEntry.Builder addAllAddresses(java.lang.Iterable<java.lang.String> values)
The virtual IP addresses associated with the service. Could be CIDR prefix. For HTTP traffic, generated route configurations will include http route domains for both the `addresses` and `hosts` field values and the destination will be identified based on the HTTP Host/Authority header. If one or more IP addresses are specified, the incoming traffic will be identified as belonging to this service if the destination IP matches the IP/CIDRs specified in the addresses field. If the Addresses field is empty, traffic will be identified solely based on the destination port. In such scenarios, the port on which the service is being accessed must not be shared by any other service in the mesh. In other words, the sidecar will behave as a simple TCP proxy, forwarding incoming traffic on a specified port to the specified destination endpoint IP/host. Unix domain socket addresses are not supported in this field.
repeated string addresses = 2;- 参数:
values- The addresses to add.- 返回:
- This builder for chaining.
-
clearAddresses
public ServiceEntryOuterClass.ServiceEntry.Builder clearAddresses()
The virtual IP addresses associated with the service. Could be CIDR prefix. For HTTP traffic, generated route configurations will include http route domains for both the `addresses` and `hosts` field values and the destination will be identified based on the HTTP Host/Authority header. If one or more IP addresses are specified, the incoming traffic will be identified as belonging to this service if the destination IP matches the IP/CIDRs specified in the addresses field. If the Addresses field is empty, traffic will be identified solely based on the destination port. In such scenarios, the port on which the service is being accessed must not be shared by any other service in the mesh. In other words, the sidecar will behave as a simple TCP proxy, forwarding incoming traffic on a specified port to the specified destination endpoint IP/host. Unix domain socket addresses are not supported in this field.
repeated string addresses = 2;- 返回:
- This builder for chaining.
-
addAddressesBytes
public ServiceEntryOuterClass.ServiceEntry.Builder addAddressesBytes(com.google.protobuf.ByteString value)
The virtual IP addresses associated with the service. Could be CIDR prefix. For HTTP traffic, generated route configurations will include http route domains for both the `addresses` and `hosts` field values and the destination will be identified based on the HTTP Host/Authority header. If one or more IP addresses are specified, the incoming traffic will be identified as belonging to this service if the destination IP matches the IP/CIDRs specified in the addresses field. If the Addresses field is empty, traffic will be identified solely based on the destination port. In such scenarios, the port on which the service is being accessed must not be shared by any other service in the mesh. In other words, the sidecar will behave as a simple TCP proxy, forwarding incoming traffic on a specified port to the specified destination endpoint IP/host. Unix domain socket addresses are not supported in this field.
repeated string addresses = 2;- 参数:
value- The bytes of the addresses to add.- 返回:
- This builder for chaining.
-
ensurePortsIsMutable
private void ensurePortsIsMutable()
-
getPortsList
public java.util.List<GatewayOuterClass.Port> getPortsList()
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
getPortsCount
public int getPortsCount()
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
getPorts
public GatewayOuterClass.Port getPorts(int index)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
setPorts
public ServiceEntryOuterClass.ServiceEntry.Builder setPorts(int index, GatewayOuterClass.Port value)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
setPorts
public ServiceEntryOuterClass.ServiceEntry.Builder setPorts(int index, GatewayOuterClass.Port.Builder builderForValue)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
addPorts
public ServiceEntryOuterClass.ServiceEntry.Builder addPorts(GatewayOuterClass.Port value)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
addPorts
public ServiceEntryOuterClass.ServiceEntry.Builder addPorts(int index, GatewayOuterClass.Port value)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
addPorts
public ServiceEntryOuterClass.ServiceEntry.Builder addPorts(GatewayOuterClass.Port.Builder builderForValue)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
addPorts
public ServiceEntryOuterClass.ServiceEntry.Builder addPorts(int index, GatewayOuterClass.Port.Builder builderForValue)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
addAllPorts
public ServiceEntryOuterClass.ServiceEntry.Builder addAllPorts(java.lang.Iterable<? extends GatewayOuterClass.Port> values)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
clearPorts
public ServiceEntryOuterClass.ServiceEntry.Builder clearPorts()
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
removePorts
public ServiceEntryOuterClass.ServiceEntry.Builder removePorts(int index)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
getPortsBuilder
public GatewayOuterClass.Port.Builder getPortsBuilder(int index)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
getPortsOrBuilder
public GatewayOuterClass.PortOrBuilder getPortsOrBuilder(int index)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
getPortsOrBuilderList
public java.util.List<? extends GatewayOuterClass.PortOrBuilder> getPortsOrBuilderList()
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
addPortsBuilder
public GatewayOuterClass.Port.Builder addPortsBuilder()
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
addPortsBuilder
public GatewayOuterClass.Port.Builder addPortsBuilder(int index)
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
getPortsBuilderList
public java.util.List<GatewayOuterClass.Port.Builder> getPortsBuilderList()
The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.
repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
-
getPortsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<GatewayOuterClass.Port,GatewayOuterClass.Port.Builder,GatewayOuterClass.PortOrBuilder> getPortsFieldBuilder()
-
getLocationValue
public int getLocationValue()
Specify whether the service should be considered external to the mesh or part of the mesh.
.istio.networking.v1alpha3.ServiceEntry.Location location = 4;- 指定者:
getLocationValue在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- The enum numeric value on the wire for location.
-
setLocationValue
public ServiceEntryOuterClass.ServiceEntry.Builder setLocationValue(int value)
Specify whether the service should be considered external to the mesh or part of the mesh.
.istio.networking.v1alpha3.ServiceEntry.Location location = 4;- 参数:
value- The enum numeric value on the wire for location to set.- 返回:
- This builder for chaining.
-
getLocation
public ServiceEntryOuterClass.ServiceEntry.Location getLocation()
Specify whether the service should be considered external to the mesh or part of the mesh.
.istio.networking.v1alpha3.ServiceEntry.Location location = 4;- 指定者:
getLocation在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- The location.
-
setLocation
public ServiceEntryOuterClass.ServiceEntry.Builder setLocation(ServiceEntryOuterClass.ServiceEntry.Location value)
Specify whether the service should be considered external to the mesh or part of the mesh.
.istio.networking.v1alpha3.ServiceEntry.Location location = 4;- 参数:
value- The location to set.- 返回:
- This builder for chaining.
-
clearLocation
public ServiceEntryOuterClass.ServiceEntry.Builder clearLocation()
Specify whether the service should be considered external to the mesh or part of the mesh.
.istio.networking.v1alpha3.ServiceEntry.Location location = 4;- 返回:
- This builder for chaining.
-
getResolutionValue
public int getResolutionValue()
Service discovery mode for the hosts. Care must be taken when setting the resolution mode to NONE for a TCP port without accompanying IP addresses. In such cases, traffic to any IP on said port will be allowed (i.e. `0.0.0.0:<port>`).
.istio.networking.v1alpha3.ServiceEntry.Resolution resolution = 5 [(.google.api.field_behavior) = REQUIRED];- 指定者:
getResolutionValue在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- The enum numeric value on the wire for resolution.
-
setResolutionValue
public ServiceEntryOuterClass.ServiceEntry.Builder setResolutionValue(int value)
Service discovery mode for the hosts. Care must be taken when setting the resolution mode to NONE for a TCP port without accompanying IP addresses. In such cases, traffic to any IP on said port will be allowed (i.e. `0.0.0.0:<port>`).
.istio.networking.v1alpha3.ServiceEntry.Resolution resolution = 5 [(.google.api.field_behavior) = REQUIRED];- 参数:
value- The enum numeric value on the wire for resolution to set.- 返回:
- This builder for chaining.
-
getResolution
public ServiceEntryOuterClass.ServiceEntry.Resolution getResolution()
Service discovery mode for the hosts. Care must be taken when setting the resolution mode to NONE for a TCP port without accompanying IP addresses. In such cases, traffic to any IP on said port will be allowed (i.e. `0.0.0.0:<port>`).
.istio.networking.v1alpha3.ServiceEntry.Resolution resolution = 5 [(.google.api.field_behavior) = REQUIRED];- 指定者:
getResolution在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- The resolution.
-
setResolution
public ServiceEntryOuterClass.ServiceEntry.Builder setResolution(ServiceEntryOuterClass.ServiceEntry.Resolution value)
Service discovery mode for the hosts. Care must be taken when setting the resolution mode to NONE for a TCP port without accompanying IP addresses. In such cases, traffic to any IP on said port will be allowed (i.e. `0.0.0.0:<port>`).
.istio.networking.v1alpha3.ServiceEntry.Resolution resolution = 5 [(.google.api.field_behavior) = REQUIRED];- 参数:
value- The resolution to set.- 返回:
- This builder for chaining.
-
clearResolution
public ServiceEntryOuterClass.ServiceEntry.Builder clearResolution()
Service discovery mode for the hosts. Care must be taken when setting the resolution mode to NONE for a TCP port without accompanying IP addresses. In such cases, traffic to any IP on said port will be allowed (i.e. `0.0.0.0:<port>`).
.istio.networking.v1alpha3.ServiceEntry.Resolution resolution = 5 [(.google.api.field_behavior) = REQUIRED];- 返回:
- This builder for chaining.
-
ensureEndpointsIsMutable
private void ensureEndpointsIsMutable()
-
getEndpointsList
public java.util.List<WorkloadEntryOuterClass.WorkloadEntry> getEndpointsList()
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
getEndpointsCount
public int getEndpointsCount()
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
getEndpoints
public WorkloadEntryOuterClass.WorkloadEntry getEndpoints(int index)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
setEndpoints
public ServiceEntryOuterClass.ServiceEntry.Builder setEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry value)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
setEndpoints
public ServiceEntryOuterClass.ServiceEntry.Builder setEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
addEndpoints
public ServiceEntryOuterClass.ServiceEntry.Builder addEndpoints(WorkloadEntryOuterClass.WorkloadEntry value)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
addEndpoints
public ServiceEntryOuterClass.ServiceEntry.Builder addEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry value)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
addEndpoints
public ServiceEntryOuterClass.ServiceEntry.Builder addEndpoints(WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
addEndpoints
public ServiceEntryOuterClass.ServiceEntry.Builder addEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
addAllEndpoints
public ServiceEntryOuterClass.ServiceEntry.Builder addAllEndpoints(java.lang.Iterable<? extends WorkloadEntryOuterClass.WorkloadEntry> values)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
clearEndpoints
public ServiceEntryOuterClass.ServiceEntry.Builder clearEndpoints()
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
removeEndpoints
public ServiceEntryOuterClass.ServiceEntry.Builder removeEndpoints(int index)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
getEndpointsBuilder
public WorkloadEntryOuterClass.WorkloadEntry.Builder getEndpointsBuilder(int index)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
getEndpointsOrBuilder
public WorkloadEntryOuterClass.WorkloadEntryOrBuilder getEndpointsOrBuilder(int index)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
getEndpointsOrBuilderList
public java.util.List<? extends WorkloadEntryOuterClass.WorkloadEntryOrBuilder> getEndpointsOrBuilderList()
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
addEndpointsBuilder
public WorkloadEntryOuterClass.WorkloadEntry.Builder addEndpointsBuilder()
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
addEndpointsBuilder
public WorkloadEntryOuterClass.WorkloadEntry.Builder addEndpointsBuilder(int index)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
getEndpointsBuilderList
public java.util.List<WorkloadEntryOuterClass.WorkloadEntry.Builder> getEndpointsBuilderList()
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
-
getEndpointsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<WorkloadEntryOuterClass.WorkloadEntry,WorkloadEntryOuterClass.WorkloadEntry.Builder,WorkloadEntryOuterClass.WorkloadEntryOrBuilder> getEndpointsFieldBuilder()
-
hasWorkloadSelector
public boolean hasWorkloadSelector()
Applicable only for MESH_INTERNAL services. Only one of `endpoints` or `workloadSelector` can be specified. Selects one or more Kubernetes pods or VM workloads (specified using `WorkloadEntry`) based on their labels. The `WorkloadEntry` object representing the VMs should be defined in the same namespace as the ServiceEntry.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;- 指定者:
hasWorkloadSelector在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- Whether the workloadSelector field is set.
-
getWorkloadSelector
public SidecarOuterClass.WorkloadSelector getWorkloadSelector()
Applicable only for MESH_INTERNAL services. Only one of `endpoints` or `workloadSelector` can be specified. Selects one or more Kubernetes pods or VM workloads (specified using `WorkloadEntry`) based on their labels. The `WorkloadEntry` object representing the VMs should be defined in the same namespace as the ServiceEntry.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;- 指定者:
getWorkloadSelector在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- The workloadSelector.
-
setWorkloadSelector
public ServiceEntryOuterClass.ServiceEntry.Builder setWorkloadSelector(SidecarOuterClass.WorkloadSelector value)
Applicable only for MESH_INTERNAL services. Only one of `endpoints` or `workloadSelector` can be specified. Selects one or more Kubernetes pods or VM workloads (specified using `WorkloadEntry`) based on their labels. The `WorkloadEntry` object representing the VMs should be defined in the same namespace as the ServiceEntry.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
-
setWorkloadSelector
public ServiceEntryOuterClass.ServiceEntry.Builder setWorkloadSelector(SidecarOuterClass.WorkloadSelector.Builder builderForValue)
Applicable only for MESH_INTERNAL services. Only one of `endpoints` or `workloadSelector` can be specified. Selects one or more Kubernetes pods or VM workloads (specified using `WorkloadEntry`) based on their labels. The `WorkloadEntry` object representing the VMs should be defined in the same namespace as the ServiceEntry.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
-
mergeWorkloadSelector
public ServiceEntryOuterClass.ServiceEntry.Builder mergeWorkloadSelector(SidecarOuterClass.WorkloadSelector value)
Applicable only for MESH_INTERNAL services. Only one of `endpoints` or `workloadSelector` can be specified. Selects one or more Kubernetes pods or VM workloads (specified using `WorkloadEntry`) based on their labels. The `WorkloadEntry` object representing the VMs should be defined in the same namespace as the ServiceEntry.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
-
clearWorkloadSelector
public ServiceEntryOuterClass.ServiceEntry.Builder clearWorkloadSelector()
Applicable only for MESH_INTERNAL services. Only one of `endpoints` or `workloadSelector` can be specified. Selects one or more Kubernetes pods or VM workloads (specified using `WorkloadEntry`) based on their labels. The `WorkloadEntry` object representing the VMs should be defined in the same namespace as the ServiceEntry.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
-
getWorkloadSelectorBuilder
public SidecarOuterClass.WorkloadSelector.Builder getWorkloadSelectorBuilder()
Applicable only for MESH_INTERNAL services. Only one of `endpoints` or `workloadSelector` can be specified. Selects one or more Kubernetes pods or VM workloads (specified using `WorkloadEntry`) based on their labels. The `WorkloadEntry` object representing the VMs should be defined in the same namespace as the ServiceEntry.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
-
getWorkloadSelectorOrBuilder
public SidecarOuterClass.WorkloadSelectorOrBuilder getWorkloadSelectorOrBuilder()
Applicable only for MESH_INTERNAL services. Only one of `endpoints` or `workloadSelector` can be specified. Selects one or more Kubernetes pods or VM workloads (specified using `WorkloadEntry`) based on their labels. The `WorkloadEntry` object representing the VMs should be defined in the same namespace as the ServiceEntry.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
-
getWorkloadSelectorFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<SidecarOuterClass.WorkloadSelector,SidecarOuterClass.WorkloadSelector.Builder,SidecarOuterClass.WorkloadSelectorOrBuilder> getWorkloadSelectorFieldBuilder()
Applicable only for MESH_INTERNAL services. Only one of `endpoints` or `workloadSelector` can be specified. Selects one or more Kubernetes pods or VM workloads (specified using `WorkloadEntry`) based on their labels. The `WorkloadEntry` object representing the VMs should be defined in the same namespace as the ServiceEntry.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
-
ensureExportToIsMutable
private void ensureExportToIsMutable()
-
getExportToList
public com.google.protobuf.ProtocolStringList getExportToList()
A list of namespaces to which this service is exported. Exporting a service allows it to be used by sidecars, gateways and virtual services defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of services across namespace boundaries. If no namespaces are specified then the service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. For a Kubernetes Service, the equivalent effect can be achieved by setting the annotation "networking.istio.io/exportTo" to a comma-separated list of namespace names. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 7;- 指定者:
getExportToList在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- A list containing the exportTo.
-
getExportToCount
public int getExportToCount()
A list of namespaces to which this service is exported. Exporting a service allows it to be used by sidecars, gateways and virtual services defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of services across namespace boundaries. If no namespaces are specified then the service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. For a Kubernetes Service, the equivalent effect can be achieved by setting the annotation "networking.istio.io/exportTo" to a comma-separated list of namespace names. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 7;- 指定者:
getExportToCount在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- The count of exportTo.
-
getExportTo
public java.lang.String getExportTo(int index)
A list of namespaces to which this service is exported. Exporting a service allows it to be used by sidecars, gateways and virtual services defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of services across namespace boundaries. If no namespaces are specified then the service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. For a Kubernetes Service, the equivalent effect can be achieved by setting the annotation "networking.istio.io/exportTo" to a comma-separated list of namespace names. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 7;- 指定者:
getExportTo在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The exportTo at the given index.
-
getExportToBytes
public com.google.protobuf.ByteString getExportToBytes(int index)
A list of namespaces to which this service is exported. Exporting a service allows it to be used by sidecars, gateways and virtual services defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of services across namespace boundaries. If no namespaces are specified then the service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. For a Kubernetes Service, the equivalent effect can be achieved by setting the annotation "networking.istio.io/exportTo" to a comma-separated list of namespace names. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 7;- 指定者:
getExportToBytes在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the exportTo at the given index.
-
setExportTo
public ServiceEntryOuterClass.ServiceEntry.Builder setExportTo(int index, java.lang.String value)
A list of namespaces to which this service is exported. Exporting a service allows it to be used by sidecars, gateways and virtual services defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of services across namespace boundaries. If no namespaces are specified then the service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. For a Kubernetes Service, the equivalent effect can be achieved by setting the annotation "networking.istio.io/exportTo" to a comma-separated list of namespace names. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 7;- 参数:
index- The index to set the value at.value- The exportTo to set.- 返回:
- This builder for chaining.
-
addExportTo
public ServiceEntryOuterClass.ServiceEntry.Builder addExportTo(java.lang.String value)
A list of namespaces to which this service is exported. Exporting a service allows it to be used by sidecars, gateways and virtual services defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of services across namespace boundaries. If no namespaces are specified then the service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. For a Kubernetes Service, the equivalent effect can be achieved by setting the annotation "networking.istio.io/exportTo" to a comma-separated list of namespace names. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 7;- 参数:
value- The exportTo to add.- 返回:
- This builder for chaining.
-
addAllExportTo
public ServiceEntryOuterClass.ServiceEntry.Builder addAllExportTo(java.lang.Iterable<java.lang.String> values)
A list of namespaces to which this service is exported. Exporting a service allows it to be used by sidecars, gateways and virtual services defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of services across namespace boundaries. If no namespaces are specified then the service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. For a Kubernetes Service, the equivalent effect can be achieved by setting the annotation "networking.istio.io/exportTo" to a comma-separated list of namespace names. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 7;- 参数:
values- The exportTo to add.- 返回:
- This builder for chaining.
-
clearExportTo
public ServiceEntryOuterClass.ServiceEntry.Builder clearExportTo()
A list of namespaces to which this service is exported. Exporting a service allows it to be used by sidecars, gateways and virtual services defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of services across namespace boundaries. If no namespaces are specified then the service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. For a Kubernetes Service, the equivalent effect can be achieved by setting the annotation "networking.istio.io/exportTo" to a comma-separated list of namespace names. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 7;- 返回:
- This builder for chaining.
-
addExportToBytes
public ServiceEntryOuterClass.ServiceEntry.Builder addExportToBytes(com.google.protobuf.ByteString value)
A list of namespaces to which this service is exported. Exporting a service allows it to be used by sidecars, gateways and virtual services defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of services across namespace boundaries. If no namespaces are specified then the service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. For a Kubernetes Service, the equivalent effect can be achieved by setting the annotation "networking.istio.io/exportTo" to a comma-separated list of namespace names. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 7;- 参数:
value- The bytes of the exportTo to add.- 返回:
- This builder for chaining.
-
ensureSubjectAltNamesIsMutable
private void ensureSubjectAltNamesIsMutable()
-
getSubjectAltNamesList
public com.google.protobuf.ProtocolStringList getSubjectAltNamesList()
If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values. NOTE: When using the workloadEntry with workloadSelectors, the service account specified in the workloadEntry will also be used to derive the additional subject alternate names that should be verified.
repeated string subject_alt_names = 8;- 指定者:
getSubjectAltNamesList在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- A list containing the subjectAltNames.
-
getSubjectAltNamesCount
public int getSubjectAltNamesCount()
If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values. NOTE: When using the workloadEntry with workloadSelectors, the service account specified in the workloadEntry will also be used to derive the additional subject alternate names that should be verified.
repeated string subject_alt_names = 8;- 指定者:
getSubjectAltNamesCount在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 返回:
- The count of subjectAltNames.
-
getSubjectAltNames
public java.lang.String getSubjectAltNames(int index)
If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values. NOTE: When using the workloadEntry with workloadSelectors, the service account specified in the workloadEntry will also be used to derive the additional subject alternate names that should be verified.
repeated string subject_alt_names = 8;- 指定者:
getSubjectAltNames在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The subjectAltNames at the given index.
-
getSubjectAltNamesBytes
public com.google.protobuf.ByteString getSubjectAltNamesBytes(int index)
If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values. NOTE: When using the workloadEntry with workloadSelectors, the service account specified in the workloadEntry will also be used to derive the additional subject alternate names that should be verified.
repeated string subject_alt_names = 8;- 指定者:
getSubjectAltNamesBytes在接口中ServiceEntryOuterClass.ServiceEntryOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the subjectAltNames at the given index.
-
setSubjectAltNames
public ServiceEntryOuterClass.ServiceEntry.Builder setSubjectAltNames(int index, java.lang.String value)
If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values. NOTE: When using the workloadEntry with workloadSelectors, the service account specified in the workloadEntry will also be used to derive the additional subject alternate names that should be verified.
repeated string subject_alt_names = 8;- 参数:
index- The index to set the value at.value- The subjectAltNames to set.- 返回:
- This builder for chaining.
-
addSubjectAltNames
public ServiceEntryOuterClass.ServiceEntry.Builder addSubjectAltNames(java.lang.String value)
If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values. NOTE: When using the workloadEntry with workloadSelectors, the service account specified in the workloadEntry will also be used to derive the additional subject alternate names that should be verified.
repeated string subject_alt_names = 8;- 参数:
value- The subjectAltNames to add.- 返回:
- This builder for chaining.
-
addAllSubjectAltNames
public ServiceEntryOuterClass.ServiceEntry.Builder addAllSubjectAltNames(java.lang.Iterable<java.lang.String> values)
If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values. NOTE: When using the workloadEntry with workloadSelectors, the service account specified in the workloadEntry will also be used to derive the additional subject alternate names that should be verified.
repeated string subject_alt_names = 8;- 参数:
values- The subjectAltNames to add.- 返回:
- This builder for chaining.
-
clearSubjectAltNames
public ServiceEntryOuterClass.ServiceEntry.Builder clearSubjectAltNames()
If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values. NOTE: When using the workloadEntry with workloadSelectors, the service account specified in the workloadEntry will also be used to derive the additional subject alternate names that should be verified.
repeated string subject_alt_names = 8;- 返回:
- This builder for chaining.
-
addSubjectAltNamesBytes
public ServiceEntryOuterClass.ServiceEntry.Builder addSubjectAltNamesBytes(com.google.protobuf.ByteString value)
If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values. NOTE: When using the workloadEntry with workloadSelectors, the service account specified in the workloadEntry will also be used to derive the additional subject alternate names that should be verified.
repeated string subject_alt_names = 8;- 参数:
value- The bytes of the subjectAltNames to add.- 返回:
- This builder for chaining.
-
setUnknownFields
public final ServiceEntryOuterClass.ServiceEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
mergeUnknownFields
public final ServiceEntryOuterClass.ServiceEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
-
-