Documentation ¶
Index ¶
- type AlertServiceClient
- type AlertServiceDescriptor
- func (d *AlertServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor
- func (d *AlertServiceDescriptor) GetApiName() string
- func (d *AlertServiceDescriptor) GetFullAPIName() string
- func (d *AlertServiceDescriptor) GetProtoPkgName() string
- func (d *AlertServiceDescriptor) GetServiceDomain() string
- func (d *AlertServiceDescriptor) GetServiceVersion() string
- type BatchGetAlertsDescriptor
- func (d *BatchGetAlertsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *BatchGetAlertsDescriptor) GetApiName() string
- func (d *BatchGetAlertsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *BatchGetAlertsDescriptor) GetFullMethodName() string
- func (d *BatchGetAlertsDescriptor) GetMethodName() string
- func (d *BatchGetAlertsDescriptor) GetProtoPkgName() string
- func (d *BatchGetAlertsDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *BatchGetAlertsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *BatchGetAlertsDescriptor) GetServiceDomain() string
- func (d *BatchGetAlertsDescriptor) GetServiceVersion() string
- func (d *BatchGetAlertsDescriptor) GetVerb() string
- func (d *BatchGetAlertsDescriptor) HasResource() bool
- func (d *BatchGetAlertsDescriptor) IsClientStream() bool
- func (d *BatchGetAlertsDescriptor) IsCollection() bool
- func (d *BatchGetAlertsDescriptor) IsPlural() bool
- func (d *BatchGetAlertsDescriptor) IsServerStream() bool
- func (d *BatchGetAlertsDescriptor) IsUnary() bool
- func (d *BatchGetAlertsDescriptor) NewEmptyClientMsg() proto.Message
- func (d *BatchGetAlertsDescriptor) NewEmptyServerMsg() proto.Message
- func (d *BatchGetAlertsDescriptor) RequestHasResourceBody() bool
- type BatchGetAlertsDescriptorClientMsgHandle
- func (h *BatchGetAlertsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type BatchGetAlertsDescriptorServerMsgHandle
- func (h *BatchGetAlertsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type BatchGetAlertsRequest
- func (*BatchGetAlertsRequest) Descriptor() ([]byte, []int)
- func (m *BatchGetAlertsRequest) GetFieldMask() *alert.Alert_FieldMask
- func (m *BatchGetAlertsRequest) GetNames() []*alert.Name
- func (m *BatchGetAlertsRequest) GetView() view.View
- func (*BatchGetAlertsRequest) GotenMessage()
- func (obj *BatchGetAlertsRequest) GotenValidate() error
- func (m *BatchGetAlertsRequest) Marshal() ([]byte, error)
- func (m *BatchGetAlertsRequest) MarshalJSON() ([]byte, error)
- func (*BatchGetAlertsRequest) ProtoMessage()
- func (m *BatchGetAlertsRequest) ProtoReflect() preflect.Message
- func (m *BatchGetAlertsRequest) Reset()
- func (m *BatchGetAlertsRequest) SetFieldMask(fv *alert.Alert_FieldMask)
- func (m *BatchGetAlertsRequest) SetNames(fv []*alert.Name)
- func (m *BatchGetAlertsRequest) SetView(fv view.View)
- func (m *BatchGetAlertsRequest) String() string
- func (m *BatchGetAlertsRequest) Unmarshal(b []byte) error
- func (m *BatchGetAlertsRequest) UnmarshalJSON(data []byte) error
- type BatchGetAlertsResponse
- func (*BatchGetAlertsResponse) Descriptor() ([]byte, []int)
- func (m *BatchGetAlertsResponse) GetAlerts() []*alert.Alert
- func (m *BatchGetAlertsResponse) GetMissing() []*alert.Name
- func (*BatchGetAlertsResponse) GotenMessage()
- func (obj *BatchGetAlertsResponse) GotenValidate() error
- func (m *BatchGetAlertsResponse) Marshal() ([]byte, error)
- func (m *BatchGetAlertsResponse) MarshalJSON() ([]byte, error)
- func (*BatchGetAlertsResponse) ProtoMessage()
- func (m *BatchGetAlertsResponse) ProtoReflect() preflect.Message
- func (m *BatchGetAlertsResponse) Reset()
- func (m *BatchGetAlertsResponse) SetAlerts(fv []*alert.Alert)
- func (m *BatchGetAlertsResponse) SetMissing(fv []*alert.Name)
- func (m *BatchGetAlertsResponse) String() string
- func (m *BatchGetAlertsResponse) Unmarshal(b []byte) error
- func (m *BatchGetAlertsResponse) UnmarshalJSON(data []byte) error
- type CreateAlertDescriptor
- func (d *CreateAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *CreateAlertDescriptor) GetApiName() string
- func (d *CreateAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CreateAlertDescriptor) GetFullMethodName() string
- func (d *CreateAlertDescriptor) GetMethodName() string
- func (d *CreateAlertDescriptor) GetProtoPkgName() string
- func (d *CreateAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *CreateAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CreateAlertDescriptor) GetServiceDomain() string
- func (d *CreateAlertDescriptor) GetServiceVersion() string
- func (d *CreateAlertDescriptor) GetVerb() string
- func (d *CreateAlertDescriptor) HasResource() bool
- func (d *CreateAlertDescriptor) IsClientStream() bool
- func (d *CreateAlertDescriptor) IsCollection() bool
- func (d *CreateAlertDescriptor) IsPlural() bool
- func (d *CreateAlertDescriptor) IsServerStream() bool
- func (d *CreateAlertDescriptor) IsUnary() bool
- func (d *CreateAlertDescriptor) NewEmptyClientMsg() proto.Message
- func (d *CreateAlertDescriptor) NewEmptyServerMsg() proto.Message
- func (d *CreateAlertDescriptor) RequestHasResourceBody() bool
- type CreateAlertDescriptorClientMsgHandle
- func (h *CreateAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CreateAlertDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CreateAlertDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CreateAlertDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CreateAlertDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CreateAlertDescriptorServerMsgHandle
- func (h *CreateAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CreateAlertDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CreateAlertDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CreateAlertDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CreateAlertDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CreateAlertRequest
- func (*CreateAlertRequest) Descriptor() ([]byte, []int)
- func (m *CreateAlertRequest) GetAlert() *alert.Alert
- func (m *CreateAlertRequest) GetParent() *alert.ParentName
- func (*CreateAlertRequest) GotenMessage()
- func (obj *CreateAlertRequest) GotenValidate() error
- func (m *CreateAlertRequest) Marshal() ([]byte, error)
- func (m *CreateAlertRequest) MarshalJSON() ([]byte, error)
- func (*CreateAlertRequest) ProtoMessage()
- func (m *CreateAlertRequest) ProtoReflect() preflect.Message
- func (m *CreateAlertRequest) Reset()
- func (m *CreateAlertRequest) SetAlert(fv *alert.Alert)
- func (m *CreateAlertRequest) SetParent(fv *alert.ParentName)
- func (m *CreateAlertRequest) String() string
- func (m *CreateAlertRequest) Unmarshal(b []byte) error
- func (m *CreateAlertRequest) UnmarshalJSON(data []byte) error
- type DeleteAlertDescriptor
- func (d *DeleteAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *DeleteAlertDescriptor) GetApiName() string
- func (d *DeleteAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *DeleteAlertDescriptor) GetFullMethodName() string
- func (d *DeleteAlertDescriptor) GetMethodName() string
- func (d *DeleteAlertDescriptor) GetProtoPkgName() string
- func (d *DeleteAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *DeleteAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *DeleteAlertDescriptor) GetServiceDomain() string
- func (d *DeleteAlertDescriptor) GetServiceVersion() string
- func (d *DeleteAlertDescriptor) GetVerb() string
- func (d *DeleteAlertDescriptor) HasResource() bool
- func (d *DeleteAlertDescriptor) IsClientStream() bool
- func (d *DeleteAlertDescriptor) IsCollection() bool
- func (d *DeleteAlertDescriptor) IsPlural() bool
- func (d *DeleteAlertDescriptor) IsServerStream() bool
- func (d *DeleteAlertDescriptor) IsUnary() bool
- func (d *DeleteAlertDescriptor) NewEmptyClientMsg() proto.Message
- func (d *DeleteAlertDescriptor) NewEmptyServerMsg() proto.Message
- func (d *DeleteAlertDescriptor) RequestHasResourceBody() bool
- type DeleteAlertDescriptorClientMsgHandle
- func (h *DeleteAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *DeleteAlertDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *DeleteAlertDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *DeleteAlertDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *DeleteAlertDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type DeleteAlertDescriptorServerMsgHandle
- func (h *DeleteAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *DeleteAlertDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *DeleteAlertDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *DeleteAlertDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *DeleteAlertDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type DeleteAlertRequest
- func (*DeleteAlertRequest) Descriptor() ([]byte, []int)
- func (m *DeleteAlertRequest) GetName() *alert.Name
- func (*DeleteAlertRequest) GotenMessage()
- func (obj *DeleteAlertRequest) GotenValidate() error
- func (m *DeleteAlertRequest) Marshal() ([]byte, error)
- func (m *DeleteAlertRequest) MarshalJSON() ([]byte, error)
- func (*DeleteAlertRequest) ProtoMessage()
- func (m *DeleteAlertRequest) ProtoReflect() preflect.Message
- func (m *DeleteAlertRequest) Reset()
- func (m *DeleteAlertRequest) SetName(fv *alert.Name)
- func (m *DeleteAlertRequest) String() string
- func (m *DeleteAlertRequest) Unmarshal(b []byte) error
- func (m *DeleteAlertRequest) UnmarshalJSON(data []byte) error
- type GetAlertDescriptor
- func (d *GetAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *GetAlertDescriptor) GetApiName() string
- func (d *GetAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *GetAlertDescriptor) GetFullMethodName() string
- func (d *GetAlertDescriptor) GetMethodName() string
- func (d *GetAlertDescriptor) GetProtoPkgName() string
- func (d *GetAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *GetAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *GetAlertDescriptor) GetServiceDomain() string
- func (d *GetAlertDescriptor) GetServiceVersion() string
- func (d *GetAlertDescriptor) GetVerb() string
- func (d *GetAlertDescriptor) HasResource() bool
- func (d *GetAlertDescriptor) IsClientStream() bool
- func (d *GetAlertDescriptor) IsCollection() bool
- func (d *GetAlertDescriptor) IsPlural() bool
- func (d *GetAlertDescriptor) IsServerStream() bool
- func (d *GetAlertDescriptor) IsUnary() bool
- func (d *GetAlertDescriptor) NewEmptyClientMsg() proto.Message
- func (d *GetAlertDescriptor) NewEmptyServerMsg() proto.Message
- func (d *GetAlertDescriptor) RequestHasResourceBody() bool
- type GetAlertDescriptorClientMsgHandle
- func (h *GetAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *GetAlertDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *GetAlertDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *GetAlertDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *GetAlertDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type GetAlertDescriptorServerMsgHandle
- func (h *GetAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *GetAlertDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *GetAlertDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *GetAlertDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *GetAlertDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type GetAlertRequest
- func (*GetAlertRequest) Descriptor() ([]byte, []int)
- func (m *GetAlertRequest) GetFieldMask() *alert.Alert_FieldMask
- func (m *GetAlertRequest) GetName() *alert.Name
- func (m *GetAlertRequest) GetView() view.View
- func (*GetAlertRequest) GotenMessage()
- func (obj *GetAlertRequest) GotenValidate() error
- func (m *GetAlertRequest) Marshal() ([]byte, error)
- func (m *GetAlertRequest) MarshalJSON() ([]byte, error)
- func (*GetAlertRequest) ProtoMessage()
- func (m *GetAlertRequest) ProtoReflect() preflect.Message
- func (m *GetAlertRequest) Reset()
- func (m *GetAlertRequest) SetFieldMask(fv *alert.Alert_FieldMask)
- func (m *GetAlertRequest) SetName(fv *alert.Name)
- func (m *GetAlertRequest) SetView(fv view.View)
- func (m *GetAlertRequest) String() string
- func (m *GetAlertRequest) Unmarshal(b []byte) error
- func (m *GetAlertRequest) UnmarshalJSON(data []byte) error
- type ListAlertsDescriptor
- func (d *ListAlertsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *ListAlertsDescriptor) GetApiName() string
- func (d *ListAlertsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *ListAlertsDescriptor) GetFullMethodName() string
- func (d *ListAlertsDescriptor) GetMethodName() string
- func (d *ListAlertsDescriptor) GetProtoPkgName() string
- func (d *ListAlertsDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *ListAlertsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *ListAlertsDescriptor) GetServiceDomain() string
- func (d *ListAlertsDescriptor) GetServiceVersion() string
- func (d *ListAlertsDescriptor) GetVerb() string
- func (d *ListAlertsDescriptor) HasResource() bool
- func (d *ListAlertsDescriptor) IsClientStream() bool
- func (d *ListAlertsDescriptor) IsCollection() bool
- func (d *ListAlertsDescriptor) IsPlural() bool
- func (d *ListAlertsDescriptor) IsServerStream() bool
- func (d *ListAlertsDescriptor) IsUnary() bool
- func (d *ListAlertsDescriptor) NewEmptyClientMsg() proto.Message
- func (d *ListAlertsDescriptor) NewEmptyServerMsg() proto.Message
- func (d *ListAlertsDescriptor) RequestHasResourceBody() bool
- type ListAlertsDescriptorClientMsgHandle
- func (h *ListAlertsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *ListAlertsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *ListAlertsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *ListAlertsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *ListAlertsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type ListAlertsDescriptorServerMsgHandle
- func (h *ListAlertsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *ListAlertsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *ListAlertsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *ListAlertsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *ListAlertsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type ListAlertsRequest
- func (*ListAlertsRequest) Descriptor() ([]byte, []int)
- func (m *ListAlertsRequest) GetFieldMask() *alert.Alert_FieldMask
- func (m *ListAlertsRequest) GetFilter() *alert.Filter
- func (m *ListAlertsRequest) GetIncludePagingInfo() bool
- func (m *ListAlertsRequest) GetOrderBy() *alert.OrderBy
- func (m *ListAlertsRequest) GetPageSize() int32
- func (m *ListAlertsRequest) GetPageToken() *alert.PagerCursor
- func (m *ListAlertsRequest) GetParent() *alert.ParentName
- func (m *ListAlertsRequest) GetView() view.View
- func (*ListAlertsRequest) GotenMessage()
- func (obj *ListAlertsRequest) GotenValidate() error
- func (m *ListAlertsRequest) Marshal() ([]byte, error)
- func (m *ListAlertsRequest) MarshalJSON() ([]byte, error)
- func (*ListAlertsRequest) ProtoMessage()
- func (m *ListAlertsRequest) ProtoReflect() preflect.Message
- func (m *ListAlertsRequest) Reset()
- func (m *ListAlertsRequest) SetFieldMask(fv *alert.Alert_FieldMask)
- func (m *ListAlertsRequest) SetFilter(fv *alert.Filter)
- func (m *ListAlertsRequest) SetIncludePagingInfo(fv bool)
- func (m *ListAlertsRequest) SetOrderBy(fv *alert.OrderBy)
- func (m *ListAlertsRequest) SetPageSize(fv int32)
- func (m *ListAlertsRequest) SetPageToken(fv *alert.PagerCursor)
- func (m *ListAlertsRequest) SetParent(fv *alert.ParentName)
- func (m *ListAlertsRequest) SetView(fv view.View)
- func (m *ListAlertsRequest) String() string
- func (m *ListAlertsRequest) Unmarshal(b []byte) error
- func (m *ListAlertsRequest) UnmarshalJSON(data []byte) error
- type ListAlertsResponse
- func (*ListAlertsResponse) Descriptor() ([]byte, []int)
- func (m *ListAlertsResponse) GetAlerts() []*alert.Alert
- func (m *ListAlertsResponse) GetCurrentOffset() int32
- func (m *ListAlertsResponse) GetNextPageToken() *alert.PagerCursor
- func (m *ListAlertsResponse) GetPrevPageToken() *alert.PagerCursor
- func (m *ListAlertsResponse) GetTotalResultsCount() int32
- func (*ListAlertsResponse) GotenMessage()
- func (obj *ListAlertsResponse) GotenValidate() error
- func (m *ListAlertsResponse) Marshal() ([]byte, error)
- func (m *ListAlertsResponse) MarshalJSON() ([]byte, error)
- func (*ListAlertsResponse) ProtoMessage()
- func (m *ListAlertsResponse) ProtoReflect() preflect.Message
- func (m *ListAlertsResponse) Reset()
- func (m *ListAlertsResponse) SetAlerts(fv []*alert.Alert)
- func (m *ListAlertsResponse) SetCurrentOffset(fv int32)
- func (m *ListAlertsResponse) SetNextPageToken(fv *alert.PagerCursor)
- func (m *ListAlertsResponse) SetPrevPageToken(fv *alert.PagerCursor)
- func (m *ListAlertsResponse) SetTotalResultsCount(fv int32)
- func (m *ListAlertsResponse) String() string
- func (m *ListAlertsResponse) Unmarshal(b []byte) error
- func (m *ListAlertsResponse) UnmarshalJSON(data []byte) error
- type UpdateAlertDescriptor
- func (d *UpdateAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *UpdateAlertDescriptor) GetApiName() string
- func (d *UpdateAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *UpdateAlertDescriptor) GetFullMethodName() string
- func (d *UpdateAlertDescriptor) GetMethodName() string
- func (d *UpdateAlertDescriptor) GetProtoPkgName() string
- func (d *UpdateAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *UpdateAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *UpdateAlertDescriptor) GetServiceDomain() string
- func (d *UpdateAlertDescriptor) GetServiceVersion() string
- func (d *UpdateAlertDescriptor) GetVerb() string
- func (d *UpdateAlertDescriptor) HasResource() bool
- func (d *UpdateAlertDescriptor) IsClientStream() bool
- func (d *UpdateAlertDescriptor) IsCollection() bool
- func (d *UpdateAlertDescriptor) IsPlural() bool
- func (d *UpdateAlertDescriptor) IsServerStream() bool
- func (d *UpdateAlertDescriptor) IsUnary() bool
- func (d *UpdateAlertDescriptor) NewEmptyClientMsg() proto.Message
- func (d *UpdateAlertDescriptor) NewEmptyServerMsg() proto.Message
- func (d *UpdateAlertDescriptor) RequestHasResourceBody() bool
- type UpdateAlertDescriptorClientMsgHandle
- func (h *UpdateAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *UpdateAlertDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *UpdateAlertDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *UpdateAlertDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *UpdateAlertDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type UpdateAlertDescriptorServerMsgHandle
- func (h *UpdateAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *UpdateAlertDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *UpdateAlertDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *UpdateAlertDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *UpdateAlertDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type UpdateAlertRequest
- func (*UpdateAlertRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAlertRequest) GetAlert() *alert.Alert
- func (m *UpdateAlertRequest) GetAllowMissing() bool
- func (m *UpdateAlertRequest) GetCas() *UpdateAlertRequest_CAS
- func (m *UpdateAlertRequest) GetUpdateMask() *alert.Alert_FieldMask
- func (*UpdateAlertRequest) GotenMessage()
- func (obj *UpdateAlertRequest) GotenValidate() error
- func (m *UpdateAlertRequest) Marshal() ([]byte, error)
- func (m *UpdateAlertRequest) MarshalJSON() ([]byte, error)
- func (*UpdateAlertRequest) ProtoMessage()
- func (m *UpdateAlertRequest) ProtoReflect() preflect.Message
- func (m *UpdateAlertRequest) Reset()
- func (m *UpdateAlertRequest) SetAlert(fv *alert.Alert)
- func (m *UpdateAlertRequest) SetAllowMissing(fv bool)
- func (m *UpdateAlertRequest) SetCas(fv *UpdateAlertRequest_CAS)
- func (m *UpdateAlertRequest) SetUpdateMask(fv *alert.Alert_FieldMask)
- func (m *UpdateAlertRequest) String() string
- func (m *UpdateAlertRequest) Unmarshal(b []byte) error
- func (m *UpdateAlertRequest) UnmarshalJSON(data []byte) error
- type UpdateAlertRequest_CAS
- func (*UpdateAlertRequest_CAS) Descriptor() ([]byte, []int)
- func (m *UpdateAlertRequest_CAS) GetConditionalState() *alert.Alert
- func (m *UpdateAlertRequest_CAS) GetFieldMask() *alert.Alert_FieldMask
- func (*UpdateAlertRequest_CAS) GotenMessage()
- func (obj *UpdateAlertRequest_CAS) GotenValidate() error
- func (m *UpdateAlertRequest_CAS) Marshal() ([]byte, error)
- func (m *UpdateAlertRequest_CAS) MarshalJSON() ([]byte, error)
- func (*UpdateAlertRequest_CAS) ProtoMessage()
- func (m *UpdateAlertRequest_CAS) ProtoReflect() preflect.Message
- func (m *UpdateAlertRequest_CAS) Reset()
- func (m *UpdateAlertRequest_CAS) SetConditionalState(fv *alert.Alert)
- func (m *UpdateAlertRequest_CAS) SetFieldMask(fv *alert.Alert_FieldMask)
- func (m *UpdateAlertRequest_CAS) String() string
- func (m *UpdateAlertRequest_CAS) Unmarshal(b []byte) error
- func (m *UpdateAlertRequest_CAS) UnmarshalJSON(data []byte) error
- type WatchAlertClientStream
- type WatchAlertDescriptor
- func (d *WatchAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *WatchAlertDescriptor) GetApiName() string
- func (d *WatchAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchAlertDescriptor) GetFullMethodName() string
- func (d *WatchAlertDescriptor) GetMethodName() string
- func (d *WatchAlertDescriptor) GetProtoPkgName() string
- func (d *WatchAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *WatchAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchAlertDescriptor) GetServiceDomain() string
- func (d *WatchAlertDescriptor) GetServiceVersion() string
- func (d *WatchAlertDescriptor) GetVerb() string
- func (d *WatchAlertDescriptor) HasResource() bool
- func (d *WatchAlertDescriptor) IsClientStream() bool
- func (d *WatchAlertDescriptor) IsCollection() bool
- func (d *WatchAlertDescriptor) IsPlural() bool
- func (d *WatchAlertDescriptor) IsServerStream() bool
- func (d *WatchAlertDescriptor) IsUnary() bool
- func (d *WatchAlertDescriptor) NewEmptyClientMsg() proto.Message
- func (d *WatchAlertDescriptor) NewEmptyServerMsg() proto.Message
- func (d *WatchAlertDescriptor) RequestHasResourceBody() bool
- type WatchAlertDescriptorClientMsgHandle
- func (h *WatchAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchAlertDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchAlertDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchAlertDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchAlertDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchAlertDescriptorServerMsgHandle
- func (h *WatchAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchAlertDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchAlertDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchAlertDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchAlertDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchAlertRequest
- func (*WatchAlertRequest) Descriptor() ([]byte, []int)
- func (m *WatchAlertRequest) GetFieldMask() *alert.Alert_FieldMask
- func (m *WatchAlertRequest) GetName() *alert.Name
- func (m *WatchAlertRequest) GetView() view.View
- func (*WatchAlertRequest) GotenMessage()
- func (obj *WatchAlertRequest) GotenValidate() error
- func (m *WatchAlertRequest) Marshal() ([]byte, error)
- func (m *WatchAlertRequest) MarshalJSON() ([]byte, error)
- func (*WatchAlertRequest) ProtoMessage()
- func (m *WatchAlertRequest) ProtoReflect() preflect.Message
- func (m *WatchAlertRequest) Reset()
- func (m *WatchAlertRequest) SetFieldMask(fv *alert.Alert_FieldMask)
- func (m *WatchAlertRequest) SetName(fv *alert.Name)
- func (m *WatchAlertRequest) SetView(fv view.View)
- func (m *WatchAlertRequest) String() string
- func (m *WatchAlertRequest) Unmarshal(b []byte) error
- func (m *WatchAlertRequest) UnmarshalJSON(data []byte) error
- type WatchAlertResponse
- func (*WatchAlertResponse) Descriptor() ([]byte, []int)
- func (m *WatchAlertResponse) GetChange() *alert.AlertChange
- func (*WatchAlertResponse) GotenMessage()
- func (obj *WatchAlertResponse) GotenValidate() error
- func (m *WatchAlertResponse) Marshal() ([]byte, error)
- func (m *WatchAlertResponse) MarshalJSON() ([]byte, error)
- func (*WatchAlertResponse) ProtoMessage()
- func (m *WatchAlertResponse) ProtoReflect() preflect.Message
- func (m *WatchAlertResponse) Reset()
- func (m *WatchAlertResponse) SetChange(fv *alert.AlertChange)
- func (m *WatchAlertResponse) String() string
- func (m *WatchAlertResponse) Unmarshal(b []byte) error
- func (m *WatchAlertResponse) UnmarshalJSON(data []byte) error
- type WatchAlertsClientStream
- type WatchAlertsDescriptor
- func (d *WatchAlertsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *WatchAlertsDescriptor) GetApiName() string
- func (d *WatchAlertsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchAlertsDescriptor) GetFullMethodName() string
- func (d *WatchAlertsDescriptor) GetMethodName() string
- func (d *WatchAlertsDescriptor) GetProtoPkgName() string
- func (d *WatchAlertsDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *WatchAlertsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchAlertsDescriptor) GetServiceDomain() string
- func (d *WatchAlertsDescriptor) GetServiceVersion() string
- func (d *WatchAlertsDescriptor) GetVerb() string
- func (d *WatchAlertsDescriptor) HasResource() bool
- func (d *WatchAlertsDescriptor) IsClientStream() bool
- func (d *WatchAlertsDescriptor) IsCollection() bool
- func (d *WatchAlertsDescriptor) IsPlural() bool
- func (d *WatchAlertsDescriptor) IsServerStream() bool
- func (d *WatchAlertsDescriptor) IsUnary() bool
- func (d *WatchAlertsDescriptor) NewEmptyClientMsg() proto.Message
- func (d *WatchAlertsDescriptor) NewEmptyServerMsg() proto.Message
- func (d *WatchAlertsDescriptor) RequestHasResourceBody() bool
- type WatchAlertsDescriptorClientMsgHandle
- func (h *WatchAlertsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchAlertsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchAlertsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchAlertsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchAlertsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchAlertsDescriptorServerMsgHandle
- func (h *WatchAlertsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchAlertsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchAlertsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchAlertsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchAlertsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchAlertsRequest
- func (*WatchAlertsRequest) Descriptor() ([]byte, []int)
- func (m *WatchAlertsRequest) GetFieldMask() *alert.Alert_FieldMask
- func (m *WatchAlertsRequest) GetFilter() *alert.Filter
- func (m *WatchAlertsRequest) GetMaxChunkSize() int32
- func (m *WatchAlertsRequest) GetOrderBy() *alert.OrderBy
- func (m *WatchAlertsRequest) GetPageSize() int32
- func (m *WatchAlertsRequest) GetPageToken() *alert.PagerCursor
- func (m *WatchAlertsRequest) GetParent() *alert.ParentName
- func (m *WatchAlertsRequest) GetResumeToken() string
- func (m *WatchAlertsRequest) GetStartingTime() *timestamppb.Timestamp
- func (m *WatchAlertsRequest) GetType() watch_type.WatchType
- func (m *WatchAlertsRequest) GetView() view.View
- func (*WatchAlertsRequest) GotenMessage()
- func (obj *WatchAlertsRequest) GotenValidate() error
- func (m *WatchAlertsRequest) Marshal() ([]byte, error)
- func (m *WatchAlertsRequest) MarshalJSON() ([]byte, error)
- func (*WatchAlertsRequest) ProtoMessage()
- func (m *WatchAlertsRequest) ProtoReflect() preflect.Message
- func (m *WatchAlertsRequest) Reset()
- func (m *WatchAlertsRequest) SetFieldMask(fv *alert.Alert_FieldMask)
- func (m *WatchAlertsRequest) SetFilter(fv *alert.Filter)
- func (m *WatchAlertsRequest) SetMaxChunkSize(fv int32)
- func (m *WatchAlertsRequest) SetOrderBy(fv *alert.OrderBy)
- func (m *WatchAlertsRequest) SetPageSize(fv int32)
- func (m *WatchAlertsRequest) SetPageToken(fv *alert.PagerCursor)
- func (m *WatchAlertsRequest) SetParent(fv *alert.ParentName)
- func (m *WatchAlertsRequest) SetResumeToken(fv string)
- func (m *WatchAlertsRequest) SetStartingTime(fv *timestamppb.Timestamp)
- func (m *WatchAlertsRequest) SetType(fv watch_type.WatchType)
- func (m *WatchAlertsRequest) SetView(fv view.View)
- func (m *WatchAlertsRequest) String() string
- func (m *WatchAlertsRequest) Unmarshal(b []byte) error
- func (m *WatchAlertsRequest) UnmarshalJSON(data []byte) error
- type WatchAlertsResponse
- func (*WatchAlertsResponse) Descriptor() ([]byte, []int)
- func (m *WatchAlertsResponse) GetAlertChanges() []*alert.AlertChange
- func (m *WatchAlertsResponse) GetIsCurrent() bool
- func (m *WatchAlertsResponse) GetIsHardReset() bool
- func (m *WatchAlertsResponse) GetIsSoftReset() bool
- func (m *WatchAlertsResponse) GetPageTokenChange() *WatchAlertsResponse_PageTokenChange
- func (m *WatchAlertsResponse) GetResumeToken() string
- func (m *WatchAlertsResponse) GetSnapshotSize() int64
- func (*WatchAlertsResponse) GotenMessage()
- func (obj *WatchAlertsResponse) GotenValidate() error
- func (m *WatchAlertsResponse) Marshal() ([]byte, error)
- func (m *WatchAlertsResponse) MarshalJSON() ([]byte, error)
- func (*WatchAlertsResponse) ProtoMessage()
- func (m *WatchAlertsResponse) ProtoReflect() preflect.Message
- func (m *WatchAlertsResponse) Reset()
- func (m *WatchAlertsResponse) SetAlertChanges(fv []*alert.AlertChange)
- func (m *WatchAlertsResponse) SetIsCurrent(fv bool)
- func (m *WatchAlertsResponse) SetIsHardReset(fv bool)
- func (m *WatchAlertsResponse) SetIsSoftReset(fv bool)
- func (m *WatchAlertsResponse) SetPageTokenChange(fv *WatchAlertsResponse_PageTokenChange)
- func (m *WatchAlertsResponse) SetResumeToken(fv string)
- func (m *WatchAlertsResponse) SetSnapshotSize(fv int64)
- func (m *WatchAlertsResponse) String() string
- func (m *WatchAlertsResponse) Unmarshal(b []byte) error
- func (m *WatchAlertsResponse) UnmarshalJSON(data []byte) error
- type WatchAlertsResponse_PageTokenChange
- func (*WatchAlertsResponse_PageTokenChange) Descriptor() ([]byte, []int)
- func (m *WatchAlertsResponse_PageTokenChange) GetNextPageToken() *alert.PagerCursor
- func (m *WatchAlertsResponse_PageTokenChange) GetPrevPageToken() *alert.PagerCursor
- func (*WatchAlertsResponse_PageTokenChange) GotenMessage()
- func (obj *WatchAlertsResponse_PageTokenChange) GotenValidate() error
- func (m *WatchAlertsResponse_PageTokenChange) Marshal() ([]byte, error)
- func (m *WatchAlertsResponse_PageTokenChange) MarshalJSON() ([]byte, error)
- func (*WatchAlertsResponse_PageTokenChange) ProtoMessage()
- func (m *WatchAlertsResponse_PageTokenChange) ProtoReflect() preflect.Message
- func (m *WatchAlertsResponse_PageTokenChange) Reset()
- func (m *WatchAlertsResponse_PageTokenChange) SetNextPageToken(fv *alert.PagerCursor)
- func (m *WatchAlertsResponse_PageTokenChange) SetPrevPageToken(fv *alert.PagerCursor)
- func (m *WatchAlertsResponse_PageTokenChange) String() string
- func (m *WatchAlertsResponse_PageTokenChange) Unmarshal(b []byte) error
- func (m *WatchAlertsResponse_PageTokenChange) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertServiceClient ¶
type AlertServiceClient interface { GetAlert(ctx context.Context, in *GetAlertRequest, opts ...grpc.CallOption) (*alert.Alert, error) BatchGetAlerts(ctx context.Context, in *BatchGetAlertsRequest, opts ...grpc.CallOption) (*BatchGetAlertsResponse, error) ListAlerts(ctx context.Context, in *ListAlertsRequest, opts ...grpc.CallOption) (*ListAlertsResponse, error) WatchAlert(ctx context.Context, in *WatchAlertRequest, opts ...grpc.CallOption) (WatchAlertClientStream, error) WatchAlerts(ctx context.Context, in *WatchAlertsRequest, opts ...grpc.CallOption) (WatchAlertsClientStream, error) CreateAlert(ctx context.Context, in *CreateAlertRequest, opts ...grpc.CallOption) (*alert.Alert, error) UpdateAlert(ctx context.Context, in *UpdateAlertRequest, opts ...grpc.CallOption) (*alert.Alert, error) DeleteAlert(ctx context.Context, in *DeleteAlertRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AlertServiceClient is the client API for AlertService.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAlertServiceClient ¶
func NewAlertServiceClient(cc grpc.ClientConnInterface) AlertServiceClient
type AlertServiceDescriptor ¶
type AlertServiceDescriptor struct{}
func GetAlertServiceDescriptor ¶
func GetAlertServiceDescriptor() *AlertServiceDescriptor
func (*AlertServiceDescriptor) AllMethodDescriptors ¶
func (d *AlertServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor
func (*AlertServiceDescriptor) GetApiName ¶
func (d *AlertServiceDescriptor) GetApiName() string
func (*AlertServiceDescriptor) GetFullAPIName ¶
func (d *AlertServiceDescriptor) GetFullAPIName() string
func (*AlertServiceDescriptor) GetProtoPkgName ¶
func (d *AlertServiceDescriptor) GetProtoPkgName() string
func (*AlertServiceDescriptor) GetServiceDomain ¶
func (d *AlertServiceDescriptor) GetServiceDomain() string
func (*AlertServiceDescriptor) GetServiceVersion ¶
func (d *AlertServiceDescriptor) GetServiceVersion() string
type BatchGetAlertsDescriptor ¶
type BatchGetAlertsDescriptor struct{}
func GetBatchGetAlertsDescriptor ¶
func GetBatchGetAlertsDescriptor() *BatchGetAlertsDescriptor
func (*BatchGetAlertsDescriptor) GetApiDescriptor ¶
func (d *BatchGetAlertsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*BatchGetAlertsDescriptor) GetApiName ¶
func (d *BatchGetAlertsDescriptor) GetApiName() string
func (*BatchGetAlertsDescriptor) GetClientMsgReflectHandle ¶
func (d *BatchGetAlertsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*BatchGetAlertsDescriptor) GetFullMethodName ¶
func (d *BatchGetAlertsDescriptor) GetFullMethodName() string
func (*BatchGetAlertsDescriptor) GetMethodName ¶
func (d *BatchGetAlertsDescriptor) GetMethodName() string
func (*BatchGetAlertsDescriptor) GetProtoPkgName ¶
func (d *BatchGetAlertsDescriptor) GetProtoPkgName() string
func (*BatchGetAlertsDescriptor) GetResourceDescriptor ¶
func (d *BatchGetAlertsDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*BatchGetAlertsDescriptor) GetServerMsgReflectHandle ¶
func (d *BatchGetAlertsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*BatchGetAlertsDescriptor) GetServiceDomain ¶
func (d *BatchGetAlertsDescriptor) GetServiceDomain() string
func (*BatchGetAlertsDescriptor) GetServiceVersion ¶
func (d *BatchGetAlertsDescriptor) GetServiceVersion() string
func (*BatchGetAlertsDescriptor) GetVerb ¶
func (d *BatchGetAlertsDescriptor) GetVerb() string
func (*BatchGetAlertsDescriptor) HasResource ¶
func (d *BatchGetAlertsDescriptor) HasResource() bool
func (*BatchGetAlertsDescriptor) IsClientStream ¶
func (d *BatchGetAlertsDescriptor) IsClientStream() bool
func (*BatchGetAlertsDescriptor) IsCollection ¶
func (d *BatchGetAlertsDescriptor) IsCollection() bool
func (*BatchGetAlertsDescriptor) IsPlural ¶
func (d *BatchGetAlertsDescriptor) IsPlural() bool
func (*BatchGetAlertsDescriptor) IsServerStream ¶
func (d *BatchGetAlertsDescriptor) IsServerStream() bool
func (*BatchGetAlertsDescriptor) IsUnary ¶
func (d *BatchGetAlertsDescriptor) IsUnary() bool
func (*BatchGetAlertsDescriptor) NewEmptyClientMsg ¶
func (d *BatchGetAlertsDescriptor) NewEmptyClientMsg() proto.Message
func (*BatchGetAlertsDescriptor) NewEmptyServerMsg ¶
func (d *BatchGetAlertsDescriptor) NewEmptyServerMsg() proto.Message
func (*BatchGetAlertsDescriptor) RequestHasResourceBody ¶
func (d *BatchGetAlertsDescriptor) RequestHasResourceBody() bool
type BatchGetAlertsDescriptorClientMsgHandle ¶
type BatchGetAlertsDescriptorClientMsgHandle struct{}
func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractCollectionName ¶
func (h *BatchGetAlertsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type BatchGetAlertsDescriptorServerMsgHandle ¶
type BatchGetAlertsDescriptorServerMsgHandle struct{}
func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *BatchGetAlertsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type BatchGetAlertsRequest ¶
type BatchGetAlertsRequest struct { // Names of Alerts Names []*alert.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty" firestore:"names"` // A list of extra fields to be obtained for each response item on top of // fields defined by request field view FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */ // View defines list of standard response fields present in response items. // Additional fields can be amended by request field field_mask View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"` // contains filtered or unexported fields }
Request message for method [BatchGetAlerts][ntt.monitoring.v4.BatchGetAlerts]
func (*BatchGetAlertsRequest) Descriptor ¶
func (*BatchGetAlertsRequest) Descriptor() ([]byte, []int)
Deprecated, Use BatchGetAlertsRequest.ProtoReflect.Descriptor instead.
func (*BatchGetAlertsRequest) GetFieldMask ¶
func (m *BatchGetAlertsRequest) GetFieldMask() *alert.Alert_FieldMask
func (*BatchGetAlertsRequest) GetNames ¶
func (m *BatchGetAlertsRequest) GetNames() []*alert.Name
func (*BatchGetAlertsRequest) GetView ¶
func (m *BatchGetAlertsRequest) GetView() view.View
func (*BatchGetAlertsRequest) GotenMessage ¶
func (*BatchGetAlertsRequest) GotenMessage()
func (*BatchGetAlertsRequest) GotenValidate ¶
func (obj *BatchGetAlertsRequest) GotenValidate() error
func (*BatchGetAlertsRequest) Marshal ¶
func (m *BatchGetAlertsRequest) Marshal() ([]byte, error)
func (*BatchGetAlertsRequest) MarshalJSON ¶
func (m *BatchGetAlertsRequest) MarshalJSON() ([]byte, error)
func (*BatchGetAlertsRequest) ProtoMessage ¶
func (*BatchGetAlertsRequest) ProtoMessage()
func (*BatchGetAlertsRequest) ProtoReflect ¶
func (m *BatchGetAlertsRequest) ProtoReflect() preflect.Message
func (*BatchGetAlertsRequest) Reset ¶
func (m *BatchGetAlertsRequest) Reset()
func (*BatchGetAlertsRequest) SetFieldMask ¶
func (m *BatchGetAlertsRequest) SetFieldMask(fv *alert.Alert_FieldMask)
func (*BatchGetAlertsRequest) SetNames ¶
func (m *BatchGetAlertsRequest) SetNames(fv []*alert.Name)
func (*BatchGetAlertsRequest) SetView ¶
func (m *BatchGetAlertsRequest) SetView(fv view.View)
func (*BatchGetAlertsRequest) String ¶
func (m *BatchGetAlertsRequest) String() string
func (*BatchGetAlertsRequest) Unmarshal ¶
func (m *BatchGetAlertsRequest) Unmarshal(b []byte) error
func (*BatchGetAlertsRequest) UnmarshalJSON ¶
func (m *BatchGetAlertsRequest) UnmarshalJSON(data []byte) error
type BatchGetAlertsResponse ¶
type BatchGetAlertsResponse struct { // found Alerts Alerts []*alert.Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty" firestore:"alerts"` // list of not found Alerts Missing []*alert.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty" firestore:"missing"` // contains filtered or unexported fields }
BatchGetAlertsResponse
func (*BatchGetAlertsResponse) Descriptor ¶
func (*BatchGetAlertsResponse) Descriptor() ([]byte, []int)
Deprecated, Use BatchGetAlertsResponse.ProtoReflect.Descriptor instead.
func (*BatchGetAlertsResponse) GetAlerts ¶
func (m *BatchGetAlertsResponse) GetAlerts() []*alert.Alert
func (*BatchGetAlertsResponse) GetMissing ¶
func (m *BatchGetAlertsResponse) GetMissing() []*alert.Name
func (*BatchGetAlertsResponse) GotenMessage ¶
func (*BatchGetAlertsResponse) GotenMessage()
func (*BatchGetAlertsResponse) GotenValidate ¶
func (obj *BatchGetAlertsResponse) GotenValidate() error
func (*BatchGetAlertsResponse) Marshal ¶
func (m *BatchGetAlertsResponse) Marshal() ([]byte, error)
func (*BatchGetAlertsResponse) MarshalJSON ¶
func (m *BatchGetAlertsResponse) MarshalJSON() ([]byte, error)
func (*BatchGetAlertsResponse) ProtoMessage ¶
func (*BatchGetAlertsResponse) ProtoMessage()
func (*BatchGetAlertsResponse) ProtoReflect ¶
func (m *BatchGetAlertsResponse) ProtoReflect() preflect.Message
func (*BatchGetAlertsResponse) Reset ¶
func (m *BatchGetAlertsResponse) Reset()
func (*BatchGetAlertsResponse) SetAlerts ¶
func (m *BatchGetAlertsResponse) SetAlerts(fv []*alert.Alert)
func (*BatchGetAlertsResponse) SetMissing ¶
func (m *BatchGetAlertsResponse) SetMissing(fv []*alert.Name)
func (*BatchGetAlertsResponse) String ¶
func (m *BatchGetAlertsResponse) String() string
func (*BatchGetAlertsResponse) Unmarshal ¶
func (m *BatchGetAlertsResponse) Unmarshal(b []byte) error
func (*BatchGetAlertsResponse) UnmarshalJSON ¶
func (m *BatchGetAlertsResponse) UnmarshalJSON(data []byte) error
type CreateAlertDescriptor ¶
type CreateAlertDescriptor struct{}
func GetCreateAlertDescriptor ¶
func GetCreateAlertDescriptor() *CreateAlertDescriptor
func (*CreateAlertDescriptor) GetApiDescriptor ¶
func (d *CreateAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*CreateAlertDescriptor) GetApiName ¶
func (d *CreateAlertDescriptor) GetApiName() string
func (*CreateAlertDescriptor) GetClientMsgReflectHandle ¶
func (d *CreateAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*CreateAlertDescriptor) GetFullMethodName ¶
func (d *CreateAlertDescriptor) GetFullMethodName() string
func (*CreateAlertDescriptor) GetMethodName ¶
func (d *CreateAlertDescriptor) GetMethodName() string
func (*CreateAlertDescriptor) GetProtoPkgName ¶
func (d *CreateAlertDescriptor) GetProtoPkgName() string
func (*CreateAlertDescriptor) GetResourceDescriptor ¶
func (d *CreateAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*CreateAlertDescriptor) GetServerMsgReflectHandle ¶
func (d *CreateAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*CreateAlertDescriptor) GetServiceDomain ¶
func (d *CreateAlertDescriptor) GetServiceDomain() string
func (*CreateAlertDescriptor) GetServiceVersion ¶
func (d *CreateAlertDescriptor) GetServiceVersion() string
func (*CreateAlertDescriptor) GetVerb ¶
func (d *CreateAlertDescriptor) GetVerb() string
func (*CreateAlertDescriptor) HasResource ¶
func (d *CreateAlertDescriptor) HasResource() bool
func (*CreateAlertDescriptor) IsClientStream ¶
func (d *CreateAlertDescriptor) IsClientStream() bool
func (*CreateAlertDescriptor) IsCollection ¶
func (d *CreateAlertDescriptor) IsCollection() bool
func (*CreateAlertDescriptor) IsPlural ¶
func (d *CreateAlertDescriptor) IsPlural() bool
func (*CreateAlertDescriptor) IsServerStream ¶
func (d *CreateAlertDescriptor) IsServerStream() bool
func (*CreateAlertDescriptor) IsUnary ¶
func (d *CreateAlertDescriptor) IsUnary() bool
func (*CreateAlertDescriptor) NewEmptyClientMsg ¶
func (d *CreateAlertDescriptor) NewEmptyClientMsg() proto.Message
func (*CreateAlertDescriptor) NewEmptyServerMsg ¶
func (d *CreateAlertDescriptor) NewEmptyServerMsg() proto.Message
func (*CreateAlertDescriptor) RequestHasResourceBody ¶
func (d *CreateAlertDescriptor) RequestHasResourceBody() bool
type CreateAlertDescriptorClientMsgHandle ¶
type CreateAlertDescriptorClientMsgHandle struct{}
func (*CreateAlertDescriptorClientMsgHandle) ExtractCollectionName ¶
func (h *CreateAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *CreateAlertDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *CreateAlertDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *CreateAlertDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *CreateAlertDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type CreateAlertDescriptorServerMsgHandle ¶
type CreateAlertDescriptorServerMsgHandle struct{}
func (*CreateAlertDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *CreateAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *CreateAlertDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *CreateAlertDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *CreateAlertDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *CreateAlertDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type CreateAlertRequest ¶
type CreateAlertRequest struct { // Parent name of ntt.monitoring.v4.Alert Parent *alert.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"` // Alert resource body Alert *alert.Alert `protobuf:"bytes,2,opt,name=alert,proto3" json:"alert,omitempty" firestore:"alert"` // contains filtered or unexported fields }
Request message for method [CreateAlert][ntt.monitoring.v4.CreateAlert]
func (*CreateAlertRequest) Descriptor ¶
func (*CreateAlertRequest) Descriptor() ([]byte, []int)
Deprecated, Use CreateAlertRequest.ProtoReflect.Descriptor instead.
func (*CreateAlertRequest) GetAlert ¶
func (m *CreateAlertRequest) GetAlert() *alert.Alert
func (*CreateAlertRequest) GetParent ¶
func (m *CreateAlertRequest) GetParent() *alert.ParentName
func (*CreateAlertRequest) GotenMessage ¶
func (*CreateAlertRequest) GotenMessage()
func (*CreateAlertRequest) GotenValidate ¶
func (obj *CreateAlertRequest) GotenValidate() error
func (*CreateAlertRequest) Marshal ¶
func (m *CreateAlertRequest) Marshal() ([]byte, error)
func (*CreateAlertRequest) MarshalJSON ¶
func (m *CreateAlertRequest) MarshalJSON() ([]byte, error)
func (*CreateAlertRequest) ProtoMessage ¶
func (*CreateAlertRequest) ProtoMessage()
func (*CreateAlertRequest) ProtoReflect ¶
func (m *CreateAlertRequest) ProtoReflect() preflect.Message
func (*CreateAlertRequest) Reset ¶
func (m *CreateAlertRequest) Reset()
func (*CreateAlertRequest) SetAlert ¶
func (m *CreateAlertRequest) SetAlert(fv *alert.Alert)
func (*CreateAlertRequest) SetParent ¶
func (m *CreateAlertRequest) SetParent(fv *alert.ParentName)
func (*CreateAlertRequest) String ¶
func (m *CreateAlertRequest) String() string
func (*CreateAlertRequest) Unmarshal ¶
func (m *CreateAlertRequest) Unmarshal(b []byte) error
func (*CreateAlertRequest) UnmarshalJSON ¶
func (m *CreateAlertRequest) UnmarshalJSON(data []byte) error
type DeleteAlertDescriptor ¶
type DeleteAlertDescriptor struct{}
func GetDeleteAlertDescriptor ¶
func GetDeleteAlertDescriptor() *DeleteAlertDescriptor
func (*DeleteAlertDescriptor) GetApiDescriptor ¶
func (d *DeleteAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*DeleteAlertDescriptor) GetApiName ¶
func (d *DeleteAlertDescriptor) GetApiName() string
func (*DeleteAlertDescriptor) GetClientMsgReflectHandle ¶
func (d *DeleteAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*DeleteAlertDescriptor) GetFullMethodName ¶
func (d *DeleteAlertDescriptor) GetFullMethodName() string
func (*DeleteAlertDescriptor) GetMethodName ¶
func (d *DeleteAlertDescriptor) GetMethodName() string
func (*DeleteAlertDescriptor) GetProtoPkgName ¶
func (d *DeleteAlertDescriptor) GetProtoPkgName() string
func (*DeleteAlertDescriptor) GetResourceDescriptor ¶
func (d *DeleteAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*DeleteAlertDescriptor) GetServerMsgReflectHandle ¶
func (d *DeleteAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*DeleteAlertDescriptor) GetServiceDomain ¶
func (d *DeleteAlertDescriptor) GetServiceDomain() string
func (*DeleteAlertDescriptor) GetServiceVersion ¶
func (d *DeleteAlertDescriptor) GetServiceVersion() string
func (*DeleteAlertDescriptor) GetVerb ¶
func (d *DeleteAlertDescriptor) GetVerb() string
func (*DeleteAlertDescriptor) HasResource ¶
func (d *DeleteAlertDescriptor) HasResource() bool
func (*DeleteAlertDescriptor) IsClientStream ¶
func (d *DeleteAlertDescriptor) IsClientStream() bool
func (*DeleteAlertDescriptor) IsCollection ¶
func (d *DeleteAlertDescriptor) IsCollection() bool
func (*DeleteAlertDescriptor) IsPlural ¶
func (d *DeleteAlertDescriptor) IsPlural() bool
func (*DeleteAlertDescriptor) IsServerStream ¶
func (d *DeleteAlertDescriptor) IsServerStream() bool
func (*DeleteAlertDescriptor) IsUnary ¶
func (d *DeleteAlertDescriptor) IsUnary() bool
func (*DeleteAlertDescriptor) NewEmptyClientMsg ¶
func (d *DeleteAlertDescriptor) NewEmptyClientMsg() proto.Message
func (*DeleteAlertDescriptor) NewEmptyServerMsg ¶
func (d *DeleteAlertDescriptor) NewEmptyServerMsg() proto.Message
func (*DeleteAlertDescriptor) RequestHasResourceBody ¶
func (d *DeleteAlertDescriptor) RequestHasResourceBody() bool
type DeleteAlertDescriptorClientMsgHandle ¶
type DeleteAlertDescriptorClientMsgHandle struct{}
func (*DeleteAlertDescriptorClientMsgHandle) ExtractCollectionName ¶
func (h *DeleteAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *DeleteAlertDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *DeleteAlertDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *DeleteAlertDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *DeleteAlertDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type DeleteAlertDescriptorServerMsgHandle ¶
type DeleteAlertDescriptorServerMsgHandle struct{}
func (*DeleteAlertDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *DeleteAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *DeleteAlertDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *DeleteAlertDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *DeleteAlertDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *DeleteAlertDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type DeleteAlertRequest ¶
type DeleteAlertRequest struct { // Name of ntt.monitoring.v4.Alert Name *alert.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // contains filtered or unexported fields }
Request message for method [DeleteAlert][ntt.monitoring.v4.DeleteAlert]
func (*DeleteAlertRequest) Descriptor ¶
func (*DeleteAlertRequest) Descriptor() ([]byte, []int)
Deprecated, Use DeleteAlertRequest.ProtoReflect.Descriptor instead.
func (*DeleteAlertRequest) GetName ¶
func (m *DeleteAlertRequest) GetName() *alert.Name
func (*DeleteAlertRequest) GotenMessage ¶
func (*DeleteAlertRequest) GotenMessage()
func (*DeleteAlertRequest) GotenValidate ¶
func (obj *DeleteAlertRequest) GotenValidate() error
func (*DeleteAlertRequest) Marshal ¶
func (m *DeleteAlertRequest) Marshal() ([]byte, error)
func (*DeleteAlertRequest) MarshalJSON ¶
func (m *DeleteAlertRequest) MarshalJSON() ([]byte, error)
func (*DeleteAlertRequest) ProtoMessage ¶
func (*DeleteAlertRequest) ProtoMessage()
func (*DeleteAlertRequest) ProtoReflect ¶
func (m *DeleteAlertRequest) ProtoReflect() preflect.Message
func (*DeleteAlertRequest) Reset ¶
func (m *DeleteAlertRequest) Reset()
func (*DeleteAlertRequest) SetName ¶
func (m *DeleteAlertRequest) SetName(fv *alert.Name)
func (*DeleteAlertRequest) String ¶
func (m *DeleteAlertRequest) String() string
func (*DeleteAlertRequest) Unmarshal ¶
func (m *DeleteAlertRequest) Unmarshal(b []byte) error
func (*DeleteAlertRequest) UnmarshalJSON ¶
func (m *DeleteAlertRequest) UnmarshalJSON(data []byte) error
type GetAlertDescriptor ¶
type GetAlertDescriptor struct{}
func GetGetAlertDescriptor ¶
func GetGetAlertDescriptor() *GetAlertDescriptor
func (*GetAlertDescriptor) GetApiDescriptor ¶
func (d *GetAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*GetAlertDescriptor) GetApiName ¶
func (d *GetAlertDescriptor) GetApiName() string
func (*GetAlertDescriptor) GetClientMsgReflectHandle ¶
func (d *GetAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*GetAlertDescriptor) GetFullMethodName ¶
func (d *GetAlertDescriptor) GetFullMethodName() string
func (*GetAlertDescriptor) GetMethodName ¶
func (d *GetAlertDescriptor) GetMethodName() string
func (*GetAlertDescriptor) GetProtoPkgName ¶
func (d *GetAlertDescriptor) GetProtoPkgName() string
func (*GetAlertDescriptor) GetResourceDescriptor ¶
func (d *GetAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*GetAlertDescriptor) GetServerMsgReflectHandle ¶
func (d *GetAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*GetAlertDescriptor) GetServiceDomain ¶
func (d *GetAlertDescriptor) GetServiceDomain() string
func (*GetAlertDescriptor) GetServiceVersion ¶
func (d *GetAlertDescriptor) GetServiceVersion() string
func (*GetAlertDescriptor) GetVerb ¶
func (d *GetAlertDescriptor) GetVerb() string
func (*GetAlertDescriptor) HasResource ¶
func (d *GetAlertDescriptor) HasResource() bool
func (*GetAlertDescriptor) IsClientStream ¶
func (d *GetAlertDescriptor) IsClientStream() bool
func (*GetAlertDescriptor) IsCollection ¶
func (d *GetAlertDescriptor) IsCollection() bool
func (*GetAlertDescriptor) IsPlural ¶
func (d *GetAlertDescriptor) IsPlural() bool
func (*GetAlertDescriptor) IsServerStream ¶
func (d *GetAlertDescriptor) IsServerStream() bool
func (*GetAlertDescriptor) IsUnary ¶
func (d *GetAlertDescriptor) IsUnary() bool
func (*GetAlertDescriptor) NewEmptyClientMsg ¶
func (d *GetAlertDescriptor) NewEmptyClientMsg() proto.Message
func (*GetAlertDescriptor) NewEmptyServerMsg ¶
func (d *GetAlertDescriptor) NewEmptyServerMsg() proto.Message
func (*GetAlertDescriptor) RequestHasResourceBody ¶
func (d *GetAlertDescriptor) RequestHasResourceBody() bool
type GetAlertDescriptorClientMsgHandle ¶
type GetAlertDescriptorClientMsgHandle struct{}
func (*GetAlertDescriptorClientMsgHandle) ExtractCollectionName ¶
func (h *GetAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*GetAlertDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *GetAlertDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*GetAlertDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *GetAlertDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*GetAlertDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *GetAlertDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*GetAlertDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *GetAlertDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type GetAlertDescriptorServerMsgHandle ¶
type GetAlertDescriptorServerMsgHandle struct{}
func (*GetAlertDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *GetAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*GetAlertDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *GetAlertDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*GetAlertDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *GetAlertDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*GetAlertDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *GetAlertDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*GetAlertDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *GetAlertDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type GetAlertRequest ¶
type GetAlertRequest struct { // Name of ntt.monitoring.v4.Alert Name *alert.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // A list of extra fields to be obtained for each response item on top of // fields defined by request field view FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */ // View defines list of standard response fields present in response items. // Additional fields can be amended by request field field_mask View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"` // contains filtered or unexported fields }
Request message for method [GetAlert][ntt.monitoring.v4.GetAlert]
func (*GetAlertRequest) Descriptor ¶
func (*GetAlertRequest) Descriptor() ([]byte, []int)
Deprecated, Use GetAlertRequest.ProtoReflect.Descriptor instead.
func (*GetAlertRequest) GetFieldMask ¶
func (m *GetAlertRequest) GetFieldMask() *alert.Alert_FieldMask
func (*GetAlertRequest) GetName ¶
func (m *GetAlertRequest) GetName() *alert.Name
func (*GetAlertRequest) GetView ¶
func (m *GetAlertRequest) GetView() view.View
func (*GetAlertRequest) GotenMessage ¶
func (*GetAlertRequest) GotenMessage()
func (*GetAlertRequest) GotenValidate ¶
func (obj *GetAlertRequest) GotenValidate() error
func (*GetAlertRequest) Marshal ¶
func (m *GetAlertRequest) Marshal() ([]byte, error)
func (*GetAlertRequest) MarshalJSON ¶
func (m *GetAlertRequest) MarshalJSON() ([]byte, error)
func (*GetAlertRequest) ProtoMessage ¶
func (*GetAlertRequest) ProtoMessage()
func (*GetAlertRequest) ProtoReflect ¶
func (m *GetAlertRequest) ProtoReflect() preflect.Message
func (*GetAlertRequest) Reset ¶
func (m *GetAlertRequest) Reset()
func (*GetAlertRequest) SetFieldMask ¶
func (m *GetAlertRequest) SetFieldMask(fv *alert.Alert_FieldMask)
func (*GetAlertRequest) SetName ¶
func (m *GetAlertRequest) SetName(fv *alert.Name)
func (*GetAlertRequest) SetView ¶
func (m *GetAlertRequest) SetView(fv view.View)
func (*GetAlertRequest) String ¶
func (m *GetAlertRequest) String() string
func (*GetAlertRequest) Unmarshal ¶
func (m *GetAlertRequest) Unmarshal(b []byte) error
func (*GetAlertRequest) UnmarshalJSON ¶
func (m *GetAlertRequest) UnmarshalJSON(data []byte) error
type ListAlertsDescriptor ¶
type ListAlertsDescriptor struct{}
func GetListAlertsDescriptor ¶
func GetListAlertsDescriptor() *ListAlertsDescriptor
func (*ListAlertsDescriptor) GetApiDescriptor ¶
func (d *ListAlertsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*ListAlertsDescriptor) GetApiName ¶
func (d *ListAlertsDescriptor) GetApiName() string
func (*ListAlertsDescriptor) GetClientMsgReflectHandle ¶
func (d *ListAlertsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*ListAlertsDescriptor) GetFullMethodName ¶
func (d *ListAlertsDescriptor) GetFullMethodName() string
func (*ListAlertsDescriptor) GetMethodName ¶
func (d *ListAlertsDescriptor) GetMethodName() string
func (*ListAlertsDescriptor) GetProtoPkgName ¶
func (d *ListAlertsDescriptor) GetProtoPkgName() string
func (*ListAlertsDescriptor) GetResourceDescriptor ¶
func (d *ListAlertsDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*ListAlertsDescriptor) GetServerMsgReflectHandle ¶
func (d *ListAlertsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*ListAlertsDescriptor) GetServiceDomain ¶
func (d *ListAlertsDescriptor) GetServiceDomain() string
func (*ListAlertsDescriptor) GetServiceVersion ¶
func (d *ListAlertsDescriptor) GetServiceVersion() string
func (*ListAlertsDescriptor) GetVerb ¶
func (d *ListAlertsDescriptor) GetVerb() string
func (*ListAlertsDescriptor) HasResource ¶
func (d *ListAlertsDescriptor) HasResource() bool
func (*ListAlertsDescriptor) IsClientStream ¶
func (d *ListAlertsDescriptor) IsClientStream() bool
func (*ListAlertsDescriptor) IsCollection ¶
func (d *ListAlertsDescriptor) IsCollection() bool
func (*ListAlertsDescriptor) IsPlural ¶
func (d *ListAlertsDescriptor) IsPlural() bool
func (*ListAlertsDescriptor) IsServerStream ¶
func (d *ListAlertsDescriptor) IsServerStream() bool
func (*ListAlertsDescriptor) IsUnary ¶
func (d *ListAlertsDescriptor) IsUnary() bool
func (*ListAlertsDescriptor) NewEmptyClientMsg ¶
func (d *ListAlertsDescriptor) NewEmptyClientMsg() proto.Message
func (*ListAlertsDescriptor) NewEmptyServerMsg ¶
func (d *ListAlertsDescriptor) NewEmptyServerMsg() proto.Message
func (*ListAlertsDescriptor) RequestHasResourceBody ¶
func (d *ListAlertsDescriptor) RequestHasResourceBody() bool
type ListAlertsDescriptorClientMsgHandle ¶
type ListAlertsDescriptorClientMsgHandle struct{}
func (*ListAlertsDescriptorClientMsgHandle) ExtractCollectionName ¶
func (h *ListAlertsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *ListAlertsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *ListAlertsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *ListAlertsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *ListAlertsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type ListAlertsDescriptorServerMsgHandle ¶
type ListAlertsDescriptorServerMsgHandle struct{}
func (*ListAlertsDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *ListAlertsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *ListAlertsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *ListAlertsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *ListAlertsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *ListAlertsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type ListAlertsRequest ¶
type ListAlertsRequest struct { // Parent name of ntt.monitoring.v4.Alert Parent *alert.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"` // Requested page size. Server may return fewer Alerts than requested. // If unspecified, server will pick an appropriate default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"` // A token identifying a page of results the server should return. // Typically, this is the value of // [ListAlertsResponse.next_page_token][ntt.monitoring.v4.ListAlertsResponse.next_page_token] PageToken *alert.PagerCursor `` /* 133-byte string literal not displayed */ // Order By - // https://cloud.google.com/apis/design/design_patterns#list_pagination list // of field path with order directive, either 'asc' or 'desc'. If direction is // not provided, 'asc' is assumed. e.g. "state.nested_field asc, // state.something.else desc, theme" OrderBy *alert.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"` // Filter - filter results by field criteria. Simplified SQL-like syntax with // following operators: // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels // CONTAINS "severity:important" OR (state.last_error_time > // "2018-11-15T10:00:00Z" AND state.status = "ERROR")' Filter *alert.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"` // A list of extra fields to be obtained for each response item on top of // fields defined by request field view FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */ // View defines list of standard response fields present in response items. // Additional fields can be amended by request field field_mask View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"` // Indicates if list response should contain total count and offset (fields // current_offset and total_results_count). IncludePagingInfo bool `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for method [ListAlerts][ntt.monitoring.v4.ListAlerts]
func (*ListAlertsRequest) Descriptor ¶
func (*ListAlertsRequest) Descriptor() ([]byte, []int)
Deprecated, Use ListAlertsRequest.ProtoReflect.Descriptor instead.
func (*ListAlertsRequest) GetFieldMask ¶
func (m *ListAlertsRequest) GetFieldMask() *alert.Alert_FieldMask
func (*ListAlertsRequest) GetFilter ¶
func (m *ListAlertsRequest) GetFilter() *alert.Filter
func (*ListAlertsRequest) GetIncludePagingInfo ¶
func (m *ListAlertsRequest) GetIncludePagingInfo() bool
func (*ListAlertsRequest) GetOrderBy ¶
func (m *ListAlertsRequest) GetOrderBy() *alert.OrderBy
func (*ListAlertsRequest) GetPageSize ¶
func (m *ListAlertsRequest) GetPageSize() int32
func (*ListAlertsRequest) GetPageToken ¶
func (m *ListAlertsRequest) GetPageToken() *alert.PagerCursor
func (*ListAlertsRequest) GetParent ¶
func (m *ListAlertsRequest) GetParent() *alert.ParentName
func (*ListAlertsRequest) GetView ¶
func (m *ListAlertsRequest) GetView() view.View
func (*ListAlertsRequest) GotenMessage ¶
func (*ListAlertsRequest) GotenMessage()
func (*ListAlertsRequest) GotenValidate ¶
func (obj *ListAlertsRequest) GotenValidate() error
func (*ListAlertsRequest) Marshal ¶
func (m *ListAlertsRequest) Marshal() ([]byte, error)
func (*ListAlertsRequest) MarshalJSON ¶
func (m *ListAlertsRequest) MarshalJSON() ([]byte, error)
func (*ListAlertsRequest) ProtoMessage ¶
func (*ListAlertsRequest) ProtoMessage()
func (*ListAlertsRequest) ProtoReflect ¶
func (m *ListAlertsRequest) ProtoReflect() preflect.Message
func (*ListAlertsRequest) Reset ¶
func (m *ListAlertsRequest) Reset()
func (*ListAlertsRequest) SetFieldMask ¶
func (m *ListAlertsRequest) SetFieldMask(fv *alert.Alert_FieldMask)
func (*ListAlertsRequest) SetFilter ¶
func (m *ListAlertsRequest) SetFilter(fv *alert.Filter)
func (*ListAlertsRequest) SetIncludePagingInfo ¶
func (m *ListAlertsRequest) SetIncludePagingInfo(fv bool)
func (*ListAlertsRequest) SetOrderBy ¶
func (m *ListAlertsRequest) SetOrderBy(fv *alert.OrderBy)
func (*ListAlertsRequest) SetPageSize ¶
func (m *ListAlertsRequest) SetPageSize(fv int32)
func (*ListAlertsRequest) SetPageToken ¶
func (m *ListAlertsRequest) SetPageToken(fv *alert.PagerCursor)
func (*ListAlertsRequest) SetParent ¶
func (m *ListAlertsRequest) SetParent(fv *alert.ParentName)
func (*ListAlertsRequest) SetView ¶
func (m *ListAlertsRequest) SetView(fv view.View)
func (*ListAlertsRequest) String ¶
func (m *ListAlertsRequest) String() string
func (*ListAlertsRequest) Unmarshal ¶
func (m *ListAlertsRequest) Unmarshal(b []byte) error
func (*ListAlertsRequest) UnmarshalJSON ¶
func (m *ListAlertsRequest) UnmarshalJSON(data []byte) error
type ListAlertsResponse ¶
type ListAlertsResponse struct { // The list of Alerts Alerts []*alert.Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty" firestore:"alerts"` // A token to retrieve previous page of results. Pass this value in the // [ListAlertsRequest.page_token][ntt.monitoring.v4.ListAlertsRequest.page_token] PrevPageToken *alert.PagerCursor `` /* 151-byte string literal not displayed */ // A token to retrieve next page of results. Pass this value in the // [ListAlertsRequest.page_token][ntt.monitoring.v4.ListAlertsRequest.page_token] NextPageToken *alert.PagerCursor `` /* 151-byte string literal not displayed */ // Current offset from the first page or 0 if no page tokens were given, // paging info was not requested or there was an error while trying to get // it). Page index can be computed from offset and limit provided in a // request. CurrentOffset int32 `` /* 127-byte string literal not displayed */ // Number of total Alerts across all pages or 0, if there are no items, paging // info was not requested or there was an error while trying to get it. TotalResultsCount int32 `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for method [ListAlerts][ntt.monitoring.v4.ListAlerts]
func (*ListAlertsResponse) Descriptor ¶
func (*ListAlertsResponse) Descriptor() ([]byte, []int)
Deprecated, Use ListAlertsResponse.ProtoReflect.Descriptor instead.
func (*ListAlertsResponse) GetAlerts ¶
func (m *ListAlertsResponse) GetAlerts() []*alert.Alert
func (*ListAlertsResponse) GetCurrentOffset ¶
func (m *ListAlertsResponse) GetCurrentOffset() int32
func (*ListAlertsResponse) GetNextPageToken ¶
func (m *ListAlertsResponse) GetNextPageToken() *alert.PagerCursor
func (*ListAlertsResponse) GetPrevPageToken ¶
func (m *ListAlertsResponse) GetPrevPageToken() *alert.PagerCursor
func (*ListAlertsResponse) GetTotalResultsCount ¶
func (m *ListAlertsResponse) GetTotalResultsCount() int32
func (*ListAlertsResponse) GotenMessage ¶
func (*ListAlertsResponse) GotenMessage()
func (*ListAlertsResponse) GotenValidate ¶
func (obj *ListAlertsResponse) GotenValidate() error
func (*ListAlertsResponse) Marshal ¶
func (m *ListAlertsResponse) Marshal() ([]byte, error)
func (*ListAlertsResponse) MarshalJSON ¶
func (m *ListAlertsResponse) MarshalJSON() ([]byte, error)
func (*ListAlertsResponse) ProtoMessage ¶
func (*ListAlertsResponse) ProtoMessage()
func (*ListAlertsResponse) ProtoReflect ¶
func (m *ListAlertsResponse) ProtoReflect() preflect.Message
func (*ListAlertsResponse) Reset ¶
func (m *ListAlertsResponse) Reset()
func (*ListAlertsResponse) SetAlerts ¶
func (m *ListAlertsResponse) SetAlerts(fv []*alert.Alert)
func (*ListAlertsResponse) SetCurrentOffset ¶
func (m *ListAlertsResponse) SetCurrentOffset(fv int32)
func (*ListAlertsResponse) SetNextPageToken ¶
func (m *ListAlertsResponse) SetNextPageToken(fv *alert.PagerCursor)
func (*ListAlertsResponse) SetPrevPageToken ¶
func (m *ListAlertsResponse) SetPrevPageToken(fv *alert.PagerCursor)
func (*ListAlertsResponse) SetTotalResultsCount ¶
func (m *ListAlertsResponse) SetTotalResultsCount(fv int32)
func (*ListAlertsResponse) String ¶
func (m *ListAlertsResponse) String() string
func (*ListAlertsResponse) Unmarshal ¶
func (m *ListAlertsResponse) Unmarshal(b []byte) error
func (*ListAlertsResponse) UnmarshalJSON ¶
func (m *ListAlertsResponse) UnmarshalJSON(data []byte) error
type UpdateAlertDescriptor ¶
type UpdateAlertDescriptor struct{}
func GetUpdateAlertDescriptor ¶
func GetUpdateAlertDescriptor() *UpdateAlertDescriptor
func (*UpdateAlertDescriptor) GetApiDescriptor ¶
func (d *UpdateAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*UpdateAlertDescriptor) GetApiName ¶
func (d *UpdateAlertDescriptor) GetApiName() string
func (*UpdateAlertDescriptor) GetClientMsgReflectHandle ¶
func (d *UpdateAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*UpdateAlertDescriptor) GetFullMethodName ¶
func (d *UpdateAlertDescriptor) GetFullMethodName() string
func (*UpdateAlertDescriptor) GetMethodName ¶
func (d *UpdateAlertDescriptor) GetMethodName() string
func (*UpdateAlertDescriptor) GetProtoPkgName ¶
func (d *UpdateAlertDescriptor) GetProtoPkgName() string
func (*UpdateAlertDescriptor) GetResourceDescriptor ¶
func (d *UpdateAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*UpdateAlertDescriptor) GetServerMsgReflectHandle ¶
func (d *UpdateAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*UpdateAlertDescriptor) GetServiceDomain ¶
func (d *UpdateAlertDescriptor) GetServiceDomain() string
func (*UpdateAlertDescriptor) GetServiceVersion ¶
func (d *UpdateAlertDescriptor) GetServiceVersion() string
func (*UpdateAlertDescriptor) GetVerb ¶
func (d *UpdateAlertDescriptor) GetVerb() string
func (*UpdateAlertDescriptor) HasResource ¶
func (d *UpdateAlertDescriptor) HasResource() bool
func (*UpdateAlertDescriptor) IsClientStream ¶
func (d *UpdateAlertDescriptor) IsClientStream() bool
func (*UpdateAlertDescriptor) IsCollection ¶
func (d *UpdateAlertDescriptor) IsCollection() bool
func (*UpdateAlertDescriptor) IsPlural ¶
func (d *UpdateAlertDescriptor) IsPlural() bool
func (*UpdateAlertDescriptor) IsServerStream ¶
func (d *UpdateAlertDescriptor) IsServerStream() bool
func (*UpdateAlertDescriptor) IsUnary ¶
func (d *UpdateAlertDescriptor) IsUnary() bool
func (*UpdateAlertDescriptor) NewEmptyClientMsg ¶
func (d *UpdateAlertDescriptor) NewEmptyClientMsg() proto.Message
func (*UpdateAlertDescriptor) NewEmptyServerMsg ¶
func (d *UpdateAlertDescriptor) NewEmptyServerMsg() proto.Message
func (*UpdateAlertDescriptor) RequestHasResourceBody ¶
func (d *UpdateAlertDescriptor) RequestHasResourceBody() bool
type UpdateAlertDescriptorClientMsgHandle ¶
type UpdateAlertDescriptorClientMsgHandle struct{}
func (*UpdateAlertDescriptorClientMsgHandle) ExtractCollectionName ¶
func (h *UpdateAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *UpdateAlertDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *UpdateAlertDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *UpdateAlertDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *UpdateAlertDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type UpdateAlertDescriptorServerMsgHandle ¶
type UpdateAlertDescriptorServerMsgHandle struct{}
func (*UpdateAlertDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *UpdateAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *UpdateAlertDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *UpdateAlertDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *UpdateAlertDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *UpdateAlertDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type UpdateAlertRequest ¶
type UpdateAlertRequest struct { // Alert resource body Alert *alert.Alert `protobuf:"bytes,2,opt,name=alert,proto3" json:"alert,omitempty" firestore:"alert"` // FieldMask applied to request - change will be applied only for fields in // the mask UpdateMask *alert.Alert_FieldMask `` /* 141-byte string literal not displayed */ // Conditional update applied to request if update should be executed only for // specific resource state. If this field is populated, then server will fetch // existing resource, compare with the one stored in the cas field (after // applying field mask) and proceed with update only and only if they match. // Otherwise RPC error Aborted will be returned. Cas *UpdateAlertRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty" firestore:"cas"` // If set to true, and the resource is not found, // a new resource will be created. In this situation, // 'field_mask' is ignored. // // https://google.aip.dev/134#create-or-update AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty" firestore:"allowMissing"` // contains filtered or unexported fields }
Request message for method [UpdateAlert][ntt.monitoring.v4.UpdateAlert]
func (*UpdateAlertRequest) Descriptor ¶
func (*UpdateAlertRequest) Descriptor() ([]byte, []int)
Deprecated, Use UpdateAlertRequest.ProtoReflect.Descriptor instead.
func (*UpdateAlertRequest) GetAlert ¶
func (m *UpdateAlertRequest) GetAlert() *alert.Alert
func (*UpdateAlertRequest) GetAllowMissing ¶
func (m *UpdateAlertRequest) GetAllowMissing() bool
func (*UpdateAlertRequest) GetCas ¶
func (m *UpdateAlertRequest) GetCas() *UpdateAlertRequest_CAS
func (*UpdateAlertRequest) GetUpdateMask ¶
func (m *UpdateAlertRequest) GetUpdateMask() *alert.Alert_FieldMask
func (*UpdateAlertRequest) GotenMessage ¶
func (*UpdateAlertRequest) GotenMessage()
func (*UpdateAlertRequest) GotenValidate ¶
func (obj *UpdateAlertRequest) GotenValidate() error
func (*UpdateAlertRequest) Marshal ¶
func (m *UpdateAlertRequest) Marshal() ([]byte, error)
func (*UpdateAlertRequest) MarshalJSON ¶
func (m *UpdateAlertRequest) MarshalJSON() ([]byte, error)
func (*UpdateAlertRequest) ProtoMessage ¶
func (*UpdateAlertRequest) ProtoMessage()
func (*UpdateAlertRequest) ProtoReflect ¶
func (m *UpdateAlertRequest) ProtoReflect() preflect.Message
func (*UpdateAlertRequest) Reset ¶
func (m *UpdateAlertRequest) Reset()
func (*UpdateAlertRequest) SetAlert ¶
func (m *UpdateAlertRequest) SetAlert(fv *alert.Alert)
func (*UpdateAlertRequest) SetAllowMissing ¶
func (m *UpdateAlertRequest) SetAllowMissing(fv bool)
func (*UpdateAlertRequest) SetCas ¶
func (m *UpdateAlertRequest) SetCas(fv *UpdateAlertRequest_CAS)
func (*UpdateAlertRequest) SetUpdateMask ¶
func (m *UpdateAlertRequest) SetUpdateMask(fv *alert.Alert_FieldMask)
func (*UpdateAlertRequest) String ¶
func (m *UpdateAlertRequest) String() string
func (*UpdateAlertRequest) Unmarshal ¶
func (m *UpdateAlertRequest) Unmarshal(b []byte) error
func (*UpdateAlertRequest) UnmarshalJSON ¶
func (m *UpdateAlertRequest) UnmarshalJSON(data []byte) error
type UpdateAlertRequest_CAS ¶
type UpdateAlertRequest_CAS struct { // Conditional desired state of a resource before update. ConditionalState *alert.Alert `` /* 138-byte string literal not displayed */ // Field paths from conditional state of resource server should check and // compare. FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
CAS - Compare and Swap. This object is used if user wants to make update conditional based upon previous resource version.
func (*UpdateAlertRequest_CAS) Descriptor ¶
func (*UpdateAlertRequest_CAS) Descriptor() ([]byte, []int)
Deprecated, Use UpdateAlertRequest_CAS.ProtoReflect.Descriptor instead.
func (*UpdateAlertRequest_CAS) GetConditionalState ¶
func (m *UpdateAlertRequest_CAS) GetConditionalState() *alert.Alert
func (*UpdateAlertRequest_CAS) GetFieldMask ¶
func (m *UpdateAlertRequest_CAS) GetFieldMask() *alert.Alert_FieldMask
func (*UpdateAlertRequest_CAS) GotenMessage ¶
func (*UpdateAlertRequest_CAS) GotenMessage()
func (*UpdateAlertRequest_CAS) GotenValidate ¶
func (obj *UpdateAlertRequest_CAS) GotenValidate() error
func (*UpdateAlertRequest_CAS) Marshal ¶
func (m *UpdateAlertRequest_CAS) Marshal() ([]byte, error)
func (*UpdateAlertRequest_CAS) MarshalJSON ¶
func (m *UpdateAlertRequest_CAS) MarshalJSON() ([]byte, error)
func (*UpdateAlertRequest_CAS) ProtoMessage ¶
func (*UpdateAlertRequest_CAS) ProtoMessage()
func (*UpdateAlertRequest_CAS) ProtoReflect ¶
func (m *UpdateAlertRequest_CAS) ProtoReflect() preflect.Message
func (*UpdateAlertRequest_CAS) Reset ¶
func (m *UpdateAlertRequest_CAS) Reset()
func (*UpdateAlertRequest_CAS) SetConditionalState ¶
func (m *UpdateAlertRequest_CAS) SetConditionalState(fv *alert.Alert)
func (*UpdateAlertRequest_CAS) SetFieldMask ¶
func (m *UpdateAlertRequest_CAS) SetFieldMask(fv *alert.Alert_FieldMask)
func (*UpdateAlertRequest_CAS) String ¶
func (m *UpdateAlertRequest_CAS) String() string
func (*UpdateAlertRequest_CAS) Unmarshal ¶
func (m *UpdateAlertRequest_CAS) Unmarshal(b []byte) error
func (*UpdateAlertRequest_CAS) UnmarshalJSON ¶
func (m *UpdateAlertRequest_CAS) UnmarshalJSON(data []byte) error
type WatchAlertClientStream ¶
type WatchAlertClientStream interface { Recv() (*WatchAlertResponse, error) grpc.ClientStream }
type WatchAlertDescriptor ¶
type WatchAlertDescriptor struct{}
func GetWatchAlertDescriptor ¶
func GetWatchAlertDescriptor() *WatchAlertDescriptor
func (*WatchAlertDescriptor) GetApiDescriptor ¶
func (d *WatchAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*WatchAlertDescriptor) GetApiName ¶
func (d *WatchAlertDescriptor) GetApiName() string
func (*WatchAlertDescriptor) GetClientMsgReflectHandle ¶
func (d *WatchAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*WatchAlertDescriptor) GetFullMethodName ¶
func (d *WatchAlertDescriptor) GetFullMethodName() string
func (*WatchAlertDescriptor) GetMethodName ¶
func (d *WatchAlertDescriptor) GetMethodName() string
func (*WatchAlertDescriptor) GetProtoPkgName ¶
func (d *WatchAlertDescriptor) GetProtoPkgName() string
func (*WatchAlertDescriptor) GetResourceDescriptor ¶
func (d *WatchAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*WatchAlertDescriptor) GetServerMsgReflectHandle ¶
func (d *WatchAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*WatchAlertDescriptor) GetServiceDomain ¶
func (d *WatchAlertDescriptor) GetServiceDomain() string
func (*WatchAlertDescriptor) GetServiceVersion ¶
func (d *WatchAlertDescriptor) GetServiceVersion() string
func (*WatchAlertDescriptor) GetVerb ¶
func (d *WatchAlertDescriptor) GetVerb() string
func (*WatchAlertDescriptor) HasResource ¶
func (d *WatchAlertDescriptor) HasResource() bool
func (*WatchAlertDescriptor) IsClientStream ¶
func (d *WatchAlertDescriptor) IsClientStream() bool
func (*WatchAlertDescriptor) IsCollection ¶
func (d *WatchAlertDescriptor) IsCollection() bool
func (*WatchAlertDescriptor) IsPlural ¶
func (d *WatchAlertDescriptor) IsPlural() bool
func (*WatchAlertDescriptor) IsServerStream ¶
func (d *WatchAlertDescriptor) IsServerStream() bool
func (*WatchAlertDescriptor) IsUnary ¶
func (d *WatchAlertDescriptor) IsUnary() bool
func (*WatchAlertDescriptor) NewEmptyClientMsg ¶
func (d *WatchAlertDescriptor) NewEmptyClientMsg() proto.Message
func (*WatchAlertDescriptor) NewEmptyServerMsg ¶
func (d *WatchAlertDescriptor) NewEmptyServerMsg() proto.Message
func (*WatchAlertDescriptor) RequestHasResourceBody ¶
func (d *WatchAlertDescriptor) RequestHasResourceBody() bool
type WatchAlertDescriptorClientMsgHandle ¶
type WatchAlertDescriptorClientMsgHandle struct{}
func (*WatchAlertDescriptorClientMsgHandle) ExtractCollectionName ¶
func (h *WatchAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *WatchAlertDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *WatchAlertDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *WatchAlertDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *WatchAlertDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type WatchAlertDescriptorServerMsgHandle ¶
type WatchAlertDescriptorServerMsgHandle struct{}
func (*WatchAlertDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *WatchAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *WatchAlertDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *WatchAlertDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *WatchAlertDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *WatchAlertDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type WatchAlertRequest ¶
type WatchAlertRequest struct { // Name of ntt.monitoring.v4.Alert Name *alert.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // A list of extra fields to be obtained for each response item on top of // fields defined by request field view FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */ // View defines list of standard response fields present in response items. // Additional fields can be amended by request field field_mask View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"` // contains filtered or unexported fields }
Request message for method [WatchAlert][ntt.monitoring.v4.WatchAlert]
func (*WatchAlertRequest) Descriptor ¶
func (*WatchAlertRequest) Descriptor() ([]byte, []int)
Deprecated, Use WatchAlertRequest.ProtoReflect.Descriptor instead.
func (*WatchAlertRequest) GetFieldMask ¶
func (m *WatchAlertRequest) GetFieldMask() *alert.Alert_FieldMask
func (*WatchAlertRequest) GetName ¶
func (m *WatchAlertRequest) GetName() *alert.Name
func (*WatchAlertRequest) GetView ¶
func (m *WatchAlertRequest) GetView() view.View
func (*WatchAlertRequest) GotenMessage ¶
func (*WatchAlertRequest) GotenMessage()
func (*WatchAlertRequest) GotenValidate ¶
func (obj *WatchAlertRequest) GotenValidate() error
func (*WatchAlertRequest) Marshal ¶
func (m *WatchAlertRequest) Marshal() ([]byte, error)
func (*WatchAlertRequest) MarshalJSON ¶
func (m *WatchAlertRequest) MarshalJSON() ([]byte, error)
func (*WatchAlertRequest) ProtoMessage ¶
func (*WatchAlertRequest) ProtoMessage()
func (*WatchAlertRequest) ProtoReflect ¶
func (m *WatchAlertRequest) ProtoReflect() preflect.Message
func (*WatchAlertRequest) Reset ¶
func (m *WatchAlertRequest) Reset()
func (*WatchAlertRequest) SetFieldMask ¶
func (m *WatchAlertRequest) SetFieldMask(fv *alert.Alert_FieldMask)
func (*WatchAlertRequest) SetName ¶
func (m *WatchAlertRequest) SetName(fv *alert.Name)
func (*WatchAlertRequest) SetView ¶
func (m *WatchAlertRequest) SetView(fv view.View)
func (*WatchAlertRequest) String ¶
func (m *WatchAlertRequest) String() string
func (*WatchAlertRequest) Unmarshal ¶
func (m *WatchAlertRequest) Unmarshal(b []byte) error
func (*WatchAlertRequest) UnmarshalJSON ¶
func (m *WatchAlertRequest) UnmarshalJSON(data []byte) error
type WatchAlertResponse ¶
type WatchAlertResponse struct { Change *alert.AlertChange `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty" firestore:"change"` // contains filtered or unexported fields }
WatchAlertResponse
func (*WatchAlertResponse) Descriptor ¶
func (*WatchAlertResponse) Descriptor() ([]byte, []int)
Deprecated, Use WatchAlertResponse.ProtoReflect.Descriptor instead.
func (*WatchAlertResponse) GetChange ¶
func (m *WatchAlertResponse) GetChange() *alert.AlertChange
func (*WatchAlertResponse) GotenMessage ¶
func (*WatchAlertResponse) GotenMessage()
func (*WatchAlertResponse) GotenValidate ¶
func (obj *WatchAlertResponse) GotenValidate() error
func (*WatchAlertResponse) Marshal ¶
func (m *WatchAlertResponse) Marshal() ([]byte, error)
func (*WatchAlertResponse) MarshalJSON ¶
func (m *WatchAlertResponse) MarshalJSON() ([]byte, error)
func (*WatchAlertResponse) ProtoMessage ¶
func (*WatchAlertResponse) ProtoMessage()
func (*WatchAlertResponse) ProtoReflect ¶
func (m *WatchAlertResponse) ProtoReflect() preflect.Message
func (*WatchAlertResponse) Reset ¶
func (m *WatchAlertResponse) Reset()
func (*WatchAlertResponse) SetChange ¶
func (m *WatchAlertResponse) SetChange(fv *alert.AlertChange)
func (*WatchAlertResponse) String ¶
func (m *WatchAlertResponse) String() string
func (*WatchAlertResponse) Unmarshal ¶
func (m *WatchAlertResponse) Unmarshal(b []byte) error
func (*WatchAlertResponse) UnmarshalJSON ¶
func (m *WatchAlertResponse) UnmarshalJSON(data []byte) error
type WatchAlertsClientStream ¶
type WatchAlertsClientStream interface { Recv() (*WatchAlertsResponse, error) grpc.ClientStream }
type WatchAlertsDescriptor ¶
type WatchAlertsDescriptor struct{}
func GetWatchAlertsDescriptor ¶
func GetWatchAlertsDescriptor() *WatchAlertsDescriptor
func (*WatchAlertsDescriptor) GetApiDescriptor ¶
func (d *WatchAlertsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*WatchAlertsDescriptor) GetApiName ¶
func (d *WatchAlertsDescriptor) GetApiName() string
func (*WatchAlertsDescriptor) GetClientMsgReflectHandle ¶
func (d *WatchAlertsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*WatchAlertsDescriptor) GetFullMethodName ¶
func (d *WatchAlertsDescriptor) GetFullMethodName() string
func (*WatchAlertsDescriptor) GetMethodName ¶
func (d *WatchAlertsDescriptor) GetMethodName() string
func (*WatchAlertsDescriptor) GetProtoPkgName ¶
func (d *WatchAlertsDescriptor) GetProtoPkgName() string
func (*WatchAlertsDescriptor) GetResourceDescriptor ¶
func (d *WatchAlertsDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*WatchAlertsDescriptor) GetServerMsgReflectHandle ¶
func (d *WatchAlertsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*WatchAlertsDescriptor) GetServiceDomain ¶
func (d *WatchAlertsDescriptor) GetServiceDomain() string
func (*WatchAlertsDescriptor) GetServiceVersion ¶
func (d *WatchAlertsDescriptor) GetServiceVersion() string
func (*WatchAlertsDescriptor) GetVerb ¶
func (d *WatchAlertsDescriptor) GetVerb() string
func (*WatchAlertsDescriptor) HasResource ¶
func (d *WatchAlertsDescriptor) HasResource() bool
func (*WatchAlertsDescriptor) IsClientStream ¶
func (d *WatchAlertsDescriptor) IsClientStream() bool
func (*WatchAlertsDescriptor) IsCollection ¶
func (d *WatchAlertsDescriptor) IsCollection() bool
func (*WatchAlertsDescriptor) IsPlural ¶
func (d *WatchAlertsDescriptor) IsPlural() bool
func (*WatchAlertsDescriptor) IsServerStream ¶
func (d *WatchAlertsDescriptor) IsServerStream() bool
func (*WatchAlertsDescriptor) IsUnary ¶
func (d *WatchAlertsDescriptor) IsUnary() bool
func (*WatchAlertsDescriptor) NewEmptyClientMsg ¶
func (d *WatchAlertsDescriptor) NewEmptyClientMsg() proto.Message
func (*WatchAlertsDescriptor) NewEmptyServerMsg ¶
func (d *WatchAlertsDescriptor) NewEmptyServerMsg() proto.Message
func (*WatchAlertsDescriptor) RequestHasResourceBody ¶
func (d *WatchAlertsDescriptor) RequestHasResourceBody() bool
type WatchAlertsDescriptorClientMsgHandle ¶
type WatchAlertsDescriptorClientMsgHandle struct{}
func (*WatchAlertsDescriptorClientMsgHandle) ExtractCollectionName ¶
func (h *WatchAlertsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *WatchAlertsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *WatchAlertsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *WatchAlertsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *WatchAlertsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type WatchAlertsDescriptorServerMsgHandle ¶
type WatchAlertsDescriptorServerMsgHandle struct{}
func (*WatchAlertsDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *WatchAlertsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *WatchAlertsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *WatchAlertsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *WatchAlertsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *WatchAlertsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type WatchAlertsRequest ¶
type WatchAlertsRequest struct { // Type of a watch. Identifies how server stream data to a client, which // fields in a request are allowed and which fields in response are relevant. Type watch_type.WatchType `protobuf:"varint,9,opt,name=type,proto3,enum=goten.types.WatchType" json:"type,omitempty" firestore:"type"` // Parent name of ntt.monitoring.v4.Alert Parent *alert.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"` // Requested page size. Server may return fewer Alerts than requested. // If unspecified, server will pick an appropriate default. // Can be populated only for stateful watch type. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"` // A token identifying a page of results the server should return. // Can be populated only for stateful watch type. PageToken *alert.PagerCursor `` /* 133-byte string literal not displayed */ // Order By - // https://cloud.google.com/apis/design/design_patterns#list_pagination Can be // populated only for stateful watch type. OrderBy *alert.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"` // A token identifying watch resume point from previous session. // Can be populated only for stateless watch type. ResumeToken string `protobuf:"bytes,10,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"` // Point in the time from which we want to start getting updates. This field // can be populated only for stateless watch type and if resume token is not // known yet. If specified, initial snapshot will NOT be provided. It is // assumed client can obtain it using separate means. Watch responses will // contain resume tokens which should be used to resume broken connection. StartingTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=starting_time,json=startingTime,proto3" json:"starting_time,omitempty" firestore:"startingTime"` // Filter - filter results by field criteria. Simplified SQL-like syntax with // following operators: // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels // CONTAINS "severity:important" OR (state.last_error_time > // "2018-11-15T10:00:00Z" AND state.status = "ERROR")' Filter *alert.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"` // A list of extra fields to be obtained for each response item on top of // fields defined by request field view Changes to Alert that don't affect any // of masked fields won't be sent back. FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */ // View defines list of standard response fields present in response items. // Additional fields can be amended by request field field_mask Changes to // Alert that don't affect any of masked fields won't be sent back. View view.View `protobuf:"varint,8,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"` // Maximum amount of changes in each response message. Query result response // is divided on the server side into chunks with size of a specified amount // to limit memory footprint of each message. Responses will hold information // whether more elements will continue for the actual change. If unspecified, // server will pick an appropriate default. MaxChunkSize int32 `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for method [WatchAlerts][ntt.monitoring.v4.WatchAlerts]
func (*WatchAlertsRequest) Descriptor ¶
func (*WatchAlertsRequest) Descriptor() ([]byte, []int)
Deprecated, Use WatchAlertsRequest.ProtoReflect.Descriptor instead.
func (*WatchAlertsRequest) GetFieldMask ¶
func (m *WatchAlertsRequest) GetFieldMask() *alert.Alert_FieldMask
func (*WatchAlertsRequest) GetFilter ¶
func (m *WatchAlertsRequest) GetFilter() *alert.Filter
func (*WatchAlertsRequest) GetMaxChunkSize ¶
func (m *WatchAlertsRequest) GetMaxChunkSize() int32
func (*WatchAlertsRequest) GetOrderBy ¶
func (m *WatchAlertsRequest) GetOrderBy() *alert.OrderBy
func (*WatchAlertsRequest) GetPageSize ¶
func (m *WatchAlertsRequest) GetPageSize() int32
func (*WatchAlertsRequest) GetPageToken ¶
func (m *WatchAlertsRequest) GetPageToken() *alert.PagerCursor
func (*WatchAlertsRequest) GetParent ¶
func (m *WatchAlertsRequest) GetParent() *alert.ParentName
func (*WatchAlertsRequest) GetResumeToken ¶
func (m *WatchAlertsRequest) GetResumeToken() string
func (*WatchAlertsRequest) GetStartingTime ¶
func (m *WatchAlertsRequest) GetStartingTime() *timestamppb.Timestamp
func (*WatchAlertsRequest) GetType ¶
func (m *WatchAlertsRequest) GetType() watch_type.WatchType
func (*WatchAlertsRequest) GetView ¶
func (m *WatchAlertsRequest) GetView() view.View
func (*WatchAlertsRequest) GotenMessage ¶
func (*WatchAlertsRequest) GotenMessage()
func (*WatchAlertsRequest) GotenValidate ¶
func (obj *WatchAlertsRequest) GotenValidate() error
func (*WatchAlertsRequest) Marshal ¶
func (m *WatchAlertsRequest) Marshal() ([]byte, error)
func (*WatchAlertsRequest) MarshalJSON ¶
func (m *WatchAlertsRequest) MarshalJSON() ([]byte, error)
func (*WatchAlertsRequest) ProtoMessage ¶
func (*WatchAlertsRequest) ProtoMessage()
func (*WatchAlertsRequest) ProtoReflect ¶
func (m *WatchAlertsRequest) ProtoReflect() preflect.Message
func (*WatchAlertsRequest) Reset ¶
func (m *WatchAlertsRequest) Reset()
func (*WatchAlertsRequest) SetFieldMask ¶
func (m *WatchAlertsRequest) SetFieldMask(fv *alert.Alert_FieldMask)
func (*WatchAlertsRequest) SetFilter ¶
func (m *WatchAlertsRequest) SetFilter(fv *alert.Filter)
func (*WatchAlertsRequest) SetMaxChunkSize ¶
func (m *WatchAlertsRequest) SetMaxChunkSize(fv int32)
func (*WatchAlertsRequest) SetOrderBy ¶
func (m *WatchAlertsRequest) SetOrderBy(fv *alert.OrderBy)
func (*WatchAlertsRequest) SetPageSize ¶
func (m *WatchAlertsRequest) SetPageSize(fv int32)
func (*WatchAlertsRequest) SetPageToken ¶
func (m *WatchAlertsRequest) SetPageToken(fv *alert.PagerCursor)
func (*WatchAlertsRequest) SetParent ¶
func (m *WatchAlertsRequest) SetParent(fv *alert.ParentName)
func (*WatchAlertsRequest) SetResumeToken ¶
func (m *WatchAlertsRequest) SetResumeToken(fv string)
func (*WatchAlertsRequest) SetStartingTime ¶
func (m *WatchAlertsRequest) SetStartingTime(fv *timestamppb.Timestamp)
func (*WatchAlertsRequest) SetType ¶
func (m *WatchAlertsRequest) SetType(fv watch_type.WatchType)
func (*WatchAlertsRequest) SetView ¶
func (m *WatchAlertsRequest) SetView(fv view.View)
func (*WatchAlertsRequest) String ¶
func (m *WatchAlertsRequest) String() string
func (*WatchAlertsRequest) Unmarshal ¶
func (m *WatchAlertsRequest) Unmarshal(b []byte) error
func (*WatchAlertsRequest) UnmarshalJSON ¶
func (m *WatchAlertsRequest) UnmarshalJSON(data []byte) error
type WatchAlertsResponse ¶
type WatchAlertsResponse struct { // Changes of Alerts AlertChanges []*alert.AlertChange `protobuf:"bytes,2,rep,name=alert_changes,json=alertChanges,proto3" json:"alert_changes,omitempty" firestore:"alertChanges"` // If request specified max_chunk_size (or this limit was enforced if // stateless watch has been chosen), then responses with "full changeset" will // be divided into chunks. Client should keep receiving messages and, once // is_current has value true, combine this recent message with all previous // ones where is_current is false. If this is the first is_current in a whole // watch stream, then it means that client should have, at this moment, // contain snapshot of the current situation (or more accurately, snapshot of // situation at the moment of request). All Alerts will be of type // Added/Current (depending on watch_type specified in the request). Further // responses will be incremental - however messages may still be chunked and // is_current logic still applies. is_current is always true for stateful // watch if max_chunk_size was left to 0. IsCurrent bool `protobuf:"varint,4,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty" firestore:"isCurrent"` // When present, PageTokens used for page navigation should be updated. // Present only if is_current is true (last chunk). PageTokenChange *WatchAlertsResponse_PageTokenChange `` /* 136-byte string literal not displayed */ // Token that can be used if current connection drops and client needs to // reconnect. Populated only for stateless watch type. Present only if // is_current is true (last chunk). ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"` // Server may occasionally send information how many resources should client // have in its state so far (response message without any changes, but with // snapshot_size field specified). If client has different value than the one // sent by the server, then it should be treated by a client as an error and // should reconnect. If value is smaller then 0, then client should ignore // this field as unpopulated. This field should be checked only for stateless // watch. In stateful those kind of errors are handled by the server side. // Will be never sent together with is_current, is_soft_reset and // is_hard_reset flags. SnapshotSize int64 `protobuf:"varint,6,opt,name=snapshot_size,json=snapshotSize,proto3" json:"snapshot_size,omitempty" firestore:"snapshotSize"` // In case of internal issue server may send response message with this flag. // It indicates that client should drop all changes from recent responses // where is_current is false only! If last message had is_current set to true, // client should do nothing and process normally. Resume token received before // is still valid. This field should be checked only for stateless watch. In // stateful those kind of errors are handled by the server side. Will never be // sent along with is_current, is_hard_reset or snapshot_size. IsSoftReset bool `protobuf:"varint,7,opt,name=is_soft_reset,json=isSoftReset,proto3" json:"is_soft_reset,omitempty" firestore:"isSoftReset"` // In case of internal issue server may send response message with this flag. // After receiving, client should clear whole state (drop all changes received // so far) as server will send new snapshot (Alerts will contains changes of // type Current only). Any resume tokens should be discarded as well. This // field should be checked only for stateless watch. In stateful those kind of // errors are handled by the server side. Will never be sent along with // is_current, is_soft_reset or snapshot_size. IsHardReset bool `protobuf:"varint,8,opt,name=is_hard_reset,json=isHardReset,proto3" json:"is_hard_reset,omitempty" firestore:"isHardReset"` // contains filtered or unexported fields }
WatchAlertsResponse
func (*WatchAlertsResponse) Descriptor ¶
func (*WatchAlertsResponse) Descriptor() ([]byte, []int)
Deprecated, Use WatchAlertsResponse.ProtoReflect.Descriptor instead.
func (*WatchAlertsResponse) GetAlertChanges ¶
func (m *WatchAlertsResponse) GetAlertChanges() []*alert.AlertChange
func (*WatchAlertsResponse) GetIsCurrent ¶
func (m *WatchAlertsResponse) GetIsCurrent() bool
func (*WatchAlertsResponse) GetIsHardReset ¶
func (m *WatchAlertsResponse) GetIsHardReset() bool
func (*WatchAlertsResponse) GetIsSoftReset ¶
func (m *WatchAlertsResponse) GetIsSoftReset() bool
func (*WatchAlertsResponse) GetPageTokenChange ¶
func (m *WatchAlertsResponse) GetPageTokenChange() *WatchAlertsResponse_PageTokenChange
func (*WatchAlertsResponse) GetResumeToken ¶
func (m *WatchAlertsResponse) GetResumeToken() string
func (*WatchAlertsResponse) GetSnapshotSize ¶
func (m *WatchAlertsResponse) GetSnapshotSize() int64
func (*WatchAlertsResponse) GotenMessage ¶
func (*WatchAlertsResponse) GotenMessage()
func (*WatchAlertsResponse) GotenValidate ¶
func (obj *WatchAlertsResponse) GotenValidate() error
func (*WatchAlertsResponse) Marshal ¶
func (m *WatchAlertsResponse) Marshal() ([]byte, error)
func (*WatchAlertsResponse) MarshalJSON ¶
func (m *WatchAlertsResponse) MarshalJSON() ([]byte, error)
func (*WatchAlertsResponse) ProtoMessage ¶
func (*WatchAlertsResponse) ProtoMessage()
func (*WatchAlertsResponse) ProtoReflect ¶
func (m *WatchAlertsResponse) ProtoReflect() preflect.Message
func (*WatchAlertsResponse) Reset ¶
func (m *WatchAlertsResponse) Reset()
func (*WatchAlertsResponse) SetAlertChanges ¶
func (m *WatchAlertsResponse) SetAlertChanges(fv []*alert.AlertChange)
func (*WatchAlertsResponse) SetIsCurrent ¶
func (m *WatchAlertsResponse) SetIsCurrent(fv bool)
func (*WatchAlertsResponse) SetIsHardReset ¶
func (m *WatchAlertsResponse) SetIsHardReset(fv bool)
func (*WatchAlertsResponse) SetIsSoftReset ¶
func (m *WatchAlertsResponse) SetIsSoftReset(fv bool)
func (*WatchAlertsResponse) SetPageTokenChange ¶
func (m *WatchAlertsResponse) SetPageTokenChange(fv *WatchAlertsResponse_PageTokenChange)
func (*WatchAlertsResponse) SetResumeToken ¶
func (m *WatchAlertsResponse) SetResumeToken(fv string)
func (*WatchAlertsResponse) SetSnapshotSize ¶
func (m *WatchAlertsResponse) SetSnapshotSize(fv int64)
func (*WatchAlertsResponse) String ¶
func (m *WatchAlertsResponse) String() string
func (*WatchAlertsResponse) Unmarshal ¶
func (m *WatchAlertsResponse) Unmarshal(b []byte) error
func (*WatchAlertsResponse) UnmarshalJSON ¶
func (m *WatchAlertsResponse) UnmarshalJSON(data []byte) error
type WatchAlertsResponse_PageTokenChange ¶
type WatchAlertsResponse_PageTokenChange struct { // New token to retrieve previous page of results. PrevPageToken *alert.PagerCursor `` /* 151-byte string literal not displayed */ // New token to retrieve next page of results. NextPageToken *alert.PagerCursor `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WatchAlertsResponse_PageTokenChange) Descriptor ¶
func (*WatchAlertsResponse_PageTokenChange) Descriptor() ([]byte, []int)
Deprecated, Use WatchAlertsResponse_PageTokenChange.ProtoReflect.Descriptor instead.
func (*WatchAlertsResponse_PageTokenChange) GetNextPageToken ¶
func (m *WatchAlertsResponse_PageTokenChange) GetNextPageToken() *alert.PagerCursor
func (*WatchAlertsResponse_PageTokenChange) GetPrevPageToken ¶
func (m *WatchAlertsResponse_PageTokenChange) GetPrevPageToken() *alert.PagerCursor
func (*WatchAlertsResponse_PageTokenChange) GotenMessage ¶
func (*WatchAlertsResponse_PageTokenChange) GotenMessage()
func (*WatchAlertsResponse_PageTokenChange) GotenValidate ¶
func (obj *WatchAlertsResponse_PageTokenChange) GotenValidate() error
func (*WatchAlertsResponse_PageTokenChange) Marshal ¶
func (m *WatchAlertsResponse_PageTokenChange) Marshal() ([]byte, error)
func (*WatchAlertsResponse_PageTokenChange) MarshalJSON ¶
func (m *WatchAlertsResponse_PageTokenChange) MarshalJSON() ([]byte, error)
func (*WatchAlertsResponse_PageTokenChange) ProtoMessage ¶
func (*WatchAlertsResponse_PageTokenChange) ProtoMessage()
func (*WatchAlertsResponse_PageTokenChange) ProtoReflect ¶
func (m *WatchAlertsResponse_PageTokenChange) ProtoReflect() preflect.Message
func (*WatchAlertsResponse_PageTokenChange) Reset ¶
func (m *WatchAlertsResponse_PageTokenChange) Reset()
func (*WatchAlertsResponse_PageTokenChange) SetNextPageToken ¶
func (m *WatchAlertsResponse_PageTokenChange) SetNextPageToken(fv *alert.PagerCursor)
func (*WatchAlertsResponse_PageTokenChange) SetPrevPageToken ¶
func (m *WatchAlertsResponse_PageTokenChange) SetPrevPageToken(fv *alert.PagerCursor)
func (*WatchAlertsResponse_PageTokenChange) String ¶
func (m *WatchAlertsResponse_PageTokenChange) String() string
func (*WatchAlertsResponse_PageTokenChange) Unmarshal ¶
func (m *WatchAlertsResponse_PageTokenChange) Unmarshal(b []byte) error
func (*WatchAlertsResponse_PageTokenChange) UnmarshalJSON ¶
func (m *WatchAlertsResponse_PageTokenChange) UnmarshalJSON(data []byte) error