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.v18.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,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 type
google.ads.googleads.v18.services.BrandSuggestion-
Method Summary
Modifier and TypeMethodDescriptionaddAllUrls(Iterable<String> values) Urls which uniquely identify the brand.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Urls which uniquely identify the brand.addUrlsBytes(com.google.protobuf.ByteString value) Urls which uniquely identify the brand.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()Id for the brand.Name of the brand.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Current state of the brand.Urls which uniquely identify the brand.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()Id for the brand.com.google.protobuf.ByteStringId for the brand.getName()Name of the brand.com.google.protobuf.ByteStringName of the brand.getState()Current state of the brand.intCurrent state of the brand.getUrls(int index) Urls which uniquely identify the brand.com.google.protobuf.ByteStringgetUrlsBytes(int index) Urls which uniquely identify the brand.intUrls which uniquely identify the brand.com.google.protobuf.ProtocolStringListUrls which uniquely identify the brand.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(BrandSuggestion other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final BrandSuggestion.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Id for the brand.setIdBytes(com.google.protobuf.ByteString value) Id for the brand.Name of the brand.setNameBytes(com.google.protobuf.ByteString value) Name of the brand.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Current state of the brand.setStateValue(int value) Current state of the brand.final BrandSuggestion.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
clearOneof
- 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BrandSuggestion.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BrandSuggestion.Builder>
-
mergeFrom
-
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 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:
IOException
-
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
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
Id for the brand. It would be CKG MID for verified/global scoped brands.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
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
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
Name of the brand.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the brand.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
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
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
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
Urls which uniquely identify the brand.
repeated string urls = 3;- Parameters:
value- The urls to add.- Returns:
- This builder for chaining.
-
addAllUrls
Urls which uniquely identify the brand.
repeated string urls = 3;- Parameters:
values- The urls to add.- Returns:
- This builder for chaining.
-
clearUrls
Urls which uniquely identify the brand.
repeated string urls = 3;- Returns:
- This builder for chaining.
-
addUrlsBytes
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.v18.enums.BrandStateEnum.BrandState state = 4;- Specified by:
getStateValuein interfaceBrandSuggestionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Current state of the brand.
.google.ads.googleads.v18.enums.BrandStateEnum.BrandState state = 4;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Current state of the brand.
.google.ads.googleads.v18.enums.BrandStateEnum.BrandState state = 4;- Specified by:
getStatein interfaceBrandSuggestionOrBuilder- Returns:
- The state.
-
setState
Current state of the brand.
.google.ads.googleads.v18.enums.BrandStateEnum.BrandState state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Current state of the brand.
.google.ads.googleads.v18.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>
-