Class URLFetchServicePb.URLFetchResponse.Builder (2.0.0)

public static final class URLFetchServicePb.URLFetchResponse.Builder extends GeneratedMessageV3.Builder<URLFetchServicePb.URLFetchResponse.Builder> implements URLFetchServicePb.URLFetchResponseOrBuilder

Inheritance

Object > com.google.protobuf.AbstractMessageLite.Builder > com.google.protobuf.AbstractMessage.Builder > com.google.protobuf.GeneratedMessageV3.Builder > URLFetchServicePb.URLFetchResponse.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
com.google.protobuf.Descriptors.Descriptor

Methods

addAllHeader(Iterable<? extends URLFetchServicePb.URLFetchResponse.Header> arg0)

public URLFetchServicePb.URLFetchResponse.Builder addAllHeader(Iterable<? extends URLFetchServicePb.URLFetchResponse.Header> arg0)
Parameter
Name Description
arg0 Iterable<? extends com.google.appengine.api.urlfetch.URLFetchServicePb.URLFetchResponse.Header>
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

addHeader(URLFetchServicePb.URLFetchResponse.Header arg0)

public URLFetchServicePb.URLFetchResponse.Builder addHeader(URLFetchServicePb.URLFetchResponse.Header arg0)
Parameter
Name Description
arg0 Header
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

addHeader(URLFetchServicePb.URLFetchResponse.Header.Builder arg0)

public URLFetchServicePb.URLFetchResponse.Builder addHeader(URLFetchServicePb.URLFetchResponse.Header.Builder arg0)
Parameter
Name Description
arg0 Builder
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

addHeader(int arg0, URLFetchServicePb.URLFetchResponse.Header arg1)

public URLFetchServicePb.URLFetchResponse.Builder addHeader(int arg0, URLFetchServicePb.URLFetchResponse.Header arg1)
Parameters
Name Description
arg0 int
arg1 Header
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

addHeader(int arg0, URLFetchServicePb.URLFetchResponse.Header.Builder arg1)

public URLFetchServicePb.URLFetchResponse.Builder addHeader(int arg0, URLFetchServicePb.URLFetchResponse.Header.Builder arg1)
Parameters
Name Description
arg0 int
arg1 Builder
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

addHeaderBuilder()

public URLFetchServicePb.URLFetchResponse.Header.Builder addHeaderBuilder()
Returns
Type Description
Builder

addHeaderBuilder(int arg0)

public URLFetchServicePb.URLFetchResponse.Header.Builder addHeaderBuilder(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Builder

addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)

public URLFetchServicePb.URLFetchResponse.Builder addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
Name Description
arg0 com.google.protobuf.Descriptors.FieldDescriptor
arg1 Object
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

build()

public URLFetchServicePb.URLFetchResponse build()
Returns
Type Description
URLFetchResponse

buildPartial()

public URLFetchServicePb.URLFetchResponse buildPartial()
Returns
Type Description
URLFetchResponse

clear()

public URLFetchServicePb.URLFetchResponse.Builder clear()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clear()

clearApiBytesReceived()

public URLFetchServicePb.URLFetchResponse.Builder clearApiBytesReceived()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

clearApiBytesSent()

public URLFetchServicePb.URLFetchResponse.Builder clearApiBytesSent()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

clearApiCpuMilliseconds()

public URLFetchServicePb.URLFetchResponse.Builder clearApiCpuMilliseconds()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

clearContent()

public URLFetchServicePb.URLFetchResponse.Builder clearContent()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

clearContentWasTruncated()

public URLFetchServicePb.URLFetchResponse.Builder clearContentWasTruncated()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

clearExternalBytesReceived()

public URLFetchServicePb.URLFetchResponse.Builder clearExternalBytesReceived()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

clearExternalBytesSent()

public URLFetchServicePb.URLFetchResponse.Builder clearExternalBytesSent()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

clearField(Descriptors.FieldDescriptor arg0)

