- 0.67.0 (latest)
- 0.65.0
- 0.64.0
- 0.62.0
- 0.60.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.49.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class UploadFileInfo.Builder extends GeneratedMessage.Builder<UploadFileInfo.Builder> implements UploadFileInfoOrBuilderA resource that contains a URI to which a data file can be uploaded.
Protobuf type google.cloud.migrationcenter.v1.UploadFileInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UploadFileInfo.BuilderImplements
UploadFileInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UploadFileInfo build()| Returns | |
|---|---|
| Type | Description |
UploadFileInfo |
|
buildPartial()
public UploadFileInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
UploadFileInfo |
|
clear()
public UploadFileInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
clearHeaders()
public UploadFileInfo.Builder clearHeaders()| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
clearSignedUri()
public UploadFileInfo.Builder clearSignedUri()Output only. Upload URI for the file.
string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
This builder for chaining. |
clearUriExpirationTime()
public UploadFileInfo.Builder clearUriExpirationTime()Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
containsHeaders(String key)
public boolean containsHeaders(String key)Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public UploadFileInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UploadFileInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHeaders() (deprecated)
public Map<String,String> getHeaders()Use #getHeadersMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getHeadersCount()
public int getHeadersCount()Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getHeadersMap()
public Map<String,String> getHeadersMap()Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getHeadersOrDefault(String key, String defaultValue)
public String getHeadersOrDefault(String key, String defaultValue)Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getHeadersOrThrow(String key)
public String getHeadersOrThrow(String key)Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableHeaders() (deprecated)
public Map<String,String> getMutableHeaders()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getSignedUri()
public String getSignedUri()Output only. Upload URI for the file.
string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The signedUri. |
getSignedUriBytes()
public ByteString getSignedUriBytes()Output only. Upload URI for the file.
string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for signedUri. |
getUriExpirationTime()
public Timestamp getUriExpirationTime()Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The uriExpirationTime. |
getUriExpirationTimeBuilder()
public Timestamp.Builder getUriExpirationTimeBuilder()Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUriExpirationTimeOrBuilder()
public TimestampOrBuilder getUriExpirationTimeOrBuilder()Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasUriExpirationTime()
public boolean hasUriExpirationTime()Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the uriExpirationTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UploadFileInfo other)
public UploadFileInfo.Builder mergeFrom(UploadFileInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
UploadFileInfo |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UploadFileInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UploadFileInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
mergeUriExpirationTime(Timestamp value)
public UploadFileInfo.Builder mergeUriExpirationTime(Timestamp value)Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
putAllHeaders(Map<String,String> values)
public UploadFileInfo.Builder putAllHeaders(Map<String,String> values)Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
putHeaders(String key, String value)
public UploadFileInfo.Builder putHeaders(String key, String value)Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
removeHeaders(String key)
public UploadFileInfo.Builder removeHeaders(String key)Output only. The headers that were used to sign the URI.
map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
setSignedUri(String value)
public UploadFileInfo.Builder setSignedUri(String value)Output only. Upload URI for the file.
string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe signedUri to set. |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
This builder for chaining. |
setSignedUriBytes(ByteString value)
public UploadFileInfo.Builder setSignedUriBytes(ByteString value)Output only. Upload URI for the file.
string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for signedUri to set. |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
This builder for chaining. |
setUriExpirationTime(Timestamp value)
public UploadFileInfo.Builder setUriExpirationTime(Timestamp value)Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
setUriExpirationTime(Timestamp.Builder builderForValue)
public UploadFileInfo.Builder setUriExpirationTime(Timestamp.Builder builderForValue)Output only. Expiration time of the upload URI.
.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|