Send feedback
Class FetchBlobResponse.Builder (0.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class FetchBlobResponse . Builder extends GeneratedMessageV3 . Builder<FetchBlobResponse . Builder > implements FetchBlobResponseOrBuilder
Response message containing the content of a blob.
Protobuf type google.cloud.securesourcemanager.v1.FetchBlobResponse
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 FetchBlobResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public FetchBlobResponse build ()
buildPartial()
public FetchBlobResponse buildPartial ()
clear()
public FetchBlobResponse . Builder clear ()
Overrides
clearContent()
public FetchBlobResponse . Builder clearContent ()
The content of the blob, encoded as base64.
string content = 2;
clearField(Descriptors.FieldDescriptor field)
public FetchBlobResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchBlobResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSha()
public FetchBlobResponse . Builder clearSha ()
The SHA-1 hash of the blob.
string sha = 1;
clone()
public FetchBlobResponse . Builder clone ()
Overrides
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 ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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 GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(FetchBlobResponse other)
public FetchBlobResponse . Builder mergeFrom ( FetchBlobResponse other )
public FetchBlobResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public FetchBlobResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchBlobResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setContent(String value)
public FetchBlobResponse . Builder setContent ( String value )
The content of the blob, encoded as base64.
string content = 2;
Parameter
Name
Description
value
String
The content to set.
setContentBytes(ByteString value)
public FetchBlobResponse . Builder setContentBytes ( ByteString value )
The content of the blob, encoded as base64.
string content = 2;
Parameter
Name
Description
value
ByteString
The bytes for content to set.
setField(Descriptors.FieldDescriptor field, Object value)
public FetchBlobResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchBlobResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSha(String value)
public FetchBlobResponse . Builder setSha ( String value )
The SHA-1 hash of the blob.
string sha = 1;
Parameter
Name
Description
value
String
The sha to set.
setShaBytes(ByteString value)
public FetchBlobResponse . Builder setShaBytes ( ByteString value )
The SHA-1 hash of the blob.
string sha = 1;
Parameter
Name
Description
value
ByteString
The bytes for sha to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchBlobResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-02 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-02 UTC."],[],[]]