Send feedback
Class ListOSImagesResponse.Builder (0.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.40.0 keyboard_arrow_down
public static final class ListOSImagesResponse . Builder extends GeneratedMessageV3 . Builder<ListOSImagesResponse . Builder > implements ListOSImagesResponseOrBuilder
Request for getting all available OS images.
Protobuf type google.cloud.baremetalsolution.v2.ListOSImagesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public ListOSImagesResponse . Builder addAllOsImages ( Iterable <? extends OSImage > values )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
Parameter Name Description values
Iterable <? extends com.google.cloud.baremetalsolution.v2.OSImage >
public ListOSImagesResponse . Builder addOsImages ( OSImage value )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
Parameter Name Description value
OSImage
public ListOSImagesResponse . Builder addOsImages ( OSImage . Builder builderForValue )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
public ListOSImagesResponse . Builder addOsImages ( int index , OSImage value )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
public ListOSImagesResponse . Builder addOsImages ( int index , OSImage . Builder builderForValue )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
public OSImage . Builder addOsImagesBuilder ()
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
public OSImage . Builder addOsImagesBuilder ( int index )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
Parameter Name Description index
int
public ListOSImagesResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public ListOSImagesResponse build ()
public ListOSImagesResponse buildPartial ()
public ListOSImagesResponse . Builder clear ()
Overrides
public ListOSImagesResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNextPageToken()
public ListOSImagesResponse . Builder clearNextPageToken ()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
public ListOSImagesResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public ListOSImagesResponse . Builder clearOsImages ()
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
public ListOSImagesResponse . Builder clone ()
Overrides
public ListOSImagesResponse getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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 Type Description 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 Type Description ByteString
The bytes for nextPageToken.
public OSImage getOsImages ( int index )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
Parameter Name Description index
int
public OSImage . Builder getOsImagesBuilder ( int index )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
Parameter Name Description index
int
public List<OSImage . Builder > getOsImagesBuilderList ()
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
public int getOsImagesCount ()
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
Returns Type Description int
public List<OSImage> getOsImagesList ()
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
public OSImageOrBuilder getOsImagesOrBuilder ( int index )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
Parameter Name Description index
int
public List <? extends OSImageOrBuilder > getOsImagesOrBuilderList ()
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
Returns Type Description List <? extends com.google.cloud.baremetalsolution.v2.OSImageOrBuilder >
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ListOSImagesResponse . Builder mergeFrom ( ListOSImagesResponse other )
public ListOSImagesResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public ListOSImagesResponse . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
public final ListOSImagesResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public ListOSImagesResponse . Builder removeOsImages ( int index )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
Parameter Name Description index
int
public ListOSImagesResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNextPageToken(String value)
public ListOSImagesResponse . Builder setNextPageToken ( String value )
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
Parameter Name Description value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public ListOSImagesResponse . Builder setNextPageTokenBytes ( ByteString value )
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
Parameter Name Description value
ByteString
The bytes for nextPageToken to set.
public ListOSImagesResponse . Builder setOsImages ( int index , OSImage value )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
public ListOSImagesResponse . Builder setOsImages ( int index , OSImage . Builder builderForValue )
The OS images available.
repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;
public ListOSImagesResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final ListOSImagesResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]