public final class ResourcePolicyInstanceSchedulePolicySchedule extends GeneratedMessageV3 implements ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder
Schedule for an instance operation.
Protobuf type google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule
Static Fields
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ResourcePolicyInstanceSchedulePolicySchedule getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ResourcePolicyInstanceSchedulePolicySchedule.Builder newBuilder()
Returns
newBuilder(ResourcePolicyInstanceSchedulePolicySchedule prototype)
public static ResourcePolicyInstanceSchedulePolicySchedule.Builder newBuilder(ResourcePolicyInstanceSchedulePolicySchedule prototype)
Parameter
Returns
public static ResourcePolicyInstanceSchedulePolicySchedule parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourcePolicyInstanceSchedulePolicySchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ResourcePolicyInstanceSchedulePolicySchedule parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourcePolicyInstanceSchedulePolicySchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ResourcePolicyInstanceSchedulePolicySchedule parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourcePolicyInstanceSchedulePolicySchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourcePolicyInstanceSchedulePolicySchedule parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResourcePolicyInstanceSchedulePolicySchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourcePolicyInstanceSchedulePolicySchedule parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourcePolicyInstanceSchedulePolicySchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ResourcePolicyInstanceSchedulePolicySchedule parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourcePolicyInstanceSchedulePolicySchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ResourcePolicyInstanceSchedulePolicySchedule> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ResourcePolicyInstanceSchedulePolicySchedule getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ResourcePolicyInstanceSchedulePolicySchedule> getParserForType()
Returns
Overrides
getSchedule()
public String getSchedule()
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
Returns
Type | Description |
String | The schedule.
|
getScheduleBytes()
public ByteString getScheduleBytes()
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasSchedule()
public boolean hasSchedule()
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
Returns
Type | Description |
boolean | Whether the schedule field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ResourcePolicyInstanceSchedulePolicySchedule.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourcePolicyInstanceSchedulePolicySchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ResourcePolicyInstanceSchedulePolicySchedule.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions