Class ModelMonitoringInput.VertexEndpointLogs.Builder (3.88.0)

public static final class ModelMonitoringInput.VertexEndpointLogs.Builder extends GeneratedMessage.Builder<ModelMonitoringInput.VertexEndpointLogs.Builder> implements ModelMonitoringInput.VertexEndpointLogsOrBuilder

Data from Vertex AI Endpoint request response logging.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringInput.VertexEndpointLogs

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEndpoints(Iterable<String> values)

public ModelMonitoringInput.VertexEndpointLogs.Builder addAllEndpoints(Iterable<String> values)

List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[request_response_logging_config], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[model_monitoring_target].

repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
values Iterable<String>

The endpoints to add.

Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder

This builder for chaining.

addEndpoints(String value)

public ModelMonitoringInput.VertexEndpointLogs.Builder addEndpoints(String value)

List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[request_response_logging_config], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[model_monitoring_target].

repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The endpoints to add.

Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder

This builder for chaining.

addEndpointsBytes(ByteString value)

public ModelMonitoringInput.VertexEndpointLogs.Builder addEndpointsBytes(ByteString value)

List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[request_response_logging_config], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[model_monitoring_target].

repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes of the endpoints to add.

Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder

This builder for chaining.

build()

public ModelMonitoringInput.VertexEndpointLogs build()
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs

buildPartial()

public ModelMonitoringInput.VertexEndpointLogs buildPartial()
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs

clear()

public ModelMonitoringInput.VertexEndpointLogs.Builder clear()
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder
Overrides

clearEndpoints()

public ModelMonitoringInput.VertexEndpointLogs.Builder clearEndpoints()

List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[request_response_logging_config], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[model_monitoring_target].

repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder

This builder for chaining.

getDefaultInstanceForType()

public ModelMonitoringInput.VertexEndpointLogs getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndpoints(int index)

public String getEndpoints(int index)

List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[request_response_logging_config], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[model_monitoring_target].

repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The endpoints at the given index.

getEndpointsBytes(int index)

public ByteString getEndpointsBytes(int index)

List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[request_response_logging_config], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[model_monitoring_target].

repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the endpoints at the given index.

getEndpointsCount()

public int getEndpointsCount()

List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[request_response_logging_config], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[model_monitoring_target].

repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of endpoints.

getEndpointsList()

public ProtocolStringList getEndpointsList()

List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[request_response_logging_config], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[model_monitoring_target].

repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the endpoints.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitoringInput.VertexEndpointLogs other)

public ModelMonitoringInput.VertexEndpointLogs.Builder mergeFrom(ModelMonitoringInput.VertexEndpointLogs other)
Parameter
Name Description
other ModelMonitoringInput.VertexEndpointLogs
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringInput.VertexEndpointLogs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelMonitoringInput.VertexEndpointLogs.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder
Overrides

setEndpoints(int index, String value)

public ModelMonitoringInput.VertexEndpointLogs.Builder setEndpoints(int index, String value)

List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[request_response_logging_config], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[model_monitoring_target].

repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }

Parameters
Name Description
index int

The index to set the value at.

value String

The endpoints to set.

Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder

This builder for chaining.