Package org.mlflow.api.proto
Class Service.UpdateGatewayEndpoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
org.mlflow.api.proto.Service.UpdateGatewayEndpoint.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Service.UpdateGatewayEndpointOrBuilder
- Enclosing class:
- Service.UpdateGatewayEndpoint
public static final class Service.UpdateGatewayEndpoint.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
implements Service.UpdateGatewayEndpointOrBuilder
Protobuf type
mlflow.UpdateGatewayEndpoint-
Method Summary
Modifier and TypeMethodDescriptionaddAllModelConfigs(Iterable<? extends Service.GatewayEndpointModelConfig> values) Optional new list of model configurations (replaces all existing model linkages)addModelConfigs(int index, Service.GatewayEndpointModelConfig value) Optional new list of model configurations (replaces all existing model linkages)addModelConfigs(int index, Service.GatewayEndpointModelConfig.Builder builderForValue) Optional new list of model configurations (replaces all existing model linkages)Optional new list of model configurations (replaces all existing model linkages)addModelConfigs(Service.GatewayEndpointModelConfig.Builder builderForValue) Optional new list of model configurations (replaces all existing model linkages)Optional new list of model configurations (replaces all existing model linkages)addModelConfigsBuilder(int index) Optional new list of model configurations (replaces all existing model linkages)addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()ID of the endpoint to updateOptional experiment ID for tracing.Optional fallback configuration (includes strategy, max_attempts)clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional new list of model configurations (replaces all existing model linkages)Optional new name for the endpointclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional new routing strategy for the endpointUsername of the updaterWhether to enable usage tracking for this endpoint.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorID of the endpoint to updatecom.google.protobuf.ByteStringID of the endpoint to updateOptional experiment ID for tracing.com.google.protobuf.ByteStringOptional experiment ID for tracing.Optional fallback configuration (includes strategy, max_attempts)Optional fallback configuration (includes strategy, max_attempts)Optional fallback configuration (includes strategy, max_attempts)getModelConfigs(int index) Optional new list of model configurations (replaces all existing model linkages)getModelConfigsBuilder(int index) Optional new list of model configurations (replaces all existing model linkages)Optional new list of model configurations (replaces all existing model linkages)intOptional new list of model configurations (replaces all existing model linkages)Optional new list of model configurations (replaces all existing model linkages)getModelConfigsOrBuilder(int index) Optional new list of model configurations (replaces all existing model linkages)List<? extends Service.GatewayEndpointModelConfigOrBuilder>Optional new list of model configurations (replaces all existing model linkages)getName()Optional new name for the endpointcom.google.protobuf.ByteStringOptional new name for the endpointOptional new routing strategy for the endpointUsername of the updatercom.google.protobuf.ByteStringUsername of the updaterbooleanWhether to enable usage tracking for this endpoint.booleanID of the endpoint to updatebooleanOptional experiment ID for tracing.booleanOptional fallback configuration (includes strategy, max_attempts)booleanhasName()Optional new name for the endpointbooleanOptional new routing strategy for the endpointbooleanUsername of the updaterbooleanWhether to enable usage tracking for this endpoint.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanOptional fallback configuration (includes strategy, max_attempts)mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeModelConfigs(int index) Optional new list of model configurations (replaces all existing model linkages)setEndpointId(String value) ID of the endpoint to updatesetEndpointIdBytes(com.google.protobuf.ByteString value) ID of the endpoint to updatesetExperimentId(String value) Optional experiment ID for tracing.setExperimentIdBytes(com.google.protobuf.ByteString value) Optional experiment ID for tracing.Optional fallback configuration (includes strategy, max_attempts)setFallbackConfig(Service.FallbackConfig.Builder builderForValue) Optional fallback configuration (includes strategy, max_attempts)setModelConfigs(int index, Service.GatewayEndpointModelConfig value) Optional new list of model configurations (replaces all existing model linkages)setModelConfigs(int index, Service.GatewayEndpointModelConfig.Builder builderForValue) Optional new list of model configurations (replaces all existing model linkages)Optional new name for the endpointsetNameBytes(com.google.protobuf.ByteString value) Optional new name for the endpointsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Optional new routing strategy for the endpointsetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdatedBy(String value) Username of the updatersetUpdatedByBytes(com.google.protobuf.ByteString value) Username of the updatersetUsageTracking(boolean value) Whether to enable usage tracking for this endpoint.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
setField
public Service.UpdateGatewayEndpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
clearField
public Service.UpdateGatewayEndpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
clearOneof
public Service.UpdateGatewayEndpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
setRepeatedField
public Service.UpdateGatewayEndpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
addRepeatedField
public Service.UpdateGatewayEndpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.UpdateGatewayEndpoint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
mergeFrom
public Service.UpdateGatewayEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.UpdateGatewayEndpoint.Builder>- Throws:
IOException
-
hasEndpointId
public boolean hasEndpointId()ID of the endpoint to update
optional string endpoint_id = 1;- Specified by:
hasEndpointIdin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- Whether the endpointId field is set.
-
getEndpointId
ID of the endpoint to update
optional string endpoint_id = 1;- Specified by:
getEndpointIdin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The endpointId.
-
getEndpointIdBytes
public com.google.protobuf.ByteString getEndpointIdBytes()ID of the endpoint to update
optional string endpoint_id = 1;- Specified by:
getEndpointIdBytesin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The bytes for endpointId.
-
setEndpointId
ID of the endpoint to update
optional string endpoint_id = 1;- Parameters:
value- The endpointId to set.- Returns:
- This builder for chaining.
-
clearEndpointId
ID of the endpoint to update
optional string endpoint_id = 1;- Returns:
- This builder for chaining.
-
setEndpointIdBytes
public Service.UpdateGatewayEndpoint.Builder setEndpointIdBytes(com.google.protobuf.ByteString value) ID of the endpoint to update
optional string endpoint_id = 1;- Parameters:
value- The bytes for endpointId to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Optional new name for the endpoint
optional string name = 2;- Specified by:
hasNamein interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- Whether the name field is set.
-
getName
Optional new name for the endpoint
optional string name = 2;- Specified by:
getNamein interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Optional new name for the endpoint
optional string name = 2;- Specified by:
getNameBytesin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The bytes for name.
-
setName
Optional new name for the endpoint
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Optional new name for the endpoint
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
Optional new name for the endpoint
optional string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasUpdatedBy
public boolean hasUpdatedBy()Username of the updater
optional string updated_by = 3;- Specified by:
hasUpdatedByin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- Whether the updatedBy field is set.
-
getUpdatedBy
Username of the updater
optional string updated_by = 3;- Specified by:
getUpdatedByin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The updatedBy.
-
getUpdatedByBytes
public com.google.protobuf.ByteString getUpdatedByBytes()Username of the updater
optional string updated_by = 3;- Specified by:
getUpdatedByBytesin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The bytes for updatedBy.
-
setUpdatedBy
Username of the updater
optional string updated_by = 3;- Parameters:
value- The updatedBy to set.- Returns:
- This builder for chaining.
-
clearUpdatedBy
Username of the updater
optional string updated_by = 3;- Returns:
- This builder for chaining.
-
setUpdatedByBytes
public Service.UpdateGatewayEndpoint.Builder setUpdatedByBytes(com.google.protobuf.ByteString value) Username of the updater
optional string updated_by = 3;- Parameters:
value- The bytes for updatedBy to set.- Returns:
- This builder for chaining.
-
getModelConfigsList
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4;- Specified by:
getModelConfigsListin interfaceService.UpdateGatewayEndpointOrBuilder
-
getModelConfigsCount
public int getModelConfigsCount()Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4;- Specified by:
getModelConfigsCountin interfaceService.UpdateGatewayEndpointOrBuilder
-
getModelConfigs
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4;- Specified by:
getModelConfigsin interfaceService.UpdateGatewayEndpointOrBuilder
-
setModelConfigs
public Service.UpdateGatewayEndpoint.Builder setModelConfigs(int index, Service.GatewayEndpointModelConfig value) Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
setModelConfigs
public Service.UpdateGatewayEndpoint.Builder setModelConfigs(int index, Service.GatewayEndpointModelConfig.Builder builderForValue) Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
addModelConfigs
public Service.UpdateGatewayEndpoint.Builder addModelConfigs(Service.GatewayEndpointModelConfig value) Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
addModelConfigs
public Service.UpdateGatewayEndpoint.Builder addModelConfigs(int index, Service.GatewayEndpointModelConfig value) Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
addModelConfigs
public Service.UpdateGatewayEndpoint.Builder addModelConfigs(Service.GatewayEndpointModelConfig.Builder builderForValue) Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
addModelConfigs
public Service.UpdateGatewayEndpoint.Builder addModelConfigs(int index, Service.GatewayEndpointModelConfig.Builder builderForValue) Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
addAllModelConfigs
public Service.UpdateGatewayEndpoint.Builder addAllModelConfigs(Iterable<? extends Service.GatewayEndpointModelConfig> values) Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
clearModelConfigs
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
removeModelConfigs
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
getModelConfigsBuilder
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
getModelConfigsOrBuilder
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4;- Specified by:
getModelConfigsOrBuilderin interfaceService.UpdateGatewayEndpointOrBuilder
-
getModelConfigsOrBuilderList
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4;- Specified by:
getModelConfigsOrBuilderListin interfaceService.UpdateGatewayEndpointOrBuilder
-
addModelConfigsBuilder
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
addModelConfigsBuilder
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
getModelConfigsBuilderList
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
hasRoutingStrategy
public boolean hasRoutingStrategy()Optional new routing strategy for the endpoint
optional .mlflow.RoutingStrategy routing_strategy = 5;- Specified by:
hasRoutingStrategyin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- Whether the routingStrategy field is set.
-
getRoutingStrategy
Optional new routing strategy for the endpoint
optional .mlflow.RoutingStrategy routing_strategy = 5;- Specified by:
getRoutingStrategyin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The routingStrategy.
-
setRoutingStrategy
Optional new routing strategy for the endpoint
optional .mlflow.RoutingStrategy routing_strategy = 5;- Parameters:
value- The routingStrategy to set.- Returns:
- This builder for chaining.
-
clearRoutingStrategy
Optional new routing strategy for the endpoint
optional .mlflow.RoutingStrategy routing_strategy = 5;- Returns:
- This builder for chaining.
-
hasFallbackConfig
public boolean hasFallbackConfig()Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6;- Specified by:
hasFallbackConfigin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- Whether the fallbackConfig field is set.
-
getFallbackConfig
Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6;- Specified by:
getFallbackConfigin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The fallbackConfig.
-
setFallbackConfig
Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6; -
setFallbackConfig
public Service.UpdateGatewayEndpoint.Builder setFallbackConfig(Service.FallbackConfig.Builder builderForValue) Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6; -
mergeFallbackConfig
Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6; -
clearFallbackConfig
Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6; -
getFallbackConfigBuilder
Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6; -
getFallbackConfigOrBuilder
Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6;- Specified by:
getFallbackConfigOrBuilderin interfaceService.UpdateGatewayEndpointOrBuilder
-
hasExperimentId
public boolean hasExperimentId()Optional experiment ID for tracing. Only used when usage_tracking is true.
optional string experiment_id = 7;- Specified by:
hasExperimentIdin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- Whether the experimentId field is set.
-
getExperimentId
Optional experiment ID for tracing. Only used when usage_tracking is true.
optional string experiment_id = 7;- Specified by:
getExperimentIdin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()Optional experiment ID for tracing. Only used when usage_tracking is true.
optional string experiment_id = 7;- Specified by:
getExperimentIdBytesin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The bytes for experimentId.
-
setExperimentId
Optional experiment ID for tracing. Only used when usage_tracking is true.
optional string experiment_id = 7;- Parameters:
value- The experimentId to set.- Returns:
- This builder for chaining.
-
clearExperimentId
Optional experiment ID for tracing. Only used when usage_tracking is true.
optional string experiment_id = 7;- Returns:
- This builder for chaining.
-
setExperimentIdBytes
public Service.UpdateGatewayEndpoint.Builder setExperimentIdBytes(com.google.protobuf.ByteString value) Optional experiment ID for tracing. Only used when usage_tracking is true.
optional string experiment_id = 7;- Parameters:
value- The bytes for experimentId to set.- Returns:
- This builder for chaining.
-
hasUsageTracking
public boolean hasUsageTracking()Whether to enable usage tracking for this endpoint. When set to true, traces will be logged for endpoint invocations. When set to false, usage tracking is disabled and experiment_id is cleared.
optional bool usage_tracking = 8;- Specified by:
hasUsageTrackingin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- Whether the usageTracking field is set.
-
getUsageTracking
public boolean getUsageTracking()Whether to enable usage tracking for this endpoint. When set to true, traces will be logged for endpoint invocations. When set to false, usage tracking is disabled and experiment_id is cleared.
optional bool usage_tracking = 8;- Specified by:
getUsageTrackingin interfaceService.UpdateGatewayEndpointOrBuilder- Returns:
- The usageTracking.
-
setUsageTracking
Whether to enable usage tracking for this endpoint. When set to true, traces will be logged for endpoint invocations. When set to false, usage tracking is disabled and experiment_id is cleared.
optional bool usage_tracking = 8;- Parameters:
value- The usageTracking to set.- Returns:
- This builder for chaining.
-
clearUsageTracking
Whether to enable usage tracking for this endpoint. When set to true, traces will be logged for endpoint invocations. When set to false, usage tracking is disabled and experiment_id is cleared.
optional bool usage_tracking = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.UpdateGatewayEndpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-
mergeUnknownFields
public final Service.UpdateGatewayEndpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewayEndpoint.Builder>
-