Class ListSnapshotSchedulePoliciesResponse (0.2.1)

public final class ListSnapshotSchedulePoliciesResponse extends GeneratedMessageV3 implements ListSnapshotSchedulePoliciesResponseOrBuilder

Response message containing the list of snapshot schedule policies.

Protobuf type google.cloud.baremetalsolution.v2.ListSnapshotSchedulePoliciesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListSnapshotSchedulePoliciesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SNAPSHOT_SCHEDULE_POLICIES_FIELD_NUMBER

public static final int SNAPSHOT_SCHEDULE_POLICIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSnapshotSchedulePoliciesResponse getDefaultInstance()
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse

getDescriptor()

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

newBuilder()

public static ListSnapshotSchedulePoliciesResponse.Builder newBuilder()
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

newBuilder(ListSnapshotSchedulePoliciesResponse prototype)

public static ListSnapshotSchedulePoliciesResponse.Builder newBuilder(ListSnapshotSchedulePoliciesResponse prototype)
Parameter
NameDescription
prototypeListSnapshotSchedulePoliciesResponse
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSnapshotSchedulePoliciesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ListSnapshotSchedulePoliciesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ListSnapshotSchedulePoliciesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ListSnapshotSchedulePoliciesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ListSnapshotSchedulePoliciesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ListSnapshotSchedulePoliciesResponse> parser()
Returns
TypeDescription
Parser<ListSnapshotSchedulePoliciesResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListSnapshotSchedulePoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSnapshotSchedulePoliciesResponse> getParserForType()
Returns
TypeDescription
Parser<ListSnapshotSchedulePoliciesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnapshotSchedulePolicies(int index)

public SnapshotSchedulePolicy getSnapshotSchedulePolicies(int index)

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SnapshotSchedulePolicy

getSnapshotSchedulePoliciesCount()

public int getSnapshotSchedulePoliciesCount()

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Returns
TypeDescription
int

getSnapshotSchedulePoliciesList()

public List<SnapshotSchedulePolicy> getSnapshotSchedulePoliciesList()

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Returns
TypeDescription
List<SnapshotSchedulePolicy>

getSnapshotSchedulePoliciesOrBuilder(int index)

public SnapshotSchedulePolicyOrBuilder getSnapshotSchedulePoliciesOrBuilder(int index)

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SnapshotSchedulePolicyOrBuilder

getSnapshotSchedulePoliciesOrBuilderList()

public List<? extends SnapshotSchedulePolicyOrBuilder> getSnapshotSchedulePoliciesOrBuilderList()

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Returns
TypeDescription
List<? extends com.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicyOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 ListSnapshotSchedulePoliciesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ListSnapshotSchedulePoliciesResponse.Builder toBuilder()
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

writeTo(CodedOutputStream output)

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