Class ListSettingsRequest.Builder (1.55.0)

public static final class ListSettingsRequest.Builder extends GeneratedMessageV3.Builder<ListSettingsRequest.Builder> implements ListSettingsRequestOrBuilder

The request for ListSettings.

Protobuf type google.cloud.resourcesettings.v1.ListSettingsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListSettingsRequest build()
Returns
Type Description
ListSettingsRequest

buildPartial()

public ListSettingsRequest buildPartial()
Returns
Type Description
ListSettingsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListSettingsRequest.Builder clearPageSize()

Unused. The size of the page to be returned.

int32 page_size = 2;

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.

clearPageToken()

public ListSettingsRequest.Builder clearPageToken()

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

string page_token = 3;

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.

clearParent()

public ListSettingsRequest.Builder clearParent()

Required. The Cloud resource that parents the setting. Must be in one of the following forms:

  • projects/{project_number}
  • projects/{project_id}
  • folders/{folder_id}
  • organizations/{organization_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.

clearView()

public ListSettingsRequest.Builder clearView()

The SettingView for this request.

.google.cloud.resourcesettings.v1.SettingView view = 4;

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListSettingsRequest getDefaultInstanceForType()
Returns
Type Description
ListSettingsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Unused. The size of the page to be returned.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

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

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The Cloud resource that parents the setting. Must be in one of the following forms:

  • projects/{project_number}
  • projects/{project_id}
  • folders/{folder_id}
  • organizations/{organization_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The Cloud resource that parents the setting. Must be in one of the following forms:

  • projects/{project_number}
  • projects/{project_id}
  • folders/{folder_id}
  • organizations/{organization_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getView()

public SettingView getView()

The SettingView for this request.

.google.cloud.resourcesettings.v1.SettingView view = 4;

Returns
Type Description
SettingView

The view.

getViewValue()

public int getViewValue()

The SettingView for this request.

.google.cloud.resourcesettings.v1.SettingView view = 4;

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSettingsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListSettingsRequest.Builder setPageSize(int value)

Unused. The size of the page to be returned.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListSettingsRequest.Builder setPageToken(String value)

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

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListSettingsRequest.Builder setPageTokenBytes(ByteString value)

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

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.

setParent(String value)

public ListSettingsRequest.Builder setParent(String value)

Required. The Cloud resource that parents the setting. Must be in one of the following forms:

  • projects/{project_number}
  • projects/{project_id}
  • folders/{folder_id}
  • organizations/{organization_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListSettingsRequest.Builder setParentBytes(ByteString value)

Required. The Cloud resource that parents the setting. Must be in one of the following forms:

  • projects/{project_number}
  • projects/{project_id}
  • folders/{folder_id}
  • organizations/{organization_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(SettingView value)

public ListSettingsRequest.Builder setView(SettingView value)

The SettingView for this request.

.google.cloud.resourcesettings.v1.SettingView view = 4;

Parameter
Name Description
value SettingView

The view to set.

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.

setViewValue(int value)

public ListSettingsRequest.Builder setViewValue(int value)

The SettingView for this request.

.google.cloud.resourcesettings.v1.SettingView view = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
ListSettingsRequest.Builder

This builder for chaining.