public static final class UploadFileInfo.Builder extends GeneratedMessageV3.Builder<UploadFileInfo.Builder> 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.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 UploadFileInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UploadFileInfo build()
buildPartial()
public UploadFileInfo buildPartial()
clear()
public UploadFileInfo.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UploadFileInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UploadFileInfo.Builder clearHeaders()
clearOneof(Descriptors.OneofDescriptor oneof)
public UploadFileInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSignedUri()
public UploadFileInfo.Builder clearSignedUri()
Output only. Upload URI for the file.
string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
clone()
public UploadFileInfo.Builder clone()
Overrides
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
|
getDefaultInstanceForType()
public UploadFileInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
public Map<String,String> getMutableHeaders()
Use alternate mutation accessors instead.
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];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UploadFileInfo other)
public UploadFileInfo.Builder mergeFrom(UploadFileInfo other)
public UploadFileInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UploadFileInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UploadFileInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public UploadFileInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UploadFileInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 | String
The signedUri to set.
|
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 | ByteString
The bytes for signedUri to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UploadFileInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|