- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class Reference.Builder extends GeneratedMessageV3.Builder<Reference.Builder> implements ReferenceOrBuilder
Represents a reference to a resource.
Protobuf type google.cloud.compute.v1.Reference
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Reference.BuilderImplements
ReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Reference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Reference.Builder |
build()
public Reference build()
Type | Description |
Reference |
buildPartial()
public Reference buildPartial()
Type | Description |
Reference |
clear()
public Reference.Builder clear()
Type | Description |
Reference.Builder |
clearField(Descriptors.FieldDescriptor field)
public Reference.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Reference.Builder |
clearKind()
public Reference.Builder clearKind()
[Output Only] Type of the resource. Always compute#reference for references.
optional string kind = 3292052;
Type | Description |
Reference.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Reference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Reference.Builder |
clearReferenceType()
public Reference.Builder clearReferenceType()
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF
optional string reference_type = 247521198;
Type | Description |
Reference.Builder | This builder for chaining. |
clearReferrer()
public Reference.Builder clearReferrer()
URL of the resource which refers to the target.
optional string referrer = 351173663;
Type | Description |
Reference.Builder | This builder for chaining. |
clearTarget()
public Reference.Builder clearTarget()
URL of the resource to which this reference points.
optional string target = 192835985;
Type | Description |
Reference.Builder | This builder for chaining. |
clone()
public Reference.Builder clone()
Type | Description |
Reference.Builder |
getDefaultInstanceForType()
public Reference getDefaultInstanceForType()
Type | Description |
Reference |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKind()
public String getKind()
[Output Only] Type of the resource. Always compute#reference for references.
optional string kind = 3292052;
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#reference for references.
optional string kind = 3292052;
Type | Description |
ByteString | The bytes for kind. |
getReferenceType()
public String getReferenceType()
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF
optional string reference_type = 247521198;
Type | Description |
String | The referenceType. |
getReferenceTypeBytes()
public ByteString getReferenceTypeBytes()
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF
optional string reference_type = 247521198;
Type | Description |
ByteString | The bytes for referenceType. |
getReferrer()
public String getReferrer()
URL of the resource which refers to the target.
optional string referrer = 351173663;
Type | Description |
String | The referrer. |
getReferrerBytes()
public ByteString getReferrerBytes()
URL of the resource which refers to the target.
optional string referrer = 351173663;
Type | Description |
ByteString | The bytes for referrer. |
getTarget()
public String getTarget()
URL of the resource to which this reference points.
optional string target = 192835985;
Type | Description |
String | The target. |
getTargetBytes()
public ByteString getTargetBytes()
URL of the resource to which this reference points.
optional string target = 192835985;
Type | Description |
ByteString | The bytes for target. |
hasKind()
public boolean hasKind()
[Output Only] Type of the resource. Always compute#reference for references.
optional string kind = 3292052;
Type | Description |
boolean | Whether the kind field is set. |
hasReferenceType()
public boolean hasReferenceType()
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF
optional string reference_type = 247521198;
Type | Description |
boolean | Whether the referenceType field is set. |
hasReferrer()
public boolean hasReferrer()
URL of the resource which refers to the target.
optional string referrer = 351173663;
Type | Description |
boolean | Whether the referrer field is set. |
hasTarget()
public boolean hasTarget()
URL of the resource to which this reference points.
optional string target = 192835985;
Type | Description |
boolean | Whether the target field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Reference other)
public Reference.Builder mergeFrom(Reference other)
Name | Description |
other | Reference |
Type | Description |
Reference.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Reference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Reference.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Reference.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Reference.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Reference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Reference.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Reference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Reference.Builder |
setKind(String value)
public Reference.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#reference for references.
optional string kind = 3292052;
Name | Description |
value | String The kind to set. |
Type | Description |
Reference.Builder | This builder for chaining. |
setKindBytes(ByteString value)
public Reference.Builder setKindBytes(ByteString value)
[Output Only] Type of the resource. Always compute#reference for references.
optional string kind = 3292052;
Name | Description |
value | ByteString The bytes for kind to set. |
Type | Description |
Reference.Builder | This builder for chaining. |
setReferenceType(String value)
public Reference.Builder setReferenceType(String value)
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF
optional string reference_type = 247521198;
Name | Description |
value | String The referenceType to set. |
Type | Description |
Reference.Builder | This builder for chaining. |
setReferenceTypeBytes(ByteString value)
public Reference.Builder setReferenceTypeBytes(ByteString value)
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF
optional string reference_type = 247521198;
Name | Description |
value | ByteString The bytes for referenceType to set. |
Type | Description |
Reference.Builder | This builder for chaining. |
setReferrer(String value)
public Reference.Builder setReferrer(String value)
URL of the resource which refers to the target.
optional string referrer = 351173663;
Name | Description |
value | String The referrer to set. |
Type | Description |
Reference.Builder | This builder for chaining. |
setReferrerBytes(ByteString value)
public Reference.Builder setReferrerBytes(ByteString value)
URL of the resource which refers to the target.
optional string referrer = 351173663;
Name | Description |
value | ByteString The bytes for referrer to set. |
Type | Description |
Reference.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Reference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Reference.Builder |
setTarget(String value)
public Reference.Builder setTarget(String value)
URL of the resource to which this reference points.
optional string target = 192835985;
Name | Description |
value | String The target to set. |
Type | Description |
Reference.Builder | This builder for chaining. |
setTargetBytes(ByteString value)
public Reference.Builder setTargetBytes(ByteString value)
URL of the resource to which this reference points.
optional string target = 192835985;
Name | Description |
value | ByteString The bytes for target to set. |
Type | Description |
Reference.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Reference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Reference.Builder |