istio: istio.io/istio/mixer/adapter/stackdriver/internal/google.golang.org/genproto/googleapis/cloud/contextgraph/v1alpha1 Index | Files

package contextgraph

import "istio.io/istio/mixer/adapter/stackdriver/internal/google.golang.org/genproto/googleapis/cloud/contextgraph/v1alpha1"

Index

Package Files

add_container.pb.go assert_batch.pb.go batch_get_entities.pb.go contextgraph.pb.go delete_container.pb.go graph.pb.go list_containers.pb.go query_context_graph.pb.go query_entities.pb.go query_neighborhood.pb.go raw_graph_service.pb.go raw_in_memory.pb.go

Variables

var RelationshipAbsentAssertion_OwningEntity_name = map[int32]string{
    0:  "OWNING_ENTITY_UNSPECIFIED",
    1:  "SOURCE",
    2:  "TARGET",
    3:  "FREE",
}
var RelationshipAbsentAssertion_OwningEntity_value = map[string]int32{
    "OWNING_ENTITY_UNSPECIFIED": 0,
    "SOURCE":                    1,
    "TARGET":                    2,
    "FREE":                      3,
}
var RelationshipPresentAssertion_OwningEntity_name = map[int32]string{
    0:  "OWNING_ENTITY_UNSPECIFIED",
    1:  "SOURCE",
    2:  "TARGET",
    3:  "FREE",
}
var RelationshipPresentAssertion_OwningEntity_value = map[string]int32{
    "OWNING_ENTITY_UNSPECIFIED": 0,
    "SOURCE":                    1,
    "TARGET":                    2,
    "FREE":                      3,
}

func RegisterContextGraphServiceServer Uses

func RegisterContextGraphServiceServer(s *grpc.Server, srv ContextGraphServiceServer)

type AssertBatchRequest Uses

type AssertBatchRequest struct {
    // Entities that need to be asserted as present.
    EntityPresentAssertions []*EntityPresentAssertion `protobuf:"bytes,1,rep,name=entity_present_assertions,json=entityPresentAssertions" json:"entity_present_assertions,omitempty"`
    // Relationships that need to be asserted as present.
    RelationshipPresentAssertions []*RelationshipPresentAssertion `protobuf:"bytes,2,rep,name=relationship_present_assertions,json=relationshipPresentAssertions" json:"relationship_present_assertions,omitempty"`
    // Entities that need to be asserted as absent.
    EntityAbsentAssertions []*EntityAbsentAssertion `protobuf:"bytes,3,rep,name=entity_absent_assertions,json=entityAbsentAssertions" json:"entity_absent_assertions,omitempty"`
    // Relationships that need to be asserted as absent.
    RelationshipAbsentAssertions []*RelationshipAbsentAssertion `protobuf:"bytes,4,rep,name=relationship_absent_assertions,json=relationshipAbsentAssertions" json:"relationship_absent_assertions,omitempty"`
    XXX_NoUnkeyedLiteral         struct{}                       `json:"-"`
    XXX_unrecognized             []byte                         `json:"-"`
    XXX_sizecache                int32                          `json:"-"`
}

Assert the presence or absence of multiple entities and relationships.

This batch request can span multiple projects. The writer must be authorized to write to the projects of all the included entities and relationships, otherwise the whole request will fail.

func (*AssertBatchRequest) Descriptor Uses

func (*AssertBatchRequest) Descriptor() ([]byte, []int)

func (*AssertBatchRequest) GetEntityAbsentAssertions Uses

func (m *AssertBatchRequest) GetEntityAbsentAssertions() []*EntityAbsentAssertion

func (*AssertBatchRequest) GetEntityPresentAssertions Uses

func (m *AssertBatchRequest) GetEntityPresentAssertions() []*EntityPresentAssertion

func (*AssertBatchRequest) GetRelationshipAbsentAssertions Uses

func (m *AssertBatchRequest) GetRelationshipAbsentAssertions() []*RelationshipAbsentAssertion

func (*AssertBatchRequest) GetRelationshipPresentAssertions Uses

func (m *AssertBatchRequest) GetRelationshipPresentAssertions() []*RelationshipPresentAssertion

func (*AssertBatchRequest) ProtoMessage Uses

func (*AssertBatchRequest) ProtoMessage()

func (*AssertBatchRequest) Reset Uses

func (m *AssertBatchRequest) Reset()

func (*AssertBatchRequest) String Uses

func (m *AssertBatchRequest) String() string

func (*AssertBatchRequest) XXX_DiscardUnknown Uses

func (m *AssertBatchRequest) XXX_DiscardUnknown()

func (*AssertBatchRequest) XXX_Marshal Uses

func (m *AssertBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssertBatchRequest) XXX_Merge Uses

func (dst *AssertBatchRequest) XXX_Merge(src proto.Message)

func (*AssertBatchRequest) XXX_Size Uses

func (m *AssertBatchRequest) XXX_Size() int

func (*AssertBatchRequest) XXX_Unmarshal Uses

func (m *AssertBatchRequest) XXX_Unmarshal(b []byte) error

type AssertBatchResponse Uses

type AssertBatchResponse struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Success is an empty response. Failure is a low-level RPC error. NEXT ID: 1

func (*AssertBatchResponse) Descriptor Uses

func (*AssertBatchResponse) Descriptor() ([]byte, []int)

func (*AssertBatchResponse) ProtoMessage Uses

func (*AssertBatchResponse) ProtoMessage()

func (*AssertBatchResponse) Reset Uses

func (m *AssertBatchResponse) Reset()

func (*AssertBatchResponse) String Uses

func (m *AssertBatchResponse) String() string

func (*AssertBatchResponse) XXX_DiscardUnknown Uses

func (m *AssertBatchResponse) XXX_DiscardUnknown()

func (*AssertBatchResponse) XXX_Marshal Uses

func (m *AssertBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssertBatchResponse) XXX_Merge Uses

func (dst *AssertBatchResponse) XXX_Merge(src proto.Message)

func (*AssertBatchResponse) XXX_Size Uses

func (m *AssertBatchResponse) XXX_Size() int

func (*AssertBatchResponse) XXX_Unmarshal Uses

func (m *AssertBatchResponse) XXX_Unmarshal(b []byte) error

type ContextGraphServiceClient Uses

type ContextGraphServiceClient interface {
    // Make a lot of assertions in one RPC.
    //
    // Empty batches will be rejected (ones with zero assertions).
    //
    // The timeline for each entity / relationship can be imagined as a sparse
    // array mapping timestamps to assertions.  When AssertBatch is called, the
    // assertions in the batch are written to this timeline, possibly overwriting
    // existing assertions for the same entities / relationships at the given
    // timestamps.
    //
    // If a given entity / relationship is asserted twice at the same timestamp,
    // whether in the same batch or not, it is undefined which one is stored in
    // the timeline.
    AssertBatch(ctx context.Context, in *AssertBatchRequest, opts ...grpc.CallOption) (*AssertBatchResponse, error)
}

func NewContextGraphServiceClient Uses

func NewContextGraphServiceClient(cc *grpc.ClientConn) ContextGraphServiceClient

type ContextGraphServiceServer Uses

type ContextGraphServiceServer interface {
    // Make a lot of assertions in one RPC.
    //
    // Empty batches will be rejected (ones with zero assertions).
    //
    // The timeline for each entity / relationship can be imagined as a sparse
    // array mapping timestamps to assertions.  When AssertBatch is called, the
    // assertions in the batch are written to this timeline, possibly overwriting
    // existing assertions for the same entities / relationships at the given
    // timestamps.
    //
    // If a given entity / relationship is asserted twice at the same timestamp,
    // whether in the same batch or not, it is undefined which one is stored in
    // the timeline.
    AssertBatch(context.Context, *AssertBatchRequest) (*AssertBatchResponse, error)
}

type Entity Uses

type Entity struct {
    // [DEPRECATED] The full URI of the entity as reported by the entity's
    // service. For example, following is the URI for a Compute Engine VM instance
    // reported by the Compute Engine v1 API:
    //
    //     https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-f/instances/my-instance
    Uri string `protobuf:"bytes,1,opt,name=uri" json:"uri,omitempty"`
    // [DEPRECATED] The type of this entity including the reverse domain name,
    // the version, and the resource type. E.g. "google.compute.v1/Instance".
    Type string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
    // [DEPRECATED] The `entity_name` is an ID or number commonly displayed in
    // user interfaces to identify the entity. The triplet
    // (`type`, `location`, `entity_name`) is always unique in the project.
    EntityName string `protobuf:"bytes,3,opt,name=entity_name,json=entityName" json:"entity_name,omitempty"`
    // The JSON body of the resource. Some fields are redacted, including those
    // that contain keys, passwords, certificates, etc.
    Data *_struct.Value `protobuf:"bytes,4,opt,name=data" json:"data,omitempty"`
    // [DEPRECATED] The ID for the GCP project in which  this entity resides.
    // This project ID must agree with the project ID in the `uri` field.
    ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // The geographic location of this entity. Different entity types use
    // different conventions for their location. For Compute Engine, it is the
    // zone or region, such as `us-central1-f`. For entities not restrict to any
    // particular location, `global` is used. This location must agree with the
    // location in the `uri` field.
    Location string `protobuf:"bytes,6,opt,name=location" json:"location,omitempty"`
    // The full resource name of the entity according to
    // https://cloud.google.com/apis/design/resource_names.
    // For example, the following is the full name for a Compute Engine Instance.
    // `//compute.googleapis.com/projects/my-project/zones/us-central1-f/instances/my-instance`
    FullName string `protobuf:"bytes,7,opt,name=full_name,json=fullName" json:"full_name,omitempty"`
    // The sequence of ids according to
    // https://cloud.google.com/apis/design/resource_names
    // that are not already represented by container, type_name and location.
    //
    // No id can contain a '/'.  The final id is always the last part of the
    // full_name.
    //
    // The triplet (`type_name`, `location`, `short_names`) is
    // always unique in the container.
    ShortNames []string `protobuf:"bytes,8,rep,name=short_names,json=shortNames" json:"short_names,omitempty"`
    // E.g. Unified resource type.
    TypeName string `protobuf:"bytes,9,opt,name=type_name,json=typeName" json:"type_name,omitempty"`
    // The fullName of the entity above this one in the resource hierarchy.
    ContainerFullName string `protobuf:"bytes,10,opt,name=container_full_name,json=containerFullName" json:"container_full_name,omitempty"`
    // A hash of the data field.
    Fingerprint []byte `protobuf:"bytes,11,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
    // The version of the resource, if `data` or `fingerprint` are present.
    // If `type` is provided, this version must be consistent.
    Version              string   `protobuf:"bytes,12,opt,name=version" json:"version,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An entity in the context graph is anything that can be observed in a GCP project or organization.

func (*Entity) Descriptor Uses

func (*Entity) Descriptor() ([]byte, []int)

func (*Entity) GetContainerFullName Uses

func (m *Entity) GetContainerFullName() string

func (*Entity) GetData Uses

func (m *Entity) GetData() *_struct.Value

func (*Entity) GetEntityName Uses

func (m *Entity) GetEntityName() string

func (*Entity) GetFingerprint Uses

func (m *Entity) GetFingerprint() []byte

func (*Entity) GetFullName Uses

func (m *Entity) GetFullName() string

func (*Entity) GetLocation Uses

func (m *Entity) GetLocation() string

func (*Entity) GetProjectId Uses

func (m *Entity) GetProjectId() string

func (*Entity) GetShortNames Uses

func (m *Entity) GetShortNames() []string

func (*Entity) GetType Uses

func (m *Entity) GetType() string

func (*Entity) GetTypeName Uses

func (m *Entity) GetTypeName() string

func (*Entity) GetUri Uses

func (m *Entity) GetUri() string

func (*Entity) GetVersion Uses

func (m *Entity) GetVersion() string

func (*Entity) ProtoMessage Uses

func (*Entity) ProtoMessage()

func (*Entity) Reset Uses

func (m *Entity) Reset()

func (*Entity) String Uses

func (m *Entity) String() string

func (*Entity) XXX_DiscardUnknown Uses

func (m *Entity) XXX_DiscardUnknown()

func (*Entity) XXX_Marshal Uses

func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Entity) XXX_Merge Uses

func (dst *Entity) XXX_Merge(src proto.Message)

func (*Entity) XXX_Size Uses

func (m *Entity) XXX_Size() int

func (*Entity) XXX_Unmarshal Uses

func (m *Entity) XXX_Unmarshal(b []byte) error

type EntityAbsentAssertion Uses

