public static final class ApiDef.Endpoint.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder> implements ApiDef.EndpointOrBuilder
If you specify any endpoint, this will replace all of the inherited endpoints. The first endpoint should be the "canonical" endpoint, and should not be deprecated (unless all endpoints are deprecated).Protobuf type
tensorflow.ApiDef.Endpoint
Modifier and Type | Method and Description |
---|---|
ApiDef.Endpoint.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ApiDef.Endpoint |
build() |
ApiDef.Endpoint |
buildPartial() |
ApiDef.Endpoint.Builder |
clear() |
ApiDef.Endpoint.Builder |
clearDeprecationMessage()
If this endpoint is deprecated, set deprecation_message to a
message that should be logged when the endpoint is used.
|
ApiDef.Endpoint.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
ApiDef.Endpoint.Builder |
clearName()
Name should be either like "CamelCaseName" or
"Package.CamelCaseName".
|
ApiDef.Endpoint.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
ApiDef.Endpoint.Builder |
clone() |
ApiDef.Endpoint |
getDefaultInstanceForType() |
String |
getDeprecationMessage()
If this endpoint is deprecated, set deprecation_message to a
message that should be logged when the endpoint is used.
|
com.github.os72.protobuf351.ByteString |
getDeprecationMessageBytes()
If this endpoint is deprecated, set deprecation_message to a
message that should be logged when the endpoint is used.
|
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name should be either like "CamelCaseName" or
"Package.CamelCaseName".
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
Name should be either like "CamelCaseName" or
"Package.CamelCaseName".
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ApiDef.Endpoint.Builder |
mergeFrom(ApiDef.Endpoint other) |
ApiDef.Endpoint.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
ApiDef.Endpoint.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
ApiDef.Endpoint.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
ApiDef.Endpoint.Builder |
setDeprecationMessage(String value)
If this endpoint is deprecated, set deprecation_message to a
message that should be logged when the endpoint is used.
|
ApiDef.Endpoint.Builder |
setDeprecationMessageBytes(com.github.os72.protobuf351.ByteString value)
If this endpoint is deprecated, set deprecation_message to a
message that should be logged when the endpoint is used.
|
ApiDef.Endpoint.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ApiDef.Endpoint.Builder |
setName(String value)
Name should be either like "CamelCaseName" or
"Package.CamelCaseName".
|
ApiDef.Endpoint.Builder |
setNameBytes(com.github.os72.protobuf351.ByteString value)
Name should be either like "CamelCaseName" or
"Package.CamelCaseName".
|
ApiDef.Endpoint.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
ApiDef.Endpoint.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public ApiDef.Endpoint.Builder clear()
clear
in interface com.github.os72.protobuf351.Message.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.github.os72.protobuf351.Message.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public ApiDef.Endpoint getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public ApiDef.Endpoint build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public ApiDef.Endpoint buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public ApiDef.Endpoint.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public ApiDef.Endpoint.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.github.os72.protobuf351.Message.Builder
setField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public ApiDef.Endpoint.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField
in interface com.github.os72.protobuf351.Message.Builder
clearField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public ApiDef.Endpoint.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.github.os72.protobuf351.Message.Builder
clearOneof
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public ApiDef.Endpoint.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
setRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public ApiDef.Endpoint.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
addRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public ApiDef.Endpoint.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<ApiDef.Endpoint.Builder>
public ApiDef.Endpoint.Builder mergeFrom(ApiDef.Endpoint other)
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public ApiDef.Endpoint.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<ApiDef.Endpoint.Builder>
IOException
public String getName()
Name should be either like "CamelCaseName" or "Package.CamelCaseName". Client-language-specific ApiDefs may use a snake_case convention instead of CamelCase.
string name = 1;
getName
in interface ApiDef.EndpointOrBuilder
public com.github.os72.protobuf351.ByteString getNameBytes()
Name should be either like "CamelCaseName" or "Package.CamelCaseName". Client-language-specific ApiDefs may use a snake_case convention instead of CamelCase.
string name = 1;
getNameBytes
in interface ApiDef.EndpointOrBuilder
public ApiDef.Endpoint.Builder setName(String value)
Name should be either like "CamelCaseName" or "Package.CamelCaseName". Client-language-specific ApiDefs may use a snake_case convention instead of CamelCase.
string name = 1;
public ApiDef.Endpoint.Builder clearName()
Name should be either like "CamelCaseName" or "Package.CamelCaseName". Client-language-specific ApiDefs may use a snake_case convention instead of CamelCase.
string name = 1;
public ApiDef.Endpoint.Builder setNameBytes(com.github.os72.protobuf351.ByteString value)
Name should be either like "CamelCaseName" or "Package.CamelCaseName". Client-language-specific ApiDefs may use a snake_case convention instead of CamelCase.
string name = 1;
public String getDeprecationMessage()
If this endpoint is deprecated, set deprecation_message to a message that should be logged when the endpoint is used. The message should indicate alternative endpoint to use, if any.
string deprecation_message = 2;
getDeprecationMessage
in interface ApiDef.EndpointOrBuilder
public com.github.os72.protobuf351.ByteString getDeprecationMessageBytes()
If this endpoint is deprecated, set deprecation_message to a message that should be logged when the endpoint is used. The message should indicate alternative endpoint to use, if any.
string deprecation_message = 2;
getDeprecationMessageBytes
in interface ApiDef.EndpointOrBuilder
public ApiDef.Endpoint.Builder setDeprecationMessage(String value)
If this endpoint is deprecated, set deprecation_message to a message that should be logged when the endpoint is used. The message should indicate alternative endpoint to use, if any.
string deprecation_message = 2;
public ApiDef.Endpoint.Builder clearDeprecationMessage()
If this endpoint is deprecated, set deprecation_message to a message that should be logged when the endpoint is used. The message should indicate alternative endpoint to use, if any.
string deprecation_message = 2;
public ApiDef.Endpoint.Builder setDeprecationMessageBytes(com.github.os72.protobuf351.ByteString value)
If this endpoint is deprecated, set deprecation_message to a message that should be logged when the endpoint is used. The message should indicate alternative endpoint to use, if any.
string deprecation_message = 2;
public final ApiDef.Endpoint.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
setUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
public final ApiDef.Endpoint.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ApiDef.Endpoint.Builder>
Copyright © 2018. All rights reserved.