public static final class Browser.Builder extends GeneratedMessageV3.Builder<Browser.Builder> implements BrowserOrBuilderRepresents a browser, including its version.
Protobuf type google.ads.admanager.v1.Browser
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Browser.BuilderImplements
BrowserOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Browser.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
build()
public Browser build()| Returns | |
|---|---|
| Type | Description |
Browser |
|
buildPartial()
public Browser buildPartial()| Returns | |
|---|---|
| Type | Description |
Browser |
|
clear()
public Browser.Builder clear()| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
clearDisplayName()
public Browser.Builder clearDisplayName()Output only. The display name of the browser, including version info.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Browser.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
clearMajorVersion()
public Browser.Builder clearMajorVersion()Output only. The major version of the browser.
optional string major_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
clearMinorVersion()
public Browser.Builder clearMinorVersion()Output only. The minor version of the browser.
optional string minor_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
clearName()
public Browser.Builder clearName() Identifier. The resource name of the Browser.
Format: networks/{network_code}/browsers/{browser}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Browser.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
clone()
public Browser.Builder clone()| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
getDefaultInstanceForType()
public Browser getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Browser |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. The display name of the browser, including version info.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. The display name of the browser, including version info.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getMajorVersion()
public String getMajorVersion()Output only. The major version of the browser.
optional string major_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The majorVersion. |
getMajorVersionBytes()
public ByteString getMajorVersionBytes()Output only. The major version of the browser.
optional string major_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for majorVersion. |
getMinorVersion()
public String getMinorVersion()Output only. The minor version of the browser.
optional string minor_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The minorVersion. |
getMinorVersionBytes()
public ByteString getMinorVersionBytes()Output only. The minor version of the browser.
optional string minor_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for minorVersion. |
getName()
public String getName() Identifier. The resource name of the Browser.
Format: networks/{network_code}/browsers/{browser}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the Browser.
Format: networks/{network_code}/browsers/{browser}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasDisplayName()
public boolean hasDisplayName()Output only. The display name of the browser, including version info.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasMajorVersion()
public boolean hasMajorVersion()Output only. The major version of the browser.
optional string major_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the majorVersion field is set. |
hasMinorVersion()
public boolean hasMinorVersion()Output only. The minor version of the browser.
optional string minor_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minorVersion field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Browser other)
public Browser.Builder mergeFrom(Browser other)| Parameter | |
|---|---|
| Name | Description |
other |
Browser |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Browser.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Browser.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Browser.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
setDisplayName(String value)
public Browser.Builder setDisplayName(String value)Output only. The display name of the browser, including version info.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Browser.Builder setDisplayNameBytes(ByteString value)Output only. The display name of the browser, including version info.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Browser.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
setMajorVersion(String value)
public Browser.Builder setMajorVersion(String value)Output only. The major version of the browser.
optional string major_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe majorVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
setMajorVersionBytes(ByteString value)
public Browser.Builder setMajorVersionBytes(ByteString value)Output only. The major version of the browser.
optional string major_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for majorVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
setMinorVersion(String value)
public Browser.Builder setMinorVersion(String value)Output only. The minor version of the browser.
optional string minor_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe minorVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
setMinorVersionBytes(ByteString value)
public Browser.Builder setMinorVersionBytes(ByteString value)Output only. The minor version of the browser.
optional string minor_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for minorVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
setName(String value)
public Browser.Builder setName(String value) Identifier. The resource name of the Browser.
Format: networks/{network_code}/browsers/{browser}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Browser.Builder setNameBytes(ByteString value) Identifier. The resource name of the Browser.
Format: networks/{network_code}/browsers/{browser}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Browser.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Browser.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Browser.Builder |
|