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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSettingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public ListSettingsResponse build()
Returns
buildPartial()
public ListSettingsResponse buildPartial()
Returns
clear()
public ListSettingsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSettingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListSettingsResponse.Builder clearNextPageToken()
Unused. A page token used to retrieve the next page.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSettingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ListSettingsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListSettingsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListSettingsResponse other)
public ListSettingsResponse.Builder mergeFrom(ListSettingsResponse other)
Parameter
Returns
public ListSettingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListSettingsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSettingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListSettingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSettingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSettingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides