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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UploadFileInfo.Builder newBuilder()
newBuilder(UploadFileInfo prototype)
public static UploadFileInfo.Builder newBuilder(UploadFileInfo prototype)
public static UploadFileInfo parseDelimitedFrom(InputStream input)
public static UploadFileInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UploadFileInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UploadFileInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseFrom(CodedInputStream input)
public static UploadFileInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseFrom(InputStream input)
public static UploadFileInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UploadFileInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UploadFileInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UploadFileInfo> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public UploadFileInfo getDefaultInstanceForType()
public Map<String,String> getHeaders()
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 | |
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];
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];
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
|
getParserForType()
public Parser<UploadFileInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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];
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UploadFileInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UploadFileInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UploadFileInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides