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 String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.String
getReferenceType()
A description of the reference type with no implied semantics.com.google.protobuf.ByteString
getReferenceTypeBytes()
A description of the reference type with no implied semantics.String
getReferrer()
URL of the resource which refers to the target.com.google.protobuf.ByteString
getReferrerBytes()
URL of the resource which refers to the target.String
getTarget()
URL of the resource to which this reference points.com.google.protobuf.ByteString
getTargetBytes()
URL of the resource to which this reference points.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasReferenceType()
A description of the reference type with no implied semantics.boolean
hasReferrer()
URL of the resource which refers to the target.boolean
hasTarget()
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.
-
-