public static final class FetchBlobResponse.Builder extends GeneratedMessage.Builder<FetchBlobResponse.Builder> implements FetchBlobResponseOrBuilderResponse message containing the content of a blob.
Protobuf type google.cloud.securesourcemanager.v1.FetchBlobResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchBlobResponse.BuilderImplements
FetchBlobResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FetchBlobResponse build()| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse |
|
buildPartial()
public FetchBlobResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse |
|
clear()
public FetchBlobResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse.Builder |
|
clearContent()
public FetchBlobResponse.Builder clearContent()The content of the blob, encoded as base64.
string content = 2;
| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse.Builder |
This builder for chaining. |
clearSha()
public FetchBlobResponse.Builder clearSha()The SHA-1 hash of the blob.
string sha = 1;
| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse.Builder |
This builder for chaining. |
getContent()
public String getContent()The content of the blob, encoded as base64.
string content = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The content. |
getContentBytes()
public ByteString getContentBytes()The content of the blob, encoded as base64.
string content = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for content. |
getDefaultInstanceForType()
public FetchBlobResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSha()
public String getSha()The SHA-1 hash of the blob.
string sha = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The sha. |
getShaBytes()
public ByteString getShaBytes()The SHA-1 hash of the blob.
string sha = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sha. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchBlobResponse other)
public FetchBlobResponse.Builder mergeFrom(FetchBlobResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchBlobResponse |
| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchBlobResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchBlobResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse.Builder |
|
setContent(String value)
public FetchBlobResponse.Builder setContent(String value)The content of the blob, encoded as base64.
string content = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe content to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse.Builder |
This builder for chaining. |
setContentBytes(ByteString value)
public FetchBlobResponse.Builder setContentBytes(ByteString value)The content of the blob, encoded as base64.
string content = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for content to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse.Builder |
This builder for chaining. |
setSha(String value)
public FetchBlobResponse.Builder setSha(String value)The SHA-1 hash of the blob.
string sha = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sha to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse.Builder |
This builder for chaining. |
setShaBytes(ByteString value)
public FetchBlobResponse.Builder setShaBytes(ByteString value)The SHA-1 hash of the blob.
string sha = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sha to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBlobResponse.Builder |
This builder for chaining. |