public static final class PublisherModelConfig.Builder extends GeneratedMessage.Builder<PublisherModelConfig.Builder> implements PublisherModelConfigOrBuilderThis message contains configs of a publisher model.
Protobuf type google.cloud.aiplatform.v1beta1.PublisherModelConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PublisherModelConfig.BuilderImplements
PublisherModelConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PublisherModelConfig build()| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig |
|
buildPartial()
public PublisherModelConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig |
|
clear()
public PublisherModelConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
|
clearDataSharingEnabledProvider()
public PublisherModelConfig.Builder clearDataSharingEnabledProvider()Optional. The model provider (publisher) for which the customer has enabled data sharing. For publisher models that are configured to require data sharing, a prediction request is only allowed when the model's publisher matches this provider. Otherwise, the request is rejected.
.google.cloud.aiplatform.v1beta1.PublisherModelConfig.ModelProvider data_sharing_enabled_provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
This builder for chaining. |
clearLoggingConfig()
public PublisherModelConfig.Builder clearLoggingConfig()The prediction request/response logging config.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig logging_config = 3;
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
|
getDataSharingEnabledProvider()
public PublisherModelConfig.ModelProvider getDataSharingEnabledProvider()Optional. The model provider (publisher) for which the customer has enabled data sharing. For publisher models that are configured to require data sharing, a prediction request is only allowed when the model's publisher matches this provider. Otherwise, the request is rejected.
.google.cloud.aiplatform.v1beta1.PublisherModelConfig.ModelProvider data_sharing_enabled_provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.ModelProvider |
The dataSharingEnabledProvider. |
getDataSharingEnabledProviderValue()
public int getDataSharingEnabledProviderValue()Optional. The model provider (publisher) for which the customer has enabled data sharing. For publisher models that are configured to require data sharing, a prediction request is only allowed when the model's publisher matches this provider. Otherwise, the request is rejected.
.google.cloud.aiplatform.v1beta1.PublisherModelConfig.ModelProvider data_sharing_enabled_provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dataSharingEnabledProvider. |
getDefaultInstanceForType()
public PublisherModelConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLoggingConfig()
public PredictRequestResponseLoggingConfig getLoggingConfig()The prediction request/response logging config.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig logging_config = 3;
| Returns | |
|---|---|
| Type | Description |
PredictRequestResponseLoggingConfig |
The loggingConfig. |
getLoggingConfigBuilder()
public PredictRequestResponseLoggingConfig.Builder getLoggingConfigBuilder()The prediction request/response logging config.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig logging_config = 3;
| Returns | |
|---|---|
| Type | Description |
PredictRequestResponseLoggingConfig.Builder |
|
getLoggingConfigOrBuilder()
public PredictRequestResponseLoggingConfigOrBuilder getLoggingConfigOrBuilder()The prediction request/response logging config.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig logging_config = 3;
| Returns | |
|---|---|
| Type | Description |
PredictRequestResponseLoggingConfigOrBuilder |
|
hasLoggingConfig()
public boolean hasLoggingConfig()The prediction request/response logging config.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig logging_config = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the loggingConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PublisherModelConfig other)
public PublisherModelConfig.Builder mergeFrom(PublisherModelConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
PublisherModelConfig |
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PublisherModelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PublisherModelConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
|
mergeLoggingConfig(PredictRequestResponseLoggingConfig value)
public PublisherModelConfig.Builder mergeLoggingConfig(PredictRequestResponseLoggingConfig value)The prediction request/response logging config.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig logging_config = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
PredictRequestResponseLoggingConfig |
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
|
setDataSharingEnabledProvider(PublisherModelConfig.ModelProvider value)
public PublisherModelConfig.Builder setDataSharingEnabledProvider(PublisherModelConfig.ModelProvider value)Optional. The model provider (publisher) for which the customer has enabled data sharing. For publisher models that are configured to require data sharing, a prediction request is only allowed when the model's publisher matches this provider. Otherwise, the request is rejected.
.google.cloud.aiplatform.v1beta1.PublisherModelConfig.ModelProvider data_sharing_enabled_provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
PublisherModelConfig.ModelProviderThe dataSharingEnabledProvider to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
This builder for chaining. |
setDataSharingEnabledProviderValue(int value)
public PublisherModelConfig.Builder setDataSharingEnabledProviderValue(int value)Optional. The model provider (publisher) for which the customer has enabled data sharing. For publisher models that are configured to require data sharing, a prediction request is only allowed when the model's publisher matches this provider. Otherwise, the request is rejected.
.google.cloud.aiplatform.v1beta1.PublisherModelConfig.ModelProvider data_sharing_enabled_provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for dataSharingEnabledProvider to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
This builder for chaining. |
setLoggingConfig(PredictRequestResponseLoggingConfig value)
public PublisherModelConfig.Builder setLoggingConfig(PredictRequestResponseLoggingConfig value)The prediction request/response logging config.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig logging_config = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
PredictRequestResponseLoggingConfig |
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
|
setLoggingConfig(PredictRequestResponseLoggingConfig.Builder builderForValue)
public PublisherModelConfig.Builder setLoggingConfig(PredictRequestResponseLoggingConfig.Builder builderForValue)The prediction request/response logging config.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig logging_config = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PredictRequestResponseLoggingConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
PublisherModelConfig.Builder |
|