public final class SchedulePolicy extends GeneratedMessageV3 implements SchedulePolicyOrBuilder
A policy for scheduling replications.
Protobuf type google.events.cloud.vmmigration.v1.SchedulePolicy
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SchedulePolicyImplements
SchedulePolicyOrBuilderStatic Fields
IDLE_DURATION_FIELD_NUMBER
public static final int IDLE_DURATION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SKIP_OS_ADAPTATION_FIELD_NUMBER
public static final int SKIP_OS_ADAPTATION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static SchedulePolicy getDefaultInstance()
Returns | |
---|---|
Type | Description |
SchedulePolicy |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static SchedulePolicy.Builder newBuilder()
Returns | |
---|---|
Type | Description |
SchedulePolicy.Builder |
newBuilder(SchedulePolicy prototype)
public static SchedulePolicy.Builder newBuilder(SchedulePolicy prototype)
Parameter | |
---|---|
Name | Description |
prototype | SchedulePolicy |
Returns | |
---|---|
Type | Description |
SchedulePolicy.Builder |
parseDelimitedFrom(InputStream input)
public static SchedulePolicy parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SchedulePolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static SchedulePolicy parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SchedulePolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SchedulePolicy parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SchedulePolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SchedulePolicy parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SchedulePolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static SchedulePolicy parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SchedulePolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SchedulePolicy parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SchedulePolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SchedulePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SchedulePolicy> parser()
Returns | |
---|---|
Type | Description |
Parser<SchedulePolicy> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public SchedulePolicy getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SchedulePolicy |
getIdleDuration()
public Duration getIdleDuration()
The idle duration between replication stages.
.google.protobuf.Duration idle_duration = 1;
Returns | |
---|---|
Type | Description |
Duration | The idleDuration. |
getIdleDurationOrBuilder()
public DurationOrBuilder getIdleDurationOrBuilder()
The idle duration between replication stages.
.google.protobuf.Duration idle_duration = 1;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getParserForType()
public Parser<SchedulePolicy> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<SchedulePolicy> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSkipOsAdaptation()
public boolean getSkipOsAdaptation()
A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully function on Compute Engine.
bool skip_os_adaptation = 2;
Returns | |
---|---|
Type | Description |
boolean | The skipOsAdaptation. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hasIdleDuration()
public boolean hasIdleDuration()
The idle duration between replication stages.
.google.protobuf.Duration idle_duration = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the idleDuration field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public SchedulePolicy.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
SchedulePolicy.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SchedulePolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
SchedulePolicy.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public SchedulePolicy.Builder toBuilder()
Returns | |
---|---|
Type | Description |
SchedulePolicy.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |