Class PatchDeployments.OneTimeSchedule (2.5.6)

public static final class PatchDeployments.OneTimeSchedule extends GeneratedMessageV3 implements PatchDeployments.OneTimeScheduleOrBuilder

Sets the time for a one time patch deployment. Timestamp is in RFC3339 text format.

Protobuf type google.cloud.osconfig.v1.OneTimeSchedule

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PatchDeployments.OneTimeSchedule

Static Fields

EXECUTE_TIME_FIELD_NUMBER

public static final int EXECUTE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PatchDeployments.OneTimeSchedule getDefaultInstance()
Returns
TypeDescription
PatchDeployments.OneTimeSchedule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PatchDeployments.OneTimeSchedule.Builder newBuilder()
Returns
TypeDescription
PatchDeployments.OneTimeSchedule.Builder

newBuilder(PatchDeployments.OneTimeSchedule prototype)

public static PatchDeployments.OneTimeSchedule.Builder newBuilder(PatchDeployments.OneTimeSchedule prototype)
Parameter
NameDescription
prototypePatchDeployments.OneTimeSchedule
Returns
TypeDescription
PatchDeployments.OneTimeSchedule.Builder

parseDelimitedFrom(InputStream input)

public static PatchDeployments.OneTimeSchedule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.OneTimeSchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PatchDeployments.OneTimeSchedule parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.OneTimeSchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PatchDeployments.OneTimeSchedule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.OneTimeSchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PatchDeployments.OneTimeSchedule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.OneTimeSchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PatchDeployments.OneTimeSchedule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.OneTimeSchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PatchDeployments.OneTimeSchedule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.OneTimeSchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.OneTimeSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PatchDeployments.OneTimeSchedule> parser()
Returns
TypeDescription
Parser<OneTimeSchedule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PatchDeployments.OneTimeSchedule getDefaultInstanceForType()
Returns
TypeDescription
PatchDeployments.OneTimeSchedule

getExecuteTime()

public Timestamp getExecuteTime()

Required. The desired patch job execution time.

.google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Timestamp

The executeTime.

getExecuteTimeOrBuilder()

public TimestampOrBuilder getExecuteTimeOrBuilder()

Required. The desired patch job execution time.

.google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<PatchDeployments.OneTimeSchedule> getParserForType()
Returns
TypeDescription
Parser<OneTimeSchedule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasExecuteTime()

public boolean hasExecuteTime()

Required. The desired patch job execution time.

.google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the executeTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PatchDeployments.OneTimeSchedule.Builder newBuilderForType()
Returns
TypeDescription
PatchDeployments.OneTimeSchedule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PatchDeployments.OneTimeSchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PatchDeployments.OneTimeSchedule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PatchDeployments.OneTimeSchedule.Builder toBuilder()
Returns
TypeDescription
PatchDeployments.OneTimeSchedule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException