| java.lang.Object | |
| ↳ | com.google.gdata.wireformats.StreamPropertiesBuilder<T extends com.google.gdata.wireformats.StreamPropertiesBuilder<T>> |
Known Direct Subclasses
|
The StreamPropertiesBuilder class is a abstract builder base class that aids
in the construction of new StreamProperties instances.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| StreamPropertiesBuilder.StreamPropertiesImpl | The StreamPropertiesImpl class is a simple immutable value object that
implements the StreamProperties interface. |
||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| altRegistry | |||||||||||
| contentType | |||||||||||
| extensionProfile | |||||||||||
| queryMap | |||||||||||
| rootMetadata | |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new StreamPropertiesBuilder with no properties set.
| |||||||||||
Constructs a new StreamPropertiesBuilder instance with the initial value of
all properties copied from another
StreamProperties instance. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Sets the
AltRegistry property that should be used for instances
created by the builder. | |||||||||||
Sets the
ContentType property that should be used for instances
created by the builder. | |||||||||||
Sets the
ElementMetadata that should be used for instances created
by the builder. | |||||||||||
Sets the
ExtensionProfile property that should be used for
instances created by the builder. | |||||||||||
Sets the value of a query parameter in the query Map that should be
used for instances created by the builder.
| |||||||||||
Adds all query parameter values defined in the provided Map to
the set of query parameters used for instances created by the builder.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a new StreamPropertiesBuilder with no properties set.
Constructs a new StreamPropertiesBuilder instance with the initial value of
all properties copied from another StreamProperties instance.
| source | Stream properties instance to copy from. |
|---|
Sets the AltRegistry property that should be used for instances
created by the builder.
| altRegistry | Alt registry to set in built instances. |
|---|
Sets the ContentType property that should be used for instances
created by the builder.
| contentType | Content type to set in built instances. |
|---|
Sets the ElementMetadata that should be used for instances created
by the builder.
| elementMetadata | Element metadata to set in built instances. |
|---|
Sets the ExtensionProfile property that should be used for
instances created by the builder.
| extensionProfile | Extension profile to set in built instances. |
|---|
Sets the value of a query parameter in the query Map that should be used for instances created by the builder. Any existing value with the same name will be overwritten.
| name | Query parameter name |
|---|---|
| value | Query parameter value |
Adds all query parameter values defined in the provided Map to the set of query parameters used for instances created by the builder. Any existing query parameter mappings with names contained in the map will be overwritten.
| queryMap | Query map to set in built instances. |
|---|