Home
last modified time | relevance | path

Searched refs:forNumber (Results 1 – 20 of 20) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DEnumTest.java43 ForeignEnum e = ForeignEnum.forNumber(ForeignEnum.FOREIGN_BAR.getNumber()); in testForNumber()
46 e = ForeignEnum.forNumber(1000); in testForNumber()
51 TestAllTypes.OneofFieldCase e = TestAllTypes.OneofFieldCase.forNumber( in testForNumber_oneof()
55 e = TestAllTypes.OneofFieldCase.forNumber(1000); in testForNumber_oneof()
60 ForeignEnumLite e = ForeignEnumLite.forNumber(ForeignEnumLite.FOREIGN_LITE_BAR.getNumber()); in testForNumberLite()
63 e = ForeignEnumLite.forNumber(1000); in testForNumberLite()
68 TestAllTypesLite.OneofFieldCase e = TestAllTypesLite.OneofFieldCase.forNumber( in testForNumberLite_oneof()
72 e = TestAllTypesLite.OneofFieldCase.forNumber(1000); in testForNumberLite_oneof()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelTraceEvent.java195 return forNumber(value); in valueOf()
198 public static Severity forNumber(int value) { in forNumber() method in ChannelTraceEvent.Severity
216 return Severity.forNumber(number);
272 return forNumber(value); in valueOf()
275 public static ChildRefCase forNumber(int value) { in forNumber() method in ChannelTraceEvent.ChildRefCase
290 return ChildRefCase.forNumber( in getChildRefCase()
853 return ChildRefCase.forNumber( in getChildRefCase()
DChannelConnectivityState.java159 return forNumber(value); in valueOf()
162 public static State forNumber(int value) { in forNumber() method in ChannelConnectivityState.State
182 return State.forNumber(number);
DSecurity.java282 return forNumber(value); in valueOf()
285 public static CipherSuiteCase forNumber(int value) { in forNumber() method in Security.Tls.CipherSuiteCase
300 return CipherSuiteCase.forNumber( in getCipherSuiteCase()
804 return CipherSuiteCase.forNumber( in getCipherSuiteCase()
1987 return forNumber(value); in valueOf()
1990 public static ModelCase forNumber(int value) { in forNumber() method in Security.ModelCase
2005 return ModelCase.forNumber( in getModelCase()
2405 return ModelCase.forNumber( in getModelCase()
DAddress.java2057 return forNumber(value); in valueOf()
2060 public static AddressCase forNumber(int value) { in forNumber() method in Address.AddressCase
2076 return AddressCase.forNumber( in getAddressCase()
2528 return AddressCase.forNumber( in getAddressCase()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/
DGrpcLogEntry.java282 return forNumber(value); in valueOf()
285 public static Type forNumber(int value) { in forNumber() method in GrpcLogEntry.Type
306 return Type.forNumber(number);
397 return forNumber(value); in valueOf()
400 public static Logger forNumber(int value) { in forNumber() method in GrpcLogEntry.Logger
417 return Logger.forNumber(number);
473 return forNumber(value); in valueOf()
476 public static PayloadCase forNumber(int value) { in forNumber() method in GrpcLogEntry.PayloadCase
491 return PayloadCase.forNumber( in getPayloadCase()
1447 return PayloadCase.forNumber( in getPayloadCase()
DPeer.java187 return forNumber(value); in valueOf()
190 public static PeerType forNumber(int value) { in forNumber() method in Peer.PeerType
208 return PeerType.forNumber(number);
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/
DHealthCheckResponse.java130 return forNumber(value); in valueOf()
133 public static ServingStatus forNumber(int value) { in forNumber() method in HealthCheckResponse.ServingStatus
150 return ServingStatus.forNumber(number);
/external/grpc-grpc-java/grpclb/src/generated/main/java/io/grpc/lb/v1/
DLoadBalanceResponse.java120 return forNumber(value); in valueOf()
123 public static LoadBalanceResponseTypeCase forNumber(int value) { in forNumber() method in LoadBalanceResponse.LoadBalanceResponseTypeCase
138 return LoadBalanceResponseTypeCase.forNumber( in getLoadBalanceResponseTypeCase()
561 return LoadBalanceResponseTypeCase.forNumber( in getLoadBalanceResponseTypeCase()
DLoadBalanceRequest.java120 return forNumber(value); in valueOf()
123 public static LoadBalanceRequestTypeCase forNumber(int value) { in forNumber() method in LoadBalanceRequest.LoadBalanceRequestTypeCase
138 return LoadBalanceRequestTypeCase.forNumber( in getLoadBalanceRequestTypeCase()
561 return LoadBalanceRequestTypeCase.forNumber( in getLoadBalanceRequestTypeCase()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/reflection/v1alpha/
DServerReflectionRequest.java144 return forNumber(value); in valueOf()
147 public static MessageRequestCase forNumber(int value) { in forNumber() method in ServerReflectionRequest.MessageRequestCase
165 return MessageRequestCase.forNumber( in getMessageRequestCase()
895 return MessageRequestCase.forNumber( in getMessageRequestCase()
DServerReflectionResponse.java174 return forNumber(value); in valueOf()
177 public static MessageResponseCase forNumber(int value) { in forNumber() method in ServerReflectionResponse.MessageResponseCase
194 return MessageResponseCase.forNumber( in getMessageResponseCase()
863 return MessageResponseCase.forNumber( in getMessageResponseCase()
/external/grpc-grpc-java/interop-testing/src/generated/main/java/io/grpc/testing/integration/
DMetrics.java167 return forNumber(value); in valueOf()
170 public static ValueCase forNumber(int value) { in forNumber() method in Metrics.GaugeResponse.ValueCase
186 return ValueCase.forNumber( in getValueCase()
673 return ValueCase.forNumber( in getValueCase()
DMessages.java93 return forNumber(value); in valueOf()
96 public static PayloadType forNumber(int value) { in forNumber() method in Messages.PayloadType
113 return PayloadType.forNumber(number);
/external/grpc-grpc-java/alts/src/generated/main/java/io/grpc/alts/internal/
DTransportSecurityCommon.java69 return forNumber(value); in valueOf()
72 public static SecurityLevel forNumber(int value) { in forNumber() method in TransportSecurityCommon.SecurityLevel
89 return SecurityLevel.forNumber(number);
DHandshaker.java88 return forNumber(value); in valueOf()
91 public static HandshakeProtocol forNumber(int value) { in forNumber() method in Handshaker.HandshakeProtocol
108 return HandshakeProtocol.forNumber(number);
195 return forNumber(value); in valueOf()
198 public static NetworkProtocol forNumber(int value) { in forNumber() method in Handshaker.NetworkProtocol
215 return NetworkProtocol.forNumber(number);
1176 return forNumber(value); in valueOf()
1179 public static IdentityOneofCase forNumber(int value) { in forNumber() method in Handshaker.Identity.IdentityOneofCase
1194 return IdentityOneofCase.forNumber( in getIdentityOneofCase()
1634 return IdentityOneofCase.forNumber( in getIdentityOneofCase()
[all …]
/external/grpc-grpc-java/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/
DControl.java82 return forNumber(value); in valueOf()
85 public static ClientType forNumber(int value) { in forNumber() method in Control.ClientType
102 return ClientType.forNumber(number);
205 return forNumber(value); in valueOf()
208 public static ServerType forNumber(int value) { in forNumber() method in Control.ServerType
226 return ServerType.forNumber(number);
329 return forNumber(value); in valueOf()
332 public static RpcType forNumber(int value) { in forNumber() method in Control.RpcType
351 return RpcType.forNumber(number);
1418 return forNumber(value); in valueOf()
[all …]
DPayloads.java1616 return forNumber(value); in valueOf()
1619 public static PayloadCase forNumber(int value) { in forNumber() method in Payloads.PayloadConfig.PayloadCase
1635 return PayloadCase.forNumber( in getPayloadCase()
2083 return PayloadCase.forNumber( in getPayloadCase()
DMessages.java61 return forNumber(value); in valueOf()
64 public static PayloadType forNumber(int value) { in forNumber() method in Messages.PayloadType
79 return PayloadType.forNumber(number);
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java1171 return FieldDescriptorProto.Type.forNumber(ordinal() + 1); in toProto()