type EntityAbsentAssertion struct {
    // The point in history where we make this assertion.
    Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"`
    // The full name of the entity that has ceased to exist.
    FullName string `protobuf:"bytes,4,opt,name=full_name,json=fullName" json:"full_name,omitempty"`
    // If full_name does not contain the container, provide it here.
    ContainerFullName    string   `protobuf:"bytes,5,opt,name=container_full_name,json=containerFullName" json:"container_full_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An assertion that a single entity has ceased to exist.

func (*EntityAbsentAssertion) Descriptor Uses

func (*EntityAbsentAssertion) Descriptor() ([]byte, []int)

func (*EntityAbsentAssertion) GetContainerFullName Uses

func (m *EntityAbsentAssertion) GetContainerFullName() string

func (*EntityAbsentAssertion) GetFullName Uses

func (m *EntityAbsentAssertion) GetFullName() string

func (*EntityAbsentAssertion) GetTimestamp Uses

func (m *EntityAbsentAssertion) GetTimestamp() *timestamp.Timestamp

func (*EntityAbsentAssertion) ProtoMessage Uses

func (*EntityAbsentAssertion) ProtoMessage()

func (*EntityAbsentAssertion) Reset Uses

func (m *EntityAbsentAssertion) Reset()

func (*EntityAbsentAssertion) String Uses

func (m *EntityAbsentAssertion) String() string

func (*EntityAbsentAssertion) XXX_DiscardUnknown Uses

func (m *EntityAbsentAssertion) XXX_DiscardUnknown()

func (*EntityAbsentAssertion) XXX_Marshal Uses

func (m *EntityAbsentAssertion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntityAbsentAssertion) XXX_Merge Uses

func (dst *EntityAbsentAssertion) XXX_Merge(src proto.Message)

func (*EntityAbsentAssertion) XXX_Size Uses

func (m *EntityAbsentAssertion) XXX_Size() int

func (*EntityAbsentAssertion) XXX_Unmarshal Uses

func (m *EntityAbsentAssertion) XXX_Unmarshal(b []byte) error

type EntityPresentAssertion Uses

type EntityPresentAssertion struct {
    // The point in history where we make this assertion.
    Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"`
    // The entity being asserted present.  If a version is provided, the data
    // will be stored, otherwise the data field will be ignored.
    Entity               *Entity  `protobuf:"bytes,2,opt,name=entity" json:"entity,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An assertion that a single entity exists.

func (*EntityPresentAssertion) Descriptor Uses

func (*EntityPresentAssertion) Descriptor() ([]byte, []int)

func (*EntityPresentAssertion) GetEntity Uses

func (m *EntityPresentAssertion) GetEntity() *Entity

func (*EntityPresentAssertion) GetTimestamp Uses

func (m *EntityPresentAssertion) GetTimestamp() *timestamp.Timestamp

func (*EntityPresentAssertion) ProtoMessage Uses

func (*EntityPresentAssertion) ProtoMessage()

func (*EntityPresentAssertion) Reset Uses

func (m *EntityPresentAssertion) Reset()

func (*EntityPresentAssertion) String Uses

func (m *EntityPresentAssertion) String() string

func (*EntityPresentAssertion) XXX_DiscardUnknown Uses

func (m *EntityPresentAssertion) XXX_DiscardUnknown()

func (*EntityPresentAssertion) XXX_Marshal Uses

func (m *EntityPresentAssertion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntityPresentAssertion) XXX_Merge Uses

func (dst *EntityPresentAssertion) XXX_Merge(src proto.Message)

func (*EntityPresentAssertion) XXX_Size Uses

func (m *EntityPresentAssertion) XXX_Size() int

func (*EntityPresentAssertion) XXX_Unmarshal Uses

func (m *EntityPresentAssertion) XXX_Unmarshal(b []byte) error

type Relationship Uses

type Relationship struct {
    // [DEPRECATED] The kind of relationship between the two entities.
    // This is the same as `type_name` but includes the version.
    Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
    // [DEPRECATED] The entity on the "from" side of the relationship.
    SourceUri string `protobuf:"bytes,2,opt,name=source_uri,json=sourceUri" json:"source_uri,omitempty"`
    // [DEPRECATED] The entity on the "to" side of the relationship.
    TargetUri string `protobuf:"bytes,3,opt,name=target_uri,json=targetUri" json:"target_uri,omitempty"`
    // The kind of relationship between the two entities.
    TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName" json:"type_name,omitempty"`
    // The entity on the "from" side of the relationship.
    SourceFullName string `protobuf:"bytes,5,opt,name=source_full_name,json=sourceFullName" json:"source_full_name,omitempty"`
    // The entity on the "to" side of the relationship.
    TargetFullName       string   `protobuf:"bytes,6,opt,name=target_full_name,json=targetFullName" json:"target_full_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A relationship is anything that can be observed about a pair of entities. Relationships are directional. There can be at most one relationship of a given kind between a given pair of entities in a given direction.

func (*Relationship) Descriptor Uses

func (*Relationship) Descriptor() ([]byte, []int)

func (*Relationship) GetSourceFullName Uses

func (m *Relationship) GetSourceFullName() string

func (*Relationship) GetSourceUri Uses

func (m *Relationship) GetSourceUri() string

func (*Relationship) GetTargetFullName Uses

func (m *Relationship) GetTargetFullName() string

func (*Relationship) GetTargetUri Uses

func (m *Relationship) GetTargetUri() string

func (*Relationship) GetType Uses

func (m *Relationship) GetType() string

func (*Relationship) GetTypeName Uses

func (m *Relationship) GetTypeName() string

func (*Relationship) ProtoMessage Uses

func (*Relationship) ProtoMessage()

func (*Relationship) Reset Uses

func (m *Relationship) Reset()

func (*Relationship) String Uses

func (m *Relationship) String() string

func (*Relationship) XXX_DiscardUnknown Uses

func (m *Relationship) XXX_DiscardUnknown()

func (*Relationship) XXX_Marshal Uses

func (m *Relationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Relationship) XXX_Merge Uses

func (dst *Relationship) XXX_Merge(src proto.Message)

func (*Relationship) XXX_Size Uses

func (m *Relationship) XXX_Size() int

func (*Relationship) XXX_Unmarshal Uses

func (m *Relationship) XXX_Unmarshal(b []byte) error

type RelationshipAbsentAssertion Uses

type RelationshipAbsentAssertion struct {
    // The point in history where we make this assertion.
    Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"`
    // The relationship that has ceased to exist.
    Relationship *Relationship `protobuf:"bytes,2,opt,name=relationship" json:"relationship,omitempty"`
    // [REQUIRED] The entity which owns this relationship.
    OwningEntity         RelationshipAbsentAssertion_OwningEntity `protobuf:"varint,6,opt,name=owning_entity,json=owningEntity,enum=google.cloud.contextgraph.v1alpha1.RelationshipAbsentAssertion_OwningEntity" json:"owning_entity,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
    XXX_unrecognized     []byte                                   `json:"-"`
    XXX_sizecache        int32                                    `json:"-"`
}

An assertion that a single relationship has ceased to exist.

func (*RelationshipAbsentAssertion) Descriptor Uses

func (*RelationshipAbsentAssertion) Descriptor() ([]byte, []int)

func (*RelationshipAbsentAssertion) GetOwningEntity Uses

func (m *RelationshipAbsentAssertion) GetOwningEntity() RelationshipAbsentAssertion_OwningEntity

func (*RelationshipAbsentAssertion) GetRelationship Uses

func (m *RelationshipAbsentAssertion) GetRelationship() *Relationship

func (*RelationshipAbsentAssertion) GetTimestamp Uses

func (m *RelationshipAbsentAssertion) GetTimestamp() *timestamp.Timestamp

func (*RelationshipAbsentAssertion) ProtoMessage Uses

func (*RelationshipAbsentAssertion) ProtoMessage()

func (*RelationshipAbsentAssertion) Reset Uses

func (m *RelationshipAbsentAssertion) Reset()

func (*RelationshipAbsentAssertion) String Uses

func (m *RelationshipAbsentAssertion) String() string

func (*RelationshipAbsentAssertion) XXX_DiscardUnknown Uses

func (m *RelationshipAbsentAssertion) XXX_DiscardUnknown()

func (*RelationshipAbsentAssertion) XXX_Marshal Uses

func (m *RelationshipAbsentAssertion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RelationshipAbsentAssertion) XXX_Merge Uses

func (dst *RelationshipAbsentAssertion) XXX_Merge(src proto.Message)

func (*RelationshipAbsentAssertion) XXX_Size Uses

func (m *RelationshipAbsentAssertion) XXX_Size() int

func (*RelationshipAbsentAssertion) XXX_Unmarshal Uses

func (m *RelationshipAbsentAssertion) XXX_Unmarshal(b []byte) error

type RelationshipAbsentAssertion_OwningEntity Uses

type RelationshipAbsentAssertion_OwningEntity int32

The entity which owns this relationship.

const (
    // Placeholder.
    RelationshipAbsentAssertion_OWNING_ENTITY_UNSPECIFIED RelationshipAbsentAssertion_OwningEntity = 0
    // Source entity.
    RelationshipAbsentAssertion_SOURCE RelationshipAbsentAssertion_OwningEntity = 1
    // Target entity.
    RelationshipAbsentAssertion_TARGET RelationshipAbsentAssertion_OwningEntity = 2
    // Not owned by either end.
    RelationshipAbsentAssertion_FREE RelationshipAbsentAssertion_OwningEntity = 3
)

func (RelationshipAbsentAssertion_OwningEntity) EnumDescriptor Uses

func (RelationshipAbsentAssertion_OwningEntity) EnumDescriptor() ([]byte, []int)

func (RelationshipAbsentAssertion_OwningEntity) String Uses

func (x RelationshipAbsentAssertion_OwningEntity) String() string

type RelationshipPresentAssertion Uses

type RelationshipPresentAssertion struct {
    // The point in history where we make this assertion.
    Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"`
    // The relationship being asserted present.
    Relationship *Relationship `protobuf:"bytes,2,opt,name=relationship" json:"relationship,omitempty"`
    // [REQUIRED] The entity which owns this relationship.
    OwningEntity         RelationshipPresentAssertion_OwningEntity `protobuf:"varint,6,opt,name=owning_entity,json=owningEntity,enum=google.cloud.contextgraph.v1alpha1.RelationshipPresentAssertion_OwningEntity" json:"owning_entity,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                  `json:"-"`
    XXX_unrecognized     []byte                                    `json:"-"`
    XXX_sizecache        int32                                     `json:"-"`
}

An assertion that a single relationship exists.

func (*RelationshipPresentAssertion) Descriptor Uses

func (*RelationshipPresentAssertion) Descriptor() ([]byte, []int)

func (*RelationshipPresentAssertion) GetOwningEntity Uses

func (m *RelationshipPresentAssertion) GetOwningEntity() RelationshipPresentAssertion_OwningEntity

func (*RelationshipPresentAssertion) GetRelationship Uses

func (m *RelationshipPresentAssertion) GetRelationship() *Relationship

func (*RelationshipPresentAssertion) GetTimestamp Uses

func (m *RelationshipPresentAssertion) GetTimestamp() *timestamp.Timestamp

func (*RelationshipPresentAssertion) ProtoMessage Uses

func (*RelationshipPresentAssertion) ProtoMessage()

func (*RelationshipPresentAssertion) Reset Uses

func (m *RelationshipPresentAssertion) Reset()

func (*RelationshipPresentAssertion) String Uses

func (m *RelationshipPresentAssertion) String() string

func (*RelationshipPresentAssertion) XXX_DiscardUnknown Uses

func (m *RelationshipPresentAssertion) XXX_DiscardUnknown()

func (*RelationshipPresentAssertion) XXX_Marshal Uses

func (m *RelationshipPresentAssertion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RelationshipPresentAssertion) XXX_Merge Uses

func (dst *RelationshipPresentAssertion) XXX_Merge(src proto.Message)

func (*RelationshipPresentAssertion) XXX_Size Uses

func (m *RelationshipPresentAssertion) XXX_Size() int

func (*RelationshipPresentAssertion) XXX_Unmarshal Uses

func (m *RelationshipPresentAssertion) XXX_Unmarshal(b []byte) error

type RelationshipPresentAssertion_OwningEntity Uses

type RelationshipPresentAssertion_OwningEntity int32

The entity which owns this relationship.

const (
    // Placeholder.
    RelationshipPresentAssertion_OWNING_ENTITY_UNSPECIFIED RelationshipPresentAssertion_OwningEntity = 0
    // Source entity.
    RelationshipPresentAssertion_SOURCE RelationshipPresentAssertion_OwningEntity = 1
    // Target entity.
    RelationshipPresentAssertion_TARGET RelationshipPresentAssertion_OwningEntity = 2
    // Not owned by either end.
    RelationshipPresentAssertion_FREE RelationshipPresentAssertion_OwningEntity = 3
)

func (RelationshipPresentAssertion_OwningEntity) EnumDescriptor Uses

func (RelationshipPresentAssertion_OwningEntity) EnumDescriptor() ([]byte, []int)

func (RelationshipPresentAssertion_OwningEntity) String Uses

func (x RelationshipPresentAssertion_OwningEntity) String() string

Package contextgraph imports 11 packages (graph) and is imported by 3 packages. Updated 2019-05-19. Refresh now. Tools for package owners.