Class SnapshotSchedulePolicy (0.1.1)

public final class SnapshotSchedulePolicy extends GeneratedMessageV3 implements SnapshotSchedulePolicyOrBuilder

A snapshot schedule policy.

Protobuf type google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SCHEDULES_FIELD_NUMBER

public static final int SCHEDULES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SnapshotSchedulePolicy getDefaultInstance()
Returns
Type Description
SnapshotSchedulePolicy

getDescriptor()

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

newBuilder()

public static SnapshotSchedulePolicy.Builder newBuilder()
Returns
Type Description
SnapshotSchedulePolicy.Builder

newBuilder(SnapshotSchedulePolicy prototype)

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

parseDelimitedFrom(InputStream input)

public static SnapshotSchedulePolicy parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SnapshotSchedulePolicy
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SnapshotSchedulePolicy parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SnapshotSchedulePolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SnapshotSchedulePolicy parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SnapshotSchedulePolicy
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SnapshotSchedulePolicy parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SnapshotSchedulePolicy
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SnapshotSchedulePolicy parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SnapshotSchedulePolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SnapshotSchedulePolicy> parser()
Returns
Type Description
Parser<SnapshotSchedulePolicy>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SnapshotSchedulePolicy getDefaultInstanceForType()
Returns
Type Description
SnapshotSchedulePolicy

getDescription()

public String getDescription()

The description of the snapshot schedule policy.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the snapshot schedule policy.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getName()

public String getName()

Output only. The name of the snapshot schedule policy.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the snapshot schedule policy.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<SnapshotSchedulePolicy> getParserForType()
Returns
Type Description
Parser<SnapshotSchedulePolicy>
Overrides

getSchedules(int index)

public SnapshotSchedulePolicy.Schedule getSchedules(int index)

The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy.Schedule schedules = 3;

Parameter
Name Description
index int
Returns
Type Description
SnapshotSchedulePolicy.Schedule

getSchedulesCount()

public int getSchedulesCount()

The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy.Schedule schedules = 3;

Returns
Type Description
int

getSchedulesList()

public List<SnapshotSchedulePolicy.Schedule> getSchedulesList()

The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy.Schedule schedules = 3;

Returns
Type Description
List<Schedule>

getSchedulesOrBuilder(int index)

public SnapshotSchedulePolicy.ScheduleOrBuilder getSchedulesOrBuilder(int index)

The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy.Schedule schedules = 3;

Parameter
Name Description
index int
Returns
Type Description
SnapshotSchedulePolicy.ScheduleOrBuilder

getSchedulesOrBuilderList()

public List<? extends SnapshotSchedulePolicy.ScheduleOrBuilder> getSchedulesOrBuilderList()

The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy.Schedule schedules = 3;

Returns
Type Description
List<? extends com.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy.ScheduleOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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 SnapshotSchedulePolicy.Builder newBuilderForType()
Returns
Type Description
SnapshotSchedulePolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SnapshotSchedulePolicy.Builder toBuilder()
Returns
Type Description
SnapshotSchedulePolicy.Builder

writeTo(CodedOutputStream output)

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