This section is empty.


This section is empty.


This section is empty.


type PublicReplication

type PublicReplication struct {
	PublicFields         *field_mask.FieldMask `protobuf:"bytes,1,opt,name=public_fields,json=publicFields,proto3" json:"public_fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`

Configures which fields in a ConfigBundle are made public.

Any message in a ConfigBundle that has a PublicReplication message as a field will have the fields specified by the public_fields FieldMask made public. For example, consider the ConfigBundle:

software_configs {

audio_configs {
  card_name: "testcard"
  private_field: "secretA"
  public_replication {
    public_fields {
      paths: "card_name"


"card_name" will be made public, "private_field" will not be.

A few notes: - Currently PublicReplication just wraps a FieldMask. This is done so that

it can be discovered via proto reflection without accidentally using
FieldMasks that are not meant to control public fields.

- In FieldMasks a repeated field is only allowed in the last position of a

path (
Using a single FieldMask for a ConfigBundle would not be very useful, since
more granularity is needed (i.e. saying all or none of
"software_configs" is public is not useful). Thus, FieldMasks to control
public fields are specified in child messages of ConfigBundle.

func (*PublicReplication) Descriptor

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

func (*PublicReplication) GetPublicFields

func (m *PublicReplication) GetPublicFields() *field_mask.FieldMask

func (*PublicReplication) ProtoMessage

func (*PublicReplication) ProtoMessage()

func (*PublicReplication) Reset

func (m *PublicReplication) Reset()

func (*PublicReplication) String

func (m *PublicReplication) String() string

func (*PublicReplication) XXX_DiscardUnknown

func (m *PublicReplication) XXX_DiscardUnknown()

func (*PublicReplication) XXX_Marshal

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

func (*PublicReplication) XXX_Merge

func (m *PublicReplication) XXX_Merge(src proto.Message)

func (*PublicReplication) XXX_Size

func (m *PublicReplication) XXX_Size() int

func (*PublicReplication) XXX_Unmarshal

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