Class ListOSImagesResponse (0.29.0)

public final class ListOSImagesResponse extends GeneratedMessageV3 implements ListOSImagesResponseOrBuilder

Request for getting all available OS images.

Protobuf type google.cloud.baremetalsolution.v2.ListOSImagesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

OS_IMAGES_FIELD_NUMBER

public static final int OS_IMAGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListOSImagesResponse getDefaultInstance()
Returns
TypeDescription
ListOSImagesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListOSImagesResponse prototype)

public static ListOSImagesResponse.Builder newBuilder(ListOSImagesResponse prototype)
Parameter
NameDescription
prototypeListOSImagesResponse
Returns
TypeDescription
ListOSImagesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListOSImagesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOSImagesResponse

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.

getOsImages(int index)

public OSImage getOsImages(int index)

The OS images available.

repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSImage

getOsImagesCount()

public int getOsImagesCount()

The OS images available.

repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;

Returns
TypeDescription
int

getOsImagesList()

public List<OSImage> getOsImagesList()

The OS images available.

repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;

Returns
TypeDescription
List<OSImage>

getOsImagesOrBuilder(int index)

public OSImageOrBuilder getOsImagesOrBuilder(int index)

The OS images available.

repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSImageOrBuilder

getOsImagesOrBuilderList()

public List<? extends OSImageOrBuilder> getOsImagesOrBuilderList()

The OS images available.

repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 ListOSImagesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListOSImagesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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