Class ShareablePreviewOrError.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ShareablePreviewOrError.Builder>
com.google.ads.googleads.v23.services.ShareablePreviewOrError.Builder
- All Implemented Interfaces:
ShareablePreviewOrErrorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ShareablePreviewOrError
public static final class ShareablePreviewOrError.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ShareablePreviewOrError.Builder>
implements ShareablePreviewOrErrorOrBuilder
Result of the generate shareable preview.Protobuf type
google.ads.googleads.v23.services.ShareablePreviewOrError-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The ad group ad of the shareable preview.The asset group of the shareable preview.The shareable preview partial failure error.The shareable preview result.The ad group ad of the shareable preview.com.google.protobuf.ByteStringThe ad group ad of the shareable preview.The asset group of the shareable preview.The asset group of the shareable preview.The asset group of the shareable preview.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.rpc.StatusThe shareable preview partial failure error.com.google.rpc.Status.BuilderThe shareable preview partial failure error.com.google.rpc.StatusOrBuilderThe shareable preview partial failure error.The shareable preview result.The shareable preview result.The shareable preview result.booleanThe ad group ad of the shareable preview.booleanThe asset group of the shareable preview.booleanThe shareable preview partial failure error.booleanThe shareable preview result.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe asset group of the shareable preview.mergeFrom(ShareablePreviewOrError other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePartialFailureError(com.google.rpc.Status value) The shareable preview partial failure error.The shareable preview result.setAdGroupAd(String value) The ad group ad of the shareable preview.setAdGroupAdBytes(com.google.protobuf.ByteString value) The ad group ad of the shareable preview.The asset group of the shareable preview.setAssetGroupIdentifier(AssetGroupIdentifier.Builder builderForValue) The asset group of the shareable preview.setPartialFailureError(com.google.rpc.Status value) The shareable preview partial failure error.setPartialFailureError(com.google.rpc.Status.Builder builderForValue) The shareable preview partial failure error.The shareable preview result.setShareablePreviewResult(ShareablePreviewResult.Builder builderForValue) The shareable preview result.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ShareablePreviewOrError.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ShareablePreviewOrError.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.GeneratedMessage.Builder<ShareablePreviewOrError.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ShareablePreviewOrError.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ShareablePreviewOrError.Builder>
-
mergeFrom
public ShareablePreviewOrError.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<ShareablePreviewOrError.Builder>- Throws:
IOException
-
getIdentifierCase
- Specified by:
getIdentifierCasein interfaceShareablePreviewOrErrorOrBuilder
-
clearIdentifier
-
hasAssetGroupIdentifier
public boolean hasAssetGroupIdentifier()The asset group of the shareable preview.
.google.ads.googleads.v23.services.AssetGroupIdentifier asset_group_identifier = 3;- Specified by:
hasAssetGroupIdentifierin interfaceShareablePreviewOrErrorOrBuilder- Returns:
- Whether the assetGroupIdentifier field is set.
-
getAssetGroupIdentifier
The asset group of the shareable preview.
.google.ads.googleads.v23.services.AssetGroupIdentifier asset_group_identifier = 3;- Specified by:
getAssetGroupIdentifierin interfaceShareablePreviewOrErrorOrBuilder- Returns:
- The assetGroupIdentifier.
-
setAssetGroupIdentifier
The asset group of the shareable preview.
.google.ads.googleads.v23.services.AssetGroupIdentifier asset_group_identifier = 3; -
setAssetGroupIdentifier
public ShareablePreviewOrError.Builder setAssetGroupIdentifier(AssetGroupIdentifier.Builder builderForValue) The asset group of the shareable preview.
.google.ads.googleads.v23.services.AssetGroupIdentifier asset_group_identifier = 3; -
mergeAssetGroupIdentifier
The asset group of the shareable preview.
.google.ads.googleads.v23.services.AssetGroupIdentifier asset_group_identifier = 3; -
clearAssetGroupIdentifier
The asset group of the shareable preview.
.google.ads.googleads.v23.services.AssetGroupIdentifier asset_group_identifier = 3; -
getAssetGroupIdentifierBuilder
The asset group of the shareable preview.
.google.ads.googleads.v23.services.AssetGroupIdentifier asset_group_identifier = 3; -
getAssetGroupIdentifierOrBuilder
The asset group of the shareable preview.
.google.ads.googleads.v23.services.AssetGroupIdentifier asset_group_identifier = 3;- Specified by:
getAssetGroupIdentifierOrBuilderin interfaceShareablePreviewOrErrorOrBuilder
-
hasPartialFailureError
public boolean hasPartialFailureError()The shareable preview partial failure error.
.google.rpc.Status partial_failure_error = 2;- Specified by:
hasPartialFailureErrorin interfaceShareablePreviewOrErrorOrBuilder- Returns:
- Whether the partialFailureError field is set.
-
getPartialFailureError
public com.google.rpc.Status getPartialFailureError()The shareable preview partial failure error.
.google.rpc.Status partial_failure_error = 2;- Specified by:
getPartialFailureErrorin interfaceShareablePreviewOrErrorOrBuilder- Returns:
- The partialFailureError.
-
setPartialFailureError
The shareable preview partial failure error.
.google.rpc.Status partial_failure_error = 2; -
setPartialFailureError
public ShareablePreviewOrError.Builder setPartialFailureError(com.google.rpc.Status.Builder builderForValue) The shareable preview partial failure error.
.google.rpc.Status partial_failure_error = 2; -
mergePartialFailureError
The shareable preview partial failure error.
.google.rpc.Status partial_failure_error = 2; -
clearPartialFailureError
The shareable preview partial failure error.
.google.rpc.Status partial_failure_error = 2; -
getPartialFailureErrorBuilder
public com.google.rpc.Status.Builder getPartialFailureErrorBuilder()The shareable preview partial failure error.
.google.rpc.Status partial_failure_error = 2; -
getPartialFailureErrorOrBuilder
public com.google.rpc.StatusOrBuilder getPartialFailureErrorOrBuilder()The shareable preview partial failure error.
.google.rpc.Status partial_failure_error = 2;- Specified by:
getPartialFailureErrorOrBuilderin interfaceShareablePreviewOrErrorOrBuilder
-
hasAdGroupAd
public boolean hasAdGroupAd()The ad group ad of the shareable preview. Format: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}string ad_group_ad = 4;- Specified by:
hasAdGroupAdin interfaceShareablePreviewOrErrorOrBuilder- Returns:
- Whether the adGroupAd field is set.
-
getAdGroupAd
The ad group ad of the shareable preview. Format: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}string ad_group_ad = 4;- Specified by:
getAdGroupAdin interfaceShareablePreviewOrErrorOrBuilder- Returns:
- The adGroupAd.
-
getAdGroupAdBytes
public com.google.protobuf.ByteString getAdGroupAdBytes()The ad group ad of the shareable preview. Format: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}string ad_group_ad = 4;- Specified by:
getAdGroupAdBytesin interfaceShareablePreviewOrErrorOrBuilder- Returns:
- The bytes for adGroupAd.
-
setAdGroupAd
The ad group ad of the shareable preview. Format: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}string ad_group_ad = 4;- Parameters:
value- The adGroupAd to set.- Returns:
- This builder for chaining.
-
clearAdGroupAd
The ad group ad of the shareable preview. Format: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}string ad_group_ad = 4;- Returns:
- This builder for chaining.
-
setAdGroupAdBytes
The ad group ad of the shareable preview. Format: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}string ad_group_ad = 4;- Parameters:
value- The bytes for adGroupAd to set.- Returns:
- This builder for chaining.
-