public static final class Reference.Builder extends GeneratedMessageV3.Builder<Reference.Builder> implements ReferenceOrBuilder
Additional Links
Protobuf type google.cloud.securitycenter.v1.Reference
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Reference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Reference buildPartial()
Returns
clear()
public Reference.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Reference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Reference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSource()
public Reference.Builder clearSource()
Source of the reference e.g. NVD
string source = 1;
Returns
clearUri()
public Reference.Builder clearUri()
Returns
clone()
public Reference.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Reference getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSource()
public String getSource()
Source of the reference e.g. NVD
string source = 1;
Returns
Type | Description |
String | The source.
|
getSourceBytes()
public ByteString getSourceBytes()
Source of the reference e.g. NVD
string source = 1;
Returns
getUri()
Returns
getUriBytes()
public ByteString getUriBytes()
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Reference other)
public Reference.Builder mergeFrom(Reference other)
Parameter
Returns
public Reference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Reference.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Reference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Reference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Reference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSource(String value)
public Reference.Builder setSource(String value)
Source of the reference e.g. NVD
string source = 1;
Parameter
Name | Description |
value | String
The source to set.
|
Returns
setSourceBytes(ByteString value)
public Reference.Builder setSourceBytes(ByteString value)
Source of the reference e.g. NVD
string source = 1;
Parameter
Name | Description |
value | ByteString
The bytes for source to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Reference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUri(String value)
public Reference.Builder setUri(String value)
Parameter
Name | Description |
value | String
The uri to set.
|
Returns
setUriBytes(ByteString value)
public Reference.Builder setUriBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for uri to set.
|
Returns