public final class UploadFileInfo extends GeneratedMessageV3 implements UploadFileInfoOrBuilder
A resource that contains a URI to which a data file can be uploaded.
Protobuf type google.cloud.migrationcenter.v1.UploadFileInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UploadFileInfoImplements
UploadFileInfoOrBuilderStatic Fields
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SIGNED_URI_FIELD_NUMBER
public static final int SIGNED_URI_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
URI_EXPIRATION_TIME_FIELD_NUMBER
public static final int URI_EXPIRATION_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UploadFileInfo getDefaultInstance()
Returns | |
---|---|
Type | Description |
UploadFileInfo |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static UploadFileInfo.Builder newBuilder()
Returns | |
---|---|
Type | Description |
UploadFileInfo.Builder |
newBuilder(UploadFileInfo prototype)
public static UploadFileInfo.Builder newBuilder(UploadFileInfo prototype)
Parameter | |
---|---|
Name | Description |
prototype | UploadFileInfo |
Returns | |
---|---|
Type | Description |
UploadFileInfo.Builder |
parseDelimitedFrom(InputStream input)
public static UploadFileInfo parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static UploadFileInfo parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UploadFileInfo parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UploadFileInfo parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static UploadFileInfo parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UploadFileInfo parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UploadFileInfo |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UploadFileInfo> parser()
Returns | |
---|---|
Type | Description |
Parser<UploadFileInfo> |
Methods
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 |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public UploadFileInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UploadFileInfo |
getHeaders()
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 |
getParserForType()
public Parser<UploadFileInfo> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<UploadFileInfo> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public UploadFileInfo.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
UploadFileInfo.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UploadFileInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
UploadFileInfo.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public UploadFileInfo.Builder toBuilder()
Returns | |
---|---|
Type | Description |
UploadFileInfo.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |