Class ModelMonitoringInput.TimeOffset.Builder (3.44.0)

public static final class ModelMonitoringInput.TimeOffset.Builder extends GeneratedMessageV3.Builder<ModelMonitoringInput.TimeOffset.Builder> implements ModelMonitoringInput.TimeOffsetOrBuilder

Time offset setting.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOffset()

public ModelMonitoringInput.TimeOffset.Builder clearOffset()

[offset] is the time difference from the cut-off time. For scheduled jobs, the cut-off time is the scheduled time. For non-scheduled jobs, it's the time when the job was created. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days.

string offset = 1;

Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWindow()

public ModelMonitoringInput.TimeOffset.Builder clearWindow()

[window] refers to the scope of data selected for analysis. It allows you to specify the quantity of data you wish to examine. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days.

string window = 2;

Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getOffset()

public String getOffset()

[offset] is the time difference from the cut-off time. For scheduled jobs, the cut-off time is the scheduled time. For non-scheduled jobs, it's the time when the job was created. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days.

string offset = 1;

Returns
Type Description
String

The offset.

getOffsetBytes()

public ByteString getOffsetBytes()

[offset] is the time difference from the cut-off time. For scheduled jobs, the cut-off time is the scheduled time. For non-scheduled jobs, it's the time when the job was created. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days.

string offset = 1;

Returns
Type Description
ByteString

The bytes for offset.

getWindow()

public String getWindow()

[window] refers to the scope of data selected for analysis. It allows you to specify the quantity of data you wish to examine. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days.

string window = 2;

Returns
Type Description
String

The window.

getWindowBytes()

public ByteString getWindowBytes()

[window] refers to the scope of data selected for analysis. It allows you to specify the quantity of data you wish to examine. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days.

string window = 2;

Returns
Type Description
ByteString

The bytes for window.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitoringInput.TimeOffset other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringInput.TimeOffset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setOffset(String value)

public ModelMonitoringInput.TimeOffset.Builder setOffset(String value)

[offset] is the time difference from the cut-off time. For scheduled jobs, the cut-off time is the scheduled time. For non-scheduled jobs, it's the time when the job was created. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days.

string offset = 1;

Parameter
Name Description
value String

The offset to set.

Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder

This builder for chaining.

setOffsetBytes(ByteString value)

public ModelMonitoringInput.TimeOffset.Builder setOffsetBytes(ByteString value)

[offset] is the time difference from the cut-off time. For scheduled jobs, the cut-off time is the scheduled time. For non-scheduled jobs, it's the time when the job was created. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days.

string offset = 1;

Parameter
Name Description
value ByteString

The bytes for offset to set.

Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWindow(String value)

public ModelMonitoringInput.TimeOffset.Builder setWindow(String value)

[window] refers to the scope of data selected for analysis. It allows you to specify the quantity of data you wish to examine. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days.

string window = 2;

Parameter
Name Description
value String

The window to set.

Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder

This builder for chaining.

setWindowBytes(ByteString value)

public ModelMonitoringInput.TimeOffset.Builder setWindowBytes(ByteString value)

[window] refers to the scope of data selected for analysis. It allows you to specify the quantity of data you wish to examine. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days.

string window = 2;

Parameter
Name Description
value ByteString

The bytes for window to set.

Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder

This builder for chaining.