Class ListSettingsResponse.Builder (1.44.0)

public static final class ListSettingsResponse.Builder extends GeneratedMessageV3.Builder<ListSettingsResponse.Builder> implements ListSettingsResponseOrBuilder

The response from ListSettings.

Protobuf type google.cloud.resourcesettings.v1.ListSettingsResponse

Static Methods

getDescriptor()

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

Methods

addAllSettings(Iterable<? extends Setting> values)

public ListSettingsResponse.Builder addAllSettings(Iterable<? extends Setting> values)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.resourcesettings.v1.Setting>
Returns
Type Description
ListSettingsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSettingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSettingsResponse.Builder
Overrides

addSettings(Setting value)

public ListSettingsResponse.Builder addSettings(Setting value)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameter
Name Description
value Setting
Returns
Type Description
ListSettingsResponse.Builder

addSettings(Setting.Builder builderForValue)

public ListSettingsResponse.Builder addSettings(Setting.Builder builderForValue)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameter
Name Description
builderForValue Setting.Builder
Returns
Type Description
ListSettingsResponse.Builder

addSettings(int index, Setting value)

public ListSettingsResponse.Builder addSettings(int index, Setting value)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameters
Name Description
index int
value Setting
Returns
Type Description
ListSettingsResponse.Builder

addSettings(int index, Setting.Builder builderForValue)

public ListSettingsResponse.Builder addSettings(int index, Setting.Builder builderForValue)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameters
Name Description
index int
builderForValue Setting.Builder
Returns
Type Description
ListSettingsResponse.Builder

addSettingsBuilder()

public Setting.Builder addSettingsBuilder()

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Returns
Type Description
Setting.Builder

addSettingsBuilder(int index)

public Setting.Builder addSettingsBuilder(int index)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameter
Name Description
index int
Returns
Type Description
Setting.Builder

build()

public ListSettingsResponse build()
Returns
Type Description
ListSettingsResponse

buildPartial()

public ListSettingsResponse buildPartial()
Returns
Type Description
ListSettingsResponse

clear()

public ListSettingsResponse.Builder clear()
Returns
Type Description
ListSettingsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSettingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListSettingsResponse.Builder
Overrides

clearNextPageToken()

public ListSettingsResponse.Builder clearNextPageToken()

Unused. A page token used to retrieve the next page.

string next_page_token = 2;

Returns
Type Description
ListSettingsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSettingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListSettingsResponse.Builder
Overrides

clearSettings()

public ListSettingsResponse.Builder clearSettings()

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Returns
Type Description
ListSettingsResponse.Builder

clone()

public ListSettingsResponse.Builder clone()
Returns
Type Description
ListSettingsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSettingsResponse getDefaultInstanceForType()
Returns
Type Description
ListSettingsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Unused. A page token used to retrieve the next page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Unused. A page token used to retrieve the next page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSettings(int index)

public Setting getSettings(int index)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameter
Name Description
index int
Returns
Type Description
Setting

getSettingsBuilder(int index)

public Setting.Builder getSettingsBuilder(int index)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameter
Name Description
index int
Returns
Type Description
Setting.Builder

getSettingsBuilderList()

public List<Setting.Builder> getSettingsBuilderList()

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Returns
Type Description
List<Builder>

getSettingsCount()

public int getSettingsCount()

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Returns
Type Description
int

getSettingsList()

public List<Setting> getSettingsList()

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Returns
Type Description
List<Setting>

getSettingsOrBuilder(int index)

public SettingOrBuilder getSettingsOrBuilder(int index)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameter
Name Description
index int
Returns
Type Description
SettingOrBuilder

getSettingsOrBuilderList()

public List<? extends SettingOrBuilder> getSettingsOrBuilderList()

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Returns
Type Description
List<? extends com.google.cloud.resourcesettings.v1.SettingOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSettingsResponse other)

public ListSettingsResponse.Builder mergeFrom(ListSettingsResponse other)
Parameter
Name Description
other ListSettingsResponse
Returns
Type Description
ListSettingsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSettingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSettingsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListSettingsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListSettingsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSettingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSettingsResponse.Builder
Overrides

removeSettings(int index)

public ListSettingsResponse.Builder removeSettings(int index)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSettingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSettingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSettingsResponse.Builder
Overrides

setNextPageToken(String value)

public ListSettingsResponse.Builder setNextPageToken(String value)

Unused. A page token used to retrieve the next page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSettingsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSettingsResponse.Builder setNextPageTokenBytes(ByteString value)

Unused. A page token used to retrieve the next page.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSettingsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListSettingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListSettingsResponse.Builder
Overrides

setSettings(int index, Setting value)

public ListSettingsResponse.Builder setSettings(int index, Setting value)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameters
Name Description
index int
value Setting
Returns
Type Description
ListSettingsResponse.Builder

setSettings(int index, Setting.Builder builderForValue)

public ListSettingsResponse.Builder setSettings(int index, Setting.Builder builderForValue)

A list of settings that are available at the specified Cloud resource.

repeated .google.cloud.resourcesettings.v1.Setting settings = 1;

Parameters
Name Description
index int
builderForValue Setting.Builder
Returns
Type Description
ListSettingsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSettingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSettingsResponse.Builder
Overrides