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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.StructgetConfig()Optional JSON config.com.google.protobuf.StructOrBuildergetConfigOrBuilder()Optional JSON config.StringgetType()Required.com.google.protobuf.ByteStringgetTypeBytes()Required.booleanhasConfig()Optional JSON config.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-