public static final class ListOperatingSystemsResponse.Builder extends GeneratedMessageV3.Builder<ListOperatingSystemsResponse.Builder> implements ListOperatingSystemsResponseOrBuilder Response object for ListOperatingSystemsRequest containing matching
OperatingSystem objects.
Protobuf type google.ads.admanager.v1.ListOperatingSystemsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListOperatingSystemsResponse.BuilderImplements
ListOperatingSystemsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllOperatingSystems(Iterable<? extends OperatingSystem> values)
public ListOperatingSystemsResponse.Builder addAllOperatingSystems(Iterable<? extends OperatingSystem> values) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.OperatingSystem> |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
addOperatingSystems(OperatingSystem value)
public ListOperatingSystemsResponse.Builder addOperatingSystems(OperatingSystem value) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
OperatingSystem |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
addOperatingSystems(OperatingSystem.Builder builderForValue)
public ListOperatingSystemsResponse.Builder addOperatingSystems(OperatingSystem.Builder builderForValue) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OperatingSystem.Builder |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
addOperatingSystems(int index, OperatingSystem value)
public ListOperatingSystemsResponse.Builder addOperatingSystems(int index, OperatingSystem value) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OperatingSystem |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
addOperatingSystems(int index, OperatingSystem.Builder builderForValue)
public ListOperatingSystemsResponse.Builder addOperatingSystems(int index, OperatingSystem.Builder builderForValue) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OperatingSystem.Builder |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
addOperatingSystemsBuilder()
public OperatingSystem.Builder addOperatingSystemsBuilder() The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
|
addOperatingSystemsBuilder(int index)
public OperatingSystem.Builder addOperatingSystemsBuilder(int index) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListOperatingSystemsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
build()
public ListOperatingSystemsResponse build()| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse |
|
buildPartial()
public ListOperatingSystemsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse |
|
clear()
public ListOperatingSystemsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ListOperatingSystemsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
clearNextPageToken()
public ListOperatingSystemsResponse.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 |
ListOperatingSystemsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListOperatingSystemsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
clearOperatingSystems()
public ListOperatingSystemsResponse.Builder clearOperatingSystems() The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
clearTotalSize()
public ListOperatingSystemsResponse.Builder clearTotalSize() Total number of OperatingSystem 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 https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
This builder for chaining. |
clone()
public ListOperatingSystemsResponse.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
getDefaultInstanceForType()
public ListOperatingSystemsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getOperatingSystems(int index)
public OperatingSystem getOperatingSystems(int index) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OperatingSystem |
|
getOperatingSystemsBuilder(int index)
public OperatingSystem.Builder getOperatingSystemsBuilder(int index) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
|
getOperatingSystemsBuilderList()
public List<OperatingSystem.Builder> getOperatingSystemsBuilderList() The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getOperatingSystemsCount()
public int getOperatingSystemsCount() The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getOperatingSystemsList()
public List<OperatingSystem> getOperatingSystemsList() The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Returns | |
|---|---|
| Type | Description |
List<OperatingSystem> |
|
getOperatingSystemsOrBuilder(int index)
public OperatingSystemOrBuilder getOperatingSystemsOrBuilder(int index) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OperatingSystemOrBuilder |
|
getOperatingSystemsOrBuilderList()
public List<? extends OperatingSystemOrBuilder> getOperatingSystemsOrBuilderList() The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.OperatingSystemOrBuilder> |
|
getTotalSize()
public int getTotalSize() Total number of OperatingSystem 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 https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The totalSize. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListOperatingSystemsResponse other)
public ListOperatingSystemsResponse.Builder mergeFrom(ListOperatingSystemsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListOperatingSystemsResponse |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListOperatingSystemsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListOperatingSystemsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListOperatingSystemsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
removeOperatingSystems(int index)
public ListOperatingSystemsResponse.Builder removeOperatingSystems(int index) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListOperatingSystemsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
setNextPageToken(String value)
public ListOperatingSystemsResponse.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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListOperatingSystemsResponse.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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
This builder for chaining. |
setOperatingSystems(int index, OperatingSystem value)
public ListOperatingSystemsResponse.Builder setOperatingSystems(int index, OperatingSystem value) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OperatingSystem |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
setOperatingSystems(int index, OperatingSystem.Builder builderForValue)
public ListOperatingSystemsResponse.Builder setOperatingSystems(int index, OperatingSystem.Builder builderForValue) The OperatingSystem objects from the specified network.
repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OperatingSystem.Builder |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListOperatingSystemsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|
setTotalSize(int value)
public ListOperatingSystemsResponse.Builder setTotalSize(int value) Total number of OperatingSystem 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 https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe totalSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListOperatingSystemsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListOperatingSystemsResponse.Builder |
|