Package com.google.cloud.compute.v1
Interface ReferenceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Reference,Reference.Builder
public interface ReferenceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetReferenceType()A description of the reference type with no implied semantics.com.google.protobuf.ByteStringgetReferenceTypeBytes()A description of the reference type with no implied semantics.StringgetReferrer()URL of the resource which refers to the target.com.google.protobuf.ByteStringgetReferrerBytes()URL of the resource which refers to the target.StringgetTarget()URL of the resource to which this reference points.com.google.protobuf.ByteStringgetTargetBytes()URL of the resource to which this reference points.booleanhasKind()[Output Only] Type of the resource.booleanhasReferenceType()A description of the reference type with no implied semantics.booleanhasReferrer()URL of the resource which refers to the target.booleanhasTarget()URL of the resource to which this reference points.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKind
boolean hasKind()
[Output Only] Type of the resource. Always compute#reference for references.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource. Always compute#reference for references.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#reference for references.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasReferenceType
boolean hasReferenceType()
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF
optional string reference_type = 247521198;- Returns:
- Whether the referenceType field is set.
-
getReferenceType
String getReferenceType()
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF
optional string reference_type = 247521198;- Returns:
- The referenceType.
-
getReferenceTypeBytes
com.google.protobuf.ByteString getReferenceTypeBytes()
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF
optional string reference_type = 247521198;- Returns:
- The bytes for referenceType.
-
hasReferrer
boolean hasReferrer()
URL of the resource which refers to the target.
optional string referrer = 351173663;- Returns:
- Whether the referrer field is set.
-
getReferrer
String getReferrer()
URL of the resource which refers to the target.
optional string referrer = 351173663;- Returns:
- The referrer.
-
getReferrerBytes
com.google.protobuf.ByteString getReferrerBytes()
URL of the resource which refers to the target.
optional string referrer = 351173663;- Returns:
- The bytes for referrer.
-
hasTarget
boolean hasTarget()
URL of the resource to which this reference points.
optional string target = 192835985;- Returns:
- Whether the target field is set.
-
getTarget
String getTarget()
URL of the resource to which this reference points.
optional string target = 192835985;- Returns:
- The target.
-
getTargetBytes
com.google.protobuf.ByteString getTargetBytes()
URL of the resource to which this reference points.
optional string target = 192835985;- Returns:
- The bytes for target.
-
-