Interface TypedExtensionConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TypedExtensionConfig,TypedExtensionConfig.Builder
public interface TypedExtensionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()The name of an extension.com.google.protobuf.ByteStringgetNameBytes()The name of an extension.com.google.protobuf.AnygetTypedConfig()The typed config for the extension.com.google.protobuf.AnyOrBuildergetTypedConfigOrBuilder()The typed config for the extension.booleanhasTypedConfig()The typed config for the extension.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for name.
-
hasTypedConfig
boolean hasTypedConfig()
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }- Returns:
- Whether the typedConfig field is set.
-
getTypedConfig
com.google.protobuf.Any getTypedConfig()
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }- Returns:
- The typedConfig.
-
getTypedConfigOrBuilder
com.google.protobuf.AnyOrBuilder getTypedConfigOrBuilder()
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }
-
-