public static final class FetchOptions.Builder extends GeneratedMessageV3.Builder<FetchOptions.Builder> implements FetchOptionsOrBuilder
Options on how fetches should be made.
Protobuf type google.cloud.video.stitcher.v1.FetchOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FetchOptions build()
buildPartial()
public FetchOptions buildPartial()
clear()
public FetchOptions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FetchOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public FetchOptions.Builder clearHeaders()
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FetchOptions.Builder clone()
Overrides
public boolean containsHeaders(String key)
Custom headers to pass into fetch request.
Headers must have a maximum of 3 key value pairs.
Each key value pair must have a maximum of 256 characters per key and 256
characters per value.
map<string, string> headers = 1;
Parameter |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public FetchOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,String> getHeaders()
public int getHeadersCount()
Custom headers to pass into fetch request.
Headers must have a maximum of 3 key value pairs.
Each key value pair must have a maximum of 256 characters per key and 256
characters per value.
map<string, string> headers = 1;
Returns |
Type |
Description |
int |
|
public Map<String,String> getHeadersMap()
Custom headers to pass into fetch request.
Headers must have a maximum of 3 key value pairs.
Each key value pair must have a maximum of 256 characters per key and 256
characters per value.
map<string, string> headers = 1;
public String getHeadersOrDefault(String key, String defaultValue)
Custom headers to pass into fetch request.
Headers must have a maximum of 3 key value pairs.
Each key value pair must have a maximum of 256 characters per key and 256
characters per value.
map<string, string> headers = 1;
Returns |
Type |
Description |
String |
|
public String getHeadersOrThrow(String key)
Custom headers to pass into fetch request.
Headers must have a maximum of 3 key value pairs.
Each key value pair must have a maximum of 256 characters per key and 256
characters per value.
map<string, string> headers = 1;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
public Map<String,String> getMutableHeaders()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FetchOptions other)
public FetchOptions.Builder mergeFrom(FetchOptions other)
public FetchOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FetchOptions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public FetchOptions.Builder putAllHeaders(Map<String,String> values)
Custom headers to pass into fetch request.
Headers must have a maximum of 3 key value pairs.
Each key value pair must have a maximum of 256 characters per key and 256
characters per value.
map<string, string> headers = 1;
public FetchOptions.Builder putHeaders(String key, String value)
Custom headers to pass into fetch request.
Headers must have a maximum of 3 key value pairs.
Each key value pair must have a maximum of 256 characters per key and 256
characters per value.
map<string, string> headers = 1;
public FetchOptions.Builder removeHeaders(String key)
Custom headers to pass into fetch request.
Headers must have a maximum of 3 key value pairs.
Each key value pair must have a maximum of 256 characters per key and 256
characters per value.
map<string, string> headers = 1;
Parameter |
Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
public FetchOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides