Class ListCustomFieldsResponse.Builder (0.1.0)

public static final class ListCustomFieldsResponse.Builder extends GeneratedMessageV3.Builder<ListCustomFieldsResponse.Builder> implements ListCustomFieldsResponseOrBuilder

Response object for ListCustomFieldsRequest containing matching CustomField objects.

Protobuf type google.ads.admanager.v1.ListCustomFieldsResponse

Static Methods

getDescriptor()

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

Methods

addAllCustomFields(Iterable<? extends CustomField> values)

public ListCustomFieldsResponse.Builder addAllCustomFields(Iterable<? extends CustomField> values)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.CustomField>
Returns
Type Description
ListCustomFieldsResponse.Builder

addCustomFields(CustomField value)

public ListCustomFieldsResponse.Builder addCustomFields(CustomField value)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameter
Name Description
value CustomField
Returns
Type Description
ListCustomFieldsResponse.Builder

addCustomFields(CustomField.Builder builderForValue)

public ListCustomFieldsResponse.Builder addCustomFields(CustomField.Builder builderForValue)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameter
Name Description
builderForValue CustomField.Builder
Returns
Type Description
ListCustomFieldsResponse.Builder

addCustomFields(int index, CustomField value)

public ListCustomFieldsResponse.Builder addCustomFields(int index, CustomField value)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameters
Name Description
index int
value CustomField
Returns
Type Description
ListCustomFieldsResponse.Builder

addCustomFields(int index, CustomField.Builder builderForValue)

public ListCustomFieldsResponse.Builder addCustomFields(int index, CustomField.Builder builderForValue)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameters
Name Description
index int
builderForValue CustomField.Builder
Returns
Type Description
ListCustomFieldsResponse.Builder

addCustomFieldsBuilder()

public CustomField.Builder addCustomFieldsBuilder()

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Returns
Type Description
CustomField.Builder

addCustomFieldsBuilder(int index)

public CustomField.Builder addCustomFieldsBuilder(int index)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomField.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCustomFieldsResponse build()
Returns
Type Description
ListCustomFieldsResponse

buildPartial()

public ListCustomFieldsResponse buildPartial()
Returns
Type Description
ListCustomFieldsResponse

clear()

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

clearCustomFields()

public ListCustomFieldsResponse.Builder clearCustomFields()

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Returns
Type Description
ListCustomFieldsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListCustomFieldsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListCustomFieldsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalSize()

public ListCustomFieldsResponse.Builder clearTotalSize()

Total number of CustomField objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size will not be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see System Parameters.

int32 total_size = 3;

Returns
Type Description
ListCustomFieldsResponse.Builder

This builder for chaining.

clone()

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

getCustomFields(int index)

public CustomField getCustomFields(int index)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomField

getCustomFieldsBuilder(int index)

public CustomField.Builder getCustomFieldsBuilder(int index)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomField.Builder

getCustomFieldsBuilderList()

public List<CustomField.Builder> getCustomFieldsBuilderList()

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Returns
Type Description
List<Builder>

getCustomFieldsCount()

public int getCustomFieldsCount()

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Returns
Type Description
int

getCustomFieldsList()

public List<CustomField> getCustomFieldsList()

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Returns
Type Description
List<CustomField>

getCustomFieldsOrBuilder(int index)

public CustomFieldOrBuilder getCustomFieldsOrBuilder(int index)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomFieldOrBuilder

getCustomFieldsOrBuilderList()

public List<? extends CustomFieldOrBuilder> getCustomFieldsOrBuilderList()

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.CustomFieldOrBuilder>

getDefaultInstanceForType()

public ListCustomFieldsResponse getDefaultInstanceForType()
Returns
Type Description
ListCustomFieldsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTotalSize()

public int getTotalSize()

Total number of CustomField objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size will not be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see System Parameters.

int32 total_size = 3;

Returns
Type Description
int

The totalSize.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListCustomFieldsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCustomFields(int index)

public ListCustomFieldsResponse.Builder removeCustomFields(int index)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCustomFieldsResponse.Builder

setCustomFields(int index, CustomField value)

public ListCustomFieldsResponse.Builder setCustomFields(int index, CustomField value)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameters
Name Description
index int
value CustomField
Returns
Type Description
ListCustomFieldsResponse.Builder

setCustomFields(int index, CustomField.Builder builderForValue)

public ListCustomFieldsResponse.Builder setCustomFields(int index, CustomField.Builder builderForValue)

The CustomField objects from the specified network.

repeated .google.ads.admanager.v1.CustomField custom_fields = 1;

Parameters
Name Description
index int
builderForValue CustomField.Builder
Returns
Type Description
ListCustomFieldsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCustomFieldsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListCustomFieldsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCustomFieldsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListCustomFieldsResponse.Builder

This builder for chaining.

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

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

setTotalSize(int value)

public ListCustomFieldsResponse.Builder setTotalSize(int value)

Total number of CustomField objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size will not be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see System Parameters.

int32 total_size = 3;

Parameter
Name Description
value int

The totalSize to set.

Returns
Type Description
ListCustomFieldsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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