public static final class Reference.Builder extends GeneratedMessageV3.Builder<Reference.Builder> implements ReferenceOrBuilderRepresents 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 | StringThe 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 | ByteStringThe 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 | StringThe 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 | ByteStringThe 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 | StringThe 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 | ByteStringThe 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 | StringThe 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 | ByteStringThe 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 |