tensorflow.serving.PlatformConfigOuterClass Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow_serving/config/platform_config.proto
package tensorflow.serving;
public final class PlatformConfigOuterClass {
private PlatformConfigOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface PlatformConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.serving.PlatformConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
boolean hasSourceAdapterConfig();
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
com.google.protobuf.Any getSourceAdapterConfig();
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
com.google.protobuf.AnyOrBuilder getSourceAdapterConfigOrBuilder();
}
/**
*
* Configuration for a servable platform e.g. tensorflow or other ML systems.
*
*
* Protobuf type {@code tensorflow.serving.PlatformConfig}
*/
public static final class PlatformConfig extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tensorflow.serving.PlatformConfig)
PlatformConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use PlatformConfig.newBuilder() to construct.
private PlatformConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PlatformConfig() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PlatformConfig(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.Any.Builder subBuilder = null;
if (sourceAdapterConfig_ != null) {
subBuilder = sourceAdapterConfig_.toBuilder();
}
sourceAdapterConfig_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sourceAdapterConfig_);
sourceAdapterConfig_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig.class, tensorflow.serving.PlatformConfigOuterClass.PlatformConfig.Builder.class);
}
public static final int SOURCE_ADAPTER_CONFIG_FIELD_NUMBER = 1;
private com.google.protobuf.Any sourceAdapterConfig_;
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public boolean hasSourceAdapterConfig() {
return sourceAdapterConfig_ != null;
}
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public com.google.protobuf.Any getSourceAdapterConfig() {
return sourceAdapterConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : sourceAdapterConfig_;
}
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public com.google.protobuf.AnyOrBuilder getSourceAdapterConfigOrBuilder() {
return getSourceAdapterConfig();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (sourceAdapterConfig_ != null) {
output.writeMessage(1, getSourceAdapterConfig());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (sourceAdapterConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSourceAdapterConfig());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tensorflow.serving.PlatformConfigOuterClass.PlatformConfig)) {
return super.equals(obj);
}
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig other = (tensorflow.serving.PlatformConfigOuterClass.PlatformConfig) obj;
boolean result = true;
result = result && (hasSourceAdapterConfig() == other.hasSourceAdapterConfig());
if (hasSourceAdapterConfig()) {
result = result && getSourceAdapterConfig()
.equals(other.getSourceAdapterConfig());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSourceAdapterConfig()) {
hash = (37 * hash) + SOURCE_ADAPTER_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getSourceAdapterConfig().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tensorflow.serving.PlatformConfigOuterClass.PlatformConfig prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Configuration for a servable platform e.g. tensorflow or other ML systems.
*
*
* Protobuf type {@code tensorflow.serving.PlatformConfig}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tensorflow.serving.PlatformConfig)
tensorflow.serving.PlatformConfigOuterClass.PlatformConfigOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig.class, tensorflow.serving.PlatformConfigOuterClass.PlatformConfig.Builder.class);
}
// Construct using tensorflow.serving.PlatformConfigOuterClass.PlatformConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (sourceAdapterConfigBuilder_ == null) {
sourceAdapterConfig_ = null;
} else {
sourceAdapterConfig_ = null;
sourceAdapterConfigBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfig_descriptor;
}
@java.lang.Override
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfig getDefaultInstanceForType() {
return tensorflow.serving.PlatformConfigOuterClass.PlatformConfig.getDefaultInstance();
}
@java.lang.Override
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfig build() {
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfig buildPartial() {
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig result = new tensorflow.serving.PlatformConfigOuterClass.PlatformConfig(this);
if (sourceAdapterConfigBuilder_ == null) {
result.sourceAdapterConfig_ = sourceAdapterConfig_;
} else {
result.sourceAdapterConfig_ = sourceAdapterConfigBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tensorflow.serving.PlatformConfigOuterClass.PlatformConfig) {
return mergeFrom((tensorflow.serving.PlatformConfigOuterClass.PlatformConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tensorflow.serving.PlatformConfigOuterClass.PlatformConfig other) {
if (other == tensorflow.serving.PlatformConfigOuterClass.PlatformConfig.getDefaultInstance()) return this;
if (other.hasSourceAdapterConfig()) {
mergeSourceAdapterConfig(other.getSourceAdapterConfig());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (tensorflow.serving.PlatformConfigOuterClass.PlatformConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.Any sourceAdapterConfig_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> sourceAdapterConfigBuilder_;
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public boolean hasSourceAdapterConfig() {
return sourceAdapterConfigBuilder_ != null || sourceAdapterConfig_ != null;
}
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public com.google.protobuf.Any getSourceAdapterConfig() {
if (sourceAdapterConfigBuilder_ == null) {
return sourceAdapterConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : sourceAdapterConfig_;
} else {
return sourceAdapterConfigBuilder_.getMessage();
}
}
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public Builder setSourceAdapterConfig(com.google.protobuf.Any value) {
if (sourceAdapterConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sourceAdapterConfig_ = value;
onChanged();
} else {
sourceAdapterConfigBuilder_.setMessage(value);
}
return this;
}
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public Builder setSourceAdapterConfig(
com.google.protobuf.Any.Builder builderForValue) {
if (sourceAdapterConfigBuilder_ == null) {
sourceAdapterConfig_ = builderForValue.build();
onChanged();
} else {
sourceAdapterConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public Builder mergeSourceAdapterConfig(com.google.protobuf.Any value) {
if (sourceAdapterConfigBuilder_ == null) {
if (sourceAdapterConfig_ != null) {
sourceAdapterConfig_ =
com.google.protobuf.Any.newBuilder(sourceAdapterConfig_).mergeFrom(value).buildPartial();
} else {
sourceAdapterConfig_ = value;
}
onChanged();
} else {
sourceAdapterConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public Builder clearSourceAdapterConfig() {
if (sourceAdapterConfigBuilder_ == null) {
sourceAdapterConfig_ = null;
onChanged();
} else {
sourceAdapterConfig_ = null;
sourceAdapterConfigBuilder_ = null;
}
return this;
}
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public com.google.protobuf.Any.Builder getSourceAdapterConfigBuilder() {
onChanged();
return getSourceAdapterConfigFieldBuilder().getBuilder();
}
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
public com.google.protobuf.AnyOrBuilder getSourceAdapterConfigOrBuilder() {
if (sourceAdapterConfigBuilder_ != null) {
return sourceAdapterConfigBuilder_.getMessageOrBuilder();
} else {
return sourceAdapterConfig_ == null ?
com.google.protobuf.Any.getDefaultInstance() : sourceAdapterConfig_;
}
}
/**
*
* The config proto for a SourceAdapter in the StoragePathSourceAdapter
* registry.
*
*
* .google.protobuf.Any source_adapter_config = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>
getSourceAdapterConfigFieldBuilder() {
if (sourceAdapterConfigBuilder_ == null) {
sourceAdapterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
getSourceAdapterConfig(),
getParentForChildren(),
isClean());
sourceAdapterConfig_ = null;
}
return sourceAdapterConfigBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tensorflow.serving.PlatformConfig)
}
// @@protoc_insertion_point(class_scope:tensorflow.serving.PlatformConfig)
private static final tensorflow.serving.PlatformConfigOuterClass.PlatformConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tensorflow.serving.PlatformConfigOuterClass.PlatformConfig();
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PlatformConfig parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PlatformConfig(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PlatformConfigMapOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.serving.PlatformConfigMap)
com.google.protobuf.MessageOrBuilder {
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
int getPlatformConfigsCount();
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
boolean containsPlatformConfigs(
java.lang.String key);
/**
* Use {@link #getPlatformConfigsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getPlatformConfigs();
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
java.util.Map
getPlatformConfigsMap();
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig getPlatformConfigsOrDefault(
java.lang.String key,
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig defaultValue);
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig getPlatformConfigsOrThrow(
java.lang.String key);
}
/**
* Protobuf type {@code tensorflow.serving.PlatformConfigMap}
*/
public static final class PlatformConfigMap extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tensorflow.serving.PlatformConfigMap)
PlatformConfigMapOrBuilder {
private static final long serialVersionUID = 0L;
// Use PlatformConfigMap.newBuilder() to construct.
private PlatformConfigMap(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PlatformConfigMap() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PlatformConfigMap(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
platformConfigs_ = com.google.protobuf.MapField.newMapField(
PlatformConfigsDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
platformConfigs__ = input.readMessage(
PlatformConfigsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
platformConfigs_.getMutableMap().put(
platformConfigs__.getKey(), platformConfigs__.getValue());
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfigMap_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetPlatformConfigs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfigMap_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap.class, tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap.Builder.class);
}
public static final int PLATFORM_CONFIGS_FIELD_NUMBER = 1;
private static final class PlatformConfigsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, tensorflow.serving.PlatformConfigOuterClass.PlatformConfig> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfigMap_PlatformConfigsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig.getDefaultInstance());
}
private com.google.protobuf.MapField<
java.lang.String, tensorflow.serving.PlatformConfigOuterClass.PlatformConfig> platformConfigs_;
private com.google.protobuf.MapField
internalGetPlatformConfigs() {
if (platformConfigs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PlatformConfigsDefaultEntryHolder.defaultEntry);
}
return platformConfigs_;
}
public int getPlatformConfigsCount() {
return internalGetPlatformConfigs().getMap().size();
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public boolean containsPlatformConfigs(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetPlatformConfigs().getMap().containsKey(key);
}
/**
* Use {@link #getPlatformConfigsMap()} instead.
*/
@java.lang.Deprecated
public java.util.Map getPlatformConfigs() {
return getPlatformConfigsMap();
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public java.util.Map getPlatformConfigsMap() {
return internalGetPlatformConfigs().getMap();
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfig getPlatformConfigsOrDefault(
java.lang.String key,
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig defaultValue) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetPlatformConfigs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfig getPlatformConfigsOrThrow(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetPlatformConfigs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetPlatformConfigs(),
PlatformConfigsDefaultEntryHolder.defaultEntry,
1);
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetPlatformConfigs().getMap().entrySet()) {
com.google.protobuf.MapEntry
platformConfigs__ = PlatformConfigsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, platformConfigs__);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap)) {
return super.equals(obj);
}
tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap other = (tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap) obj;
boolean result = true;
result = result && internalGetPlatformConfigs().equals(
other.internalGetPlatformConfigs());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (!internalGetPlatformConfigs().getMap().isEmpty()) {
hash = (37 * hash) + PLATFORM_CONFIGS_FIELD_NUMBER;
hash = (53 * hash) + internalGetPlatformConfigs().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code tensorflow.serving.PlatformConfigMap}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tensorflow.serving.PlatformConfigMap)
tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMapOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfigMap_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetPlatformConfigs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutablePlatformConfigs();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfigMap_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap.class, tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap.Builder.class);
}
// Construct using tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
internalGetMutablePlatformConfigs().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tensorflow.serving.PlatformConfigOuterClass.internal_static_tensorflow_serving_PlatformConfigMap_descriptor;
}
@java.lang.Override
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap getDefaultInstanceForType() {
return tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap.getDefaultInstance();
}
@java.lang.Override
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap build() {
tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap buildPartial() {
tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap result = new tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap(this);
int from_bitField0_ = bitField0_;
result.platformConfigs_ = internalGetPlatformConfigs();
result.platformConfigs_.makeImmutable();
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap) {
return mergeFrom((tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap other) {
if (other == tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap.getDefaultInstance()) return this;
internalGetMutablePlatformConfigs().mergeFrom(
other.internalGetPlatformConfigs());
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.String, tensorflow.serving.PlatformConfigOuterClass.PlatformConfig> platformConfigs_;
private com.google.protobuf.MapField
internalGetPlatformConfigs() {
if (platformConfigs_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PlatformConfigsDefaultEntryHolder.defaultEntry);
}
return platformConfigs_;
}
private com.google.protobuf.MapField
internalGetMutablePlatformConfigs() {
onChanged();;
if (platformConfigs_ == null) {
platformConfigs_ = com.google.protobuf.MapField.newMapField(
PlatformConfigsDefaultEntryHolder.defaultEntry);
}
if (!platformConfigs_.isMutable()) {
platformConfigs_ = platformConfigs_.copy();
}
return platformConfigs_;
}
public int getPlatformConfigsCount() {
return internalGetPlatformConfigs().getMap().size();
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public boolean containsPlatformConfigs(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetPlatformConfigs().getMap().containsKey(key);
}
/**
* Use {@link #getPlatformConfigsMap()} instead.
*/
@java.lang.Deprecated
public java.util.Map getPlatformConfigs() {
return getPlatformConfigsMap();
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public java.util.Map getPlatformConfigsMap() {
return internalGetPlatformConfigs().getMap();
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfig getPlatformConfigsOrDefault(
java.lang.String key,
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig defaultValue) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetPlatformConfigs().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfig getPlatformConfigsOrThrow(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetPlatformConfigs().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearPlatformConfigs() {
internalGetMutablePlatformConfigs().getMutableMap()
.clear();
return this;
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public Builder removePlatformConfigs(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
internalGetMutablePlatformConfigs().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutablePlatformConfigs() {
return internalGetMutablePlatformConfigs().getMutableMap();
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public Builder putPlatformConfigs(
java.lang.String key,
tensorflow.serving.PlatformConfigOuterClass.PlatformConfig value) {
if (key == null) { throw new java.lang.NullPointerException(); }
if (value == null) { throw new java.lang.NullPointerException(); }
internalGetMutablePlatformConfigs().getMutableMap()
.put(key, value);
return this;
}
/**
*
* A map from a platform name to a platform config. The platform name is used
* in ModelConfig.model_platform.
*
*
* map<string, .tensorflow.serving.PlatformConfig> platform_configs = 1;
*/
public Builder putAllPlatformConfigs(
java.util.Map values) {
internalGetMutablePlatformConfigs().getMutableMap()
.putAll(values);
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tensorflow.serving.PlatformConfigMap)
}
// @@protoc_insertion_point(class_scope:tensorflow.serving.PlatformConfigMap)
private static final tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap();
}
public static tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PlatformConfigMap parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PlatformConfigMap(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tensorflow.serving.PlatformConfigOuterClass.PlatformConfigMap getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tensorflow_serving_PlatformConfig_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tensorflow_serving_PlatformConfig_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tensorflow_serving_PlatformConfigMap_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tensorflow_serving_PlatformConfigMap_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tensorflow_serving_PlatformConfigMap_PlatformConfigsEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tensorflow_serving_PlatformConfigMap_PlatformConfigsEntry_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n/tensorflow_serving/config/platform_con" +
"fig.proto\022\022tensorflow.serving\032\031google/pr" +
"otobuf/any.proto\"E\n\016PlatformConfig\0223\n\025so" +
"urce_adapter_config\030\001 \001(\0132\024.google.proto" +
"buf.Any\"\305\001\n\021PlatformConfigMap\022T\n\020platfor" +
"m_configs\030\001 \003(\0132:.tensorflow.serving.Pla" +
"tformConfigMap.PlatformConfigsEntry\032Z\n\024P" +
"latformConfigsEntry\022\013\n\003key\030\001 \001(\t\0221\n\005valu" +
"e\030\002 \001(\0132\".tensorflow.serving.PlatformCon" +
"fig:\0028\001B\003\370\001\001b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.AnyProto.getDescriptor(),
}, assigner);
internal_static_tensorflow_serving_PlatformConfig_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_tensorflow_serving_PlatformConfig_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tensorflow_serving_PlatformConfig_descriptor,
new java.lang.String[] { "SourceAdapterConfig", });
internal_static_tensorflow_serving_PlatformConfigMap_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_tensorflow_serving_PlatformConfigMap_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tensorflow_serving_PlatformConfigMap_descriptor,
new java.lang.String[] { "PlatformConfigs", });
internal_static_tensorflow_serving_PlatformConfigMap_PlatformConfigsEntry_descriptor =
internal_static_tensorflow_serving_PlatformConfigMap_descriptor.getNestedTypes().get(0);
internal_static_tensorflow_serving_PlatformConfigMap_PlatformConfigsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tensorflow_serving_PlatformConfigMap_PlatformConfigsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
com.google.protobuf.AnyProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}