Class ListSettingsResponse.Builder (1.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.resourcesettings.v1.Setting>
Returns
TypeDescription
ListSettingsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSettingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSetting
Returns
TypeDescription
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
NameDescription
builderForValueSetting.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSetting
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSetting.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Setting.Builder

build()

public ListSettingsResponse build()
Returns
TypeDescription
ListSettingsResponse

buildPartial()

public ListSettingsResponse buildPartial()
Returns
TypeDescription
ListSettingsResponse

clear()

public ListSettingsResponse.Builder clear()
Returns
TypeDescription
ListSettingsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSettingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListSettingsResponse.Builder
Overrides

clearNextPageToken()

public ListSettingsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListSettingsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSettingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListSettingsResponse.Builder

clone()

public ListSettingsResponse.Builder clone()
Returns
TypeDescription
ListSettingsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSettingsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSettingsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.resourcesettings.v1.SettingOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSettingsResponse other)

public ListSettingsResponse.Builder mergeFrom(ListSettingsResponse other)
Parameter
NameDescription
otherListSettingsResponse
Returns
TypeDescription
ListSettingsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSettingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSettingsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSettingsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListSettingsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSettingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListSettingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSettingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSetting
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSetting.Builder
Returns
TypeDescription
ListSettingsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSettingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSettingsResponse.Builder
Overrides