Class ModelMonitoringInput.VertexEndpointLogs.Builder (3.55.0)

public static final class ModelMonitoringInput.VertexEndpointLogs.Builder extends GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringInput.VertexEndpointLogs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringInput.VertexEndpointLogs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringInput.VertexEndpointLogs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringInput.VertexEndpointLogs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringInput.VertexEndpointLogs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ModelMonitoringInput.VertexEndpointLogs.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringInput.VertexEndpointLogs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringInput.VertexEndpointLogs.Builder
Overrides