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