Class ModelMonitoringInput.TimeOffset (3.56.0)

public static final class ModelMonitoringInput.TimeOffset extends GeneratedMessageV3 implements ModelMonitoringInput.TimeOffsetOrBuilder

Time offset setting.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelMonitoringInput.TimeOffset

Static Fields

OFFSET_FIELD_NUMBER

public static final int OFFSET_FIELD_NUMBER
Field Value
Type Description
int

WINDOW_FIELD_NUMBER

public static final int WINDOW_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringInput.TimeOffset getDefaultInstance()
Returns
Type Description
ModelMonitoringInput.TimeOffset

getDescriptor()

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

newBuilder()

public static ModelMonitoringInput.TimeOffset.Builder newBuilder()
Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder

newBuilder(ModelMonitoringInput.TimeOffset prototype)

public static ModelMonitoringInput.TimeOffset.Builder newBuilder(ModelMonitoringInput.TimeOffset prototype)
Parameter
Name Description
prototype ModelMonitoringInput.TimeOffset
Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder

parseDelimitedFrom(InputStream input)

public static ModelMonitoringInput.TimeOffset parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringInput.TimeOffset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ModelMonitoringInput.TimeOffset parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringInput.TimeOffset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelMonitoringInput.TimeOffset parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringInput.TimeOffset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelMonitoringInput.TimeOffset parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringInput.TimeOffset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ModelMonitoringInput.TimeOffset parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringInput.TimeOffset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ModelMonitoringInput.TimeOffset parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringInput.TimeOffset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringInput.TimeOffset
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ModelMonitoringInput.TimeOffset> parser()
Returns
Type Description
Parser<TimeOffset>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<ModelMonitoringInput.TimeOffset> getParserForType()
Returns
Type Description
Parser<TimeOffset>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ModelMonitoringInput.TimeOffset.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringInput.TimeOffset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ModelMonitoringInput.TimeOffset.Builder toBuilder()
Returns
Type Description
ModelMonitoringInput.TimeOffset.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException