Package io.grpc.serviceconfig
Interface XdsServer.ChannelCredentialsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
XdsServer.ChannelCredentials,XdsServer.ChannelCredentials.Builder
- Enclosing class:
- XdsServer
public static interface XdsServer.ChannelCredentialsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructOptional JSON config.com.google.protobuf.StructOrBuilderOptional JSON config.getType()Required.com.google.protobuf.ByteStringRequired.booleanOptional JSON config.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getType
String getType()Required.
string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Required.
string type = 1;- Returns:
- The bytes for type.
-
hasConfig
boolean hasConfig()Optional JSON config.
.google.protobuf.Struct config = 2;- Returns:
- Whether the config field is set.
-
getConfig
com.google.protobuf.Struct getConfig()Optional JSON config.
.google.protobuf.Struct config = 2;- Returns:
- The config.
-
getConfigOrBuilder
com.google.protobuf.StructOrBuilder getConfigOrBuilder()Optional JSON config.
.google.protobuf.Struct config = 2;
-