public URLFetchServicePb.URLFetchResponse.Builder clearField(Descriptors.FieldDescriptor arg0)
Parameter
Name Description
arg0 com.google.protobuf.Descriptors.FieldDescriptor
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor)

clearFinalUrl()

public URLFetchServicePb.URLFetchResponse.Builder clearFinalUrl()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

clearHeader()

public URLFetchServicePb.URLFetchResponse.Builder clearHeader()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

clearOneof(Descriptors.OneofDescriptor arg0)

public URLFetchServicePb.URLFetchResponse.Builder clearOneof(Descriptors.OneofDescriptor arg0)
Parameter
Name Description
arg0 com.google.protobuf.Descriptors.OneofDescriptor
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)

clearStatusCode()

public URLFetchServicePb.URLFetchResponse.Builder clearStatusCode()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

clone()

public URLFetchServicePb.URLFetchResponse.Builder clone()
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clone()

getApiBytesReceived()

public long getApiBytesReceived()
Returns
Type Description
long

getApiBytesSent()

public long getApiBytesSent()
Returns
Type Description
long

getApiCpuMilliseconds()

public long getApiCpuMilliseconds()
Returns
Type Description
long

getContent()

public ByteString getContent()
Returns
Type Description
com.google.protobuf.ByteString

getContentWasTruncated()

public boolean getContentWasTruncated()
Returns
Type Description
boolean

getDefaultInstanceForType()

public URLFetchServicePb.URLFetchResponse getDefaultInstanceForType()
Returns
Type Description
URLFetchResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
com.google.protobuf.Descriptors.Descriptor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.getDescriptorForType()

getExternalBytesReceived()

public long getExternalBytesReceived()
Returns
Type Description
long

getExternalBytesSent()

public long getExternalBytesSent()
Returns
Type Description
long

getFinalUrl()

public String getFinalUrl()
Returns
Type Description
String

getFinalUrlBytes()

public ByteString getFinalUrlBytes()
Returns
Type Description
com.google.protobuf.ByteString

getHeader(int arg0)

public URLFetchServicePb.URLFetchResponse.Header getHeader(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Header

getHeaderBuilder(int arg0)

public URLFetchServicePb.URLFetchResponse.Header.Builder getHeaderBuilder(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Builder

getHeaderBuilderList()

public List<URLFetchServicePb.URLFetchResponse.Header.Builder> getHeaderBuilderList()
Returns
Type Description
List<Builder>

getHeaderCount()

public int getHeaderCount()
Returns
Type Description
int

getHeaderList()

public List<URLFetchServicePb.URLFetchResponse.Header> getHeaderList()
Returns
Type Description
List<Header>

getHeaderOrBuilder(int arg0)

public URLFetchServicePb.URLFetchResponse.HeaderOrBuilder getHeaderOrBuilder(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
HeaderOrBuilder

getHeaderOrBuilderList()

public List<? extends URLFetchServicePb.URLFetchResponse.HeaderOrBuilder> getHeaderOrBuilderList()
Returns
Type Description
List<? extends com.google.appengine.api.urlfetch.URLFetchServicePb.URLFetchResponse.HeaderOrBuilder>

getStatusCode()

public int getStatusCode()
Returns
Type Description
int

hasApiBytesReceived()

public boolean hasApiBytesReceived()
Returns
Type Description
boolean

hasApiBytesSent()

public boolean hasApiBytesSent()
Returns
Type Description
boolean

hasApiCpuMilliseconds()

public boolean hasApiCpuMilliseconds()
Returns
Type Description
boolean

hasContent()

public boolean hasContent()
Returns
Type Description
boolean

hasContentWasTruncated()

public boolean hasContentWasTruncated()
Returns
Type Description
boolean

hasExternalBytesReceived()

public boolean hasExternalBytesReceived()
Returns
Type Description
boolean

hasExternalBytesSent()

public boolean hasExternalBytesSent()
Returns
Type Description
boolean

hasFinalUrl()

public boolean hasFinalUrl()
Returns
Type Description
boolean

hasStatusCode()

public boolean hasStatusCode()
Returns
Type Description
boolean

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetFieldAccessorTable()

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.isInitialized()

mergeFrom(URLFetchServicePb.URLFetchResponse arg0)

public URLFetchServicePb.URLFetchResponse.Builder mergeFrom(URLFetchServicePb.URLFetchResponse arg0)
Parameter
Name Description
arg0 URLFetchResponse
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public URLFetchServicePb.URLFetchResponse.Builder mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 com.google.protobuf.CodedInputStream
arg1 com.google.protobuf.ExtensionRegistryLite
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
Exceptions
Type Description
IOException

mergeFrom(Message arg0)

public URLFetchServicePb.URLFetchResponse.Builder mergeFrom(Message arg0)
Parameter
Name Description
arg0 com.google.protobuf.Message
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergeUnknownFields(UnknownFieldSet arg0)

public final URLFetchServicePb.URLFetchResponse.Builder mergeUnknownFields(UnknownFieldSet arg0)
Parameter
Name Description
arg0 com.google.protobuf.UnknownFieldSet
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet)

removeHeader(int arg0)

public URLFetchServicePb.URLFetchResponse.Builder removeHeader(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setApiBytesReceived(long arg0)

public URLFetchServicePb.URLFetchResponse.Builder setApiBytesReceived(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setApiBytesSent(long arg0)

public URLFetchServicePb.URLFetchResponse.Builder setApiBytesSent(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setApiCpuMilliseconds(long arg0)

public URLFetchServicePb.URLFetchResponse.Builder setApiCpuMilliseconds(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setContent(ByteString arg0)

public URLFetchServicePb.URLFetchResponse.Builder setContent(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setContentWasTruncated(boolean arg0)

public URLFetchServicePb.URLFetchResponse.Builder setContentWasTruncated(boolean arg0)
Parameter
Name Description
arg0 boolean
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setExternalBytesReceived(long arg0)

public URLFetchServicePb.URLFetchResponse.Builder setExternalBytesReceived(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setExternalBytesSent(long arg0)

public URLFetchServicePb.URLFetchResponse.Builder setExternalBytesSent(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setField(Descriptors.FieldDescriptor arg0, Object arg1)

public URLFetchServicePb.URLFetchResponse.Builder setField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
Name Description
arg0 com.google.protobuf.Descriptors.FieldDescriptor
arg1 Object
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

setFinalUrl(String arg0)

public URLFetchServicePb.URLFetchResponse.Builder setFinalUrl(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setFinalUrlBytes(ByteString arg0)

public URLFetchServicePb.URLFetchResponse.Builder setFinalUrlBytes(ByteString arg0)
Parameter
Name Description
arg0 com.google.protobuf.ByteString
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setHeader(int arg0, URLFetchServicePb.URLFetchResponse.Header arg1)

public URLFetchServicePb.URLFetchResponse.Builder setHeader(int arg0, URLFetchServicePb.URLFetchResponse.Header arg1)
Parameters
Name Description
arg0 int
arg1 Header
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setHeader(int arg0, URLFetchServicePb.URLFetchResponse.Header.Builder arg1)

public URLFetchServicePb.URLFetchResponse.Builder setHeader(int arg0, URLFetchServicePb.URLFetchResponse.Header.Builder arg1)
Parameters
Name Description
arg0 int
arg1 Builder
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)

public URLFetchServicePb.URLFetchResponse.Builder setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
Parameters
Name Description
arg0 com.google.protobuf.Descriptors.FieldDescriptor
arg1 int
arg2 Object
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)

setStatusCode(int arg0)

public URLFetchServicePb.URLFetchResponse.Builder setStatusCode(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder

setUnknownFields(UnknownFieldSet arg0)

public final URLFetchServicePb.URLFetchResponse.Builder setUnknownFields(UnknownFieldSet arg0)
Parameter
Name Description
arg0 com.google.protobuf.UnknownFieldSet
Returns
Type Description
URLFetchServicePb.URLFetchResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet)