Class ListSettingsRequest.Builder (1.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSettingsRequest.Builder
Overrides

build()

public ListSettingsRequest build()
Returns
TypeDescription
ListSettingsRequest

buildPartial()

public ListSettingsRequest buildPartial()
Returns
TypeDescription
ListSettingsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListSettingsRequest.Builder
Overrides

clearPageSize()

public ListSettingsRequest.Builder clearPageSize()

Unused. The size of the page to be returned.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListSettingsRequest.Builder

This builder for chaining.

clearView()

public ListSettingsRequest.Builder clearView()

The SettingView for this request.

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

Returns
TypeDescription
ListSettingsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Unused. The size of the page to be returned.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

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

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

string page_token = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getView()

public SettingView getView()

The SettingView for this request.

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

Returns
TypeDescription
SettingView

The view.

getViewValue()

public int getViewValue()

The SettingView for this request.

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

Returns
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSettingsRequest other)

public ListSettingsRequest.Builder mergeFrom(ListSettingsRequest other)
Parameter
NameDescription
otherListSettingsRequest
Returns
TypeDescription
ListSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSettingsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueSettingView

The view to set.

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

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

Returns
TypeDescription
ListSettingsRequest.Builder

This builder for chaining.