Class BrandSuggestion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
- com.google.ads.googleads.v15.services.BrandSuggestion.Builder
-
- All Implemented Interfaces:
BrandSuggestionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BrandSuggestion
public static final class BrandSuggestion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder> implements BrandSuggestionOrBuilder
Information of brand suggestion.
Protobuf typegoogle.ads.googleads.v15.services.BrandSuggestion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BrandSuggestion.BuilderaddAllUrls(java.lang.Iterable<java.lang.String> values)Urls which uniquely identify the brand.BrandSuggestion.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BrandSuggestion.BuilderaddUrls(java.lang.String value)Urls which uniquely identify the brand.BrandSuggestion.BuilderaddUrlsBytes(com.google.protobuf.ByteString value)Urls which uniquely identify the brand.BrandSuggestionbuild()BrandSuggestionbuildPartial()BrandSuggestion.Builderclear()BrandSuggestion.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BrandSuggestion.BuilderclearId()Id for the brand.BrandSuggestion.BuilderclearName()Name of the brand.BrandSuggestion.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BrandSuggestion.BuilderclearState()Current state of the brand.BrandSuggestion.BuilderclearUrls()Urls which uniquely identify the brand.BrandSuggestion.Builderclone()BrandSuggestiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetId()Id for the brand.com.google.protobuf.ByteStringgetIdBytes()Id for the brand.java.lang.StringgetName()Name of the brand.com.google.protobuf.ByteStringgetNameBytes()Name of the brand.BrandStateEnum.BrandStategetState()Current state of the brand.intgetStateValue()Current state of the brand.java.lang.StringgetUrls(int index)Urls which uniquely identify the brand.com.google.protobuf.ByteStringgetUrlsBytes(int index)Urls which uniquely identify the brand.intgetUrlsCount()Urls which uniquely identify the brand.com.google.protobuf.ProtocolStringListgetUrlsList()Urls which uniquely identify the brand.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BrandSuggestion.BuildermergeFrom(BrandSuggestion other)BrandSuggestion.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BrandSuggestion.BuildermergeFrom(com.google.protobuf.Message other)BrandSuggestion.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BrandSuggestion.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BrandSuggestion.BuildersetId(java.lang.String value)Id for the brand.BrandSuggestion.BuildersetIdBytes(com.google.protobuf.ByteString value)Id for the brand.BrandSuggestion.BuildersetName(java.lang.String value)Name of the brand.BrandSuggestion.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the brand.BrandSuggestion.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BrandSuggestion.BuildersetState(BrandStateEnum.BrandState value)Current state of the brand.BrandSuggestion.BuildersetStateValue(int value)Current state of the brand.BrandSuggestion.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BrandSuggestion.BuildersetUrls(int index, java.lang.String value)Urls which uniquely identify the brand.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
clear
public BrandSuggestion.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
getDefaultInstanceForType
public BrandSuggestion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BrandSuggestion build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BrandSuggestion buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BrandSuggestion.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
setField
public BrandSuggestion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
clearField
public BrandSuggestion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
clearOneof
public BrandSuggestion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
setRepeatedField
public BrandSuggestion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
addRepeatedField
public BrandSuggestion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
mergeFrom
public BrandSuggestion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BrandSuggestion.Builder>
-
mergeFrom
public BrandSuggestion.Builder mergeFrom(BrandSuggestion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
mergeFrom
public BrandSuggestion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BrandSuggestion.Builder>- Throws:
java.io.IOException
-
getId
public java.lang.String getId()
Id for the brand. It would be CKG MID for verified/global scoped brands.
string id = 1;- Specified by:
getIdin interfaceBrandSuggestionOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Id for the brand. It would be CKG MID for verified/global scoped brands.
string id = 1;- Specified by:
getIdBytesin interfaceBrandSuggestionOrBuilder- Returns:
- The bytes for id.
-
setId
public BrandSuggestion.Builder setId(java.lang.String value)
Id for the brand. It would be CKG MID for verified/global scoped brands.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public BrandSuggestion.Builder clearId()
Id for the brand. It would be CKG MID for verified/global scoped brands.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public BrandSuggestion.Builder setIdBytes(com.google.protobuf.ByteString value)
Id for the brand. It would be CKG MID for verified/global scoped brands.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getName
public java.lang.String getName()
Name of the brand.
string name = 2;- Specified by:
getNamein interfaceBrandSuggestionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the brand.
string name = 2;- Specified by:
getNameBytesin interfaceBrandSuggestionOrBuilder- Returns:
- The bytes for name.
-
setName
public BrandSuggestion.Builder setName(java.lang.String value)
Name of the brand.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public BrandSuggestion.Builder clearName()
Name of the brand.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public BrandSuggestion.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the brand.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUrlsList
public com.google.protobuf.ProtocolStringList getUrlsList()
Urls which uniquely identify the brand.
repeated string urls = 3;- Specified by:
getUrlsListin interfaceBrandSuggestionOrBuilder- Returns:
- A list containing the urls.
-
getUrlsCount
public int getUrlsCount()
Urls which uniquely identify the brand.
repeated string urls = 3;- Specified by:
getUrlsCountin interfaceBrandSuggestionOrBuilder- Returns:
- The count of urls.
-
getUrls
public java.lang.String getUrls(int index)
Urls which uniquely identify the brand.
repeated string urls = 3;- Specified by:
getUrlsin interfaceBrandSuggestionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The urls at the given index.
-
getUrlsBytes
public com.google.protobuf.ByteString getUrlsBytes(int index)
Urls which uniquely identify the brand.
repeated string urls = 3;- Specified by:
getUrlsBytesin interfaceBrandSuggestionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the urls at the given index.
-
setUrls
public BrandSuggestion.Builder setUrls(int index, java.lang.String value)
Urls which uniquely identify the brand.
repeated string urls = 3;- Parameters:
index- The index to set the value at.value- The urls to set.- Returns:
- This builder for chaining.
-
addUrls
public BrandSuggestion.Builder addUrls(java.lang.String value)
Urls which uniquely identify the brand.
repeated string urls = 3;- Parameters:
value- The urls to add.- Returns:
- This builder for chaining.
-
addAllUrls
public BrandSuggestion.Builder addAllUrls(java.lang.Iterable<java.lang.String> values)
Urls which uniquely identify the brand.
repeated string urls = 3;- Parameters:
values- The urls to add.- Returns:
- This builder for chaining.
-
clearUrls
public BrandSuggestion.Builder clearUrls()
Urls which uniquely identify the brand.
repeated string urls = 3;- Returns:
- This builder for chaining.
-
addUrlsBytes
public BrandSuggestion.Builder addUrlsBytes(com.google.protobuf.ByteString value)
Urls which uniquely identify the brand.
repeated string urls = 3;- Parameters:
value- The bytes of the urls to add.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Current state of the brand.
.google.ads.googleads.v15.enums.BrandStateEnum.BrandState state = 4;- Specified by:
getStateValuein interfaceBrandSuggestionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public BrandSuggestion.Builder setStateValue(int value)
Current state of the brand.
.google.ads.googleads.v15.enums.BrandStateEnum.BrandState state = 4;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public BrandStateEnum.BrandState getState()
Current state of the brand.
.google.ads.googleads.v15.enums.BrandStateEnum.BrandState state = 4;- Specified by:
getStatein interfaceBrandSuggestionOrBuilder- Returns:
- The state.
-
setState
public BrandSuggestion.Builder setState(BrandStateEnum.BrandState value)
Current state of the brand.
.google.ads.googleads.v15.enums.BrandStateEnum.BrandState state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public BrandSuggestion.Builder clearState()
Current state of the brand.
.google.ads.googleads.v15.enums.BrandStateEnum.BrandState state = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final BrandSuggestion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
mergeUnknownFields
public final BrandSuggestion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